Changeset 66cf8d2
- Timestamp:
- 11/15/2005 01:40:11 AM (18 years ago)
- Children:
- 48553c1
- Parents:
- e87fabea
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter01/changelog.xml
re87fabea r66cf8d2 115 115 </listitem> 116 116 117 <listitem><para>November 14, 2005 [jhuntwork]: Only install <command>msgfmt</command> 118 from gettext in chapter 5. This is all that is necessary and prevents gettext 119 from trying to pull in unnecessary elements from the host. Thanks to Greg Schafer 120 for pointing this out.</para></listitem> 121 117 122 <listitem><para>November 12, 2005 [jhuntwork]: Move sed to earlier in the 118 123 build.</para></listitem> -
chapter05/adjusting.xml
re87fabea r66cf8d2 77 77 <!-- && used to ease copy and pasting --> 78 78 <screen><userinput>GCC_INCLUDEDIR=`dirname $(gcc -print-libgcc-file-name)`/include && 79 find ${GCC_INCLUDEDIR}/* -maxdepth 0 -xtype d -exec rm -r f '{}' \; &&79 find ${GCC_INCLUDEDIR}/* -maxdepth 0 -xtype d -exec rm -rvf '{}' \; && 80 80 rm -vf `grep -l "DO NOT EDIT THIS FILE" ${GCC_INCLUDEDIR}/*` && 81 81 unset GCC_INCLUDEDIR</userinput></screen> -
chapter05/gettext.xml
re87fabea r66cf8d2 28 28 <title>Installation of Gettext</title> 29 29 30 <para>For our temporary set of tools, we only need to build and install one binary from gettext.</para> 31 30 32 <para>Prepare Gettext for compilation:</para> 31 33 32 <screen><userinput> ./configure --prefix=/tools --disable-libasprintf \33 --without-csharp</userinput></screen>34 <screen><userinput>cd gettext-tools 35 ./configure --prefix=/tools --disable-shared</userinput></screen> 34 36 35 37 <para>The meaning of the configure options:</para> … … 37 39 <variablelist> 38 40 <varlistentry> 39 <term><parameter>--disable-libasprintf</parameter></term> 40 <listitem><para>This flag tells Gettext not to build the 41 <filename class="libraryfile">asprintf</filename> library. Because nothing in this 42 chapter or the next requires this library and Gettext gets rebuilt later, 43 exclude it to save time and space.</para></listitem> 44 </varlistentry> 45 46 <varlistentry> 47 <term><parameter>--without-csharp</parameter></term> 48 <listitem><para>This ensures that Gettext does not build support for the C# 49 compiler which may be present on the host but will not be available once we 50 enter the <command>chroot</command> environment.</para></listitem> 41 <term><parameter>--disable-shared</parameter></term> 42 <listitem><para>We are not installing any of the gettext libraries at this 43 time so we need to build <command>msgfmt</command> as a static binary.</para></listitem> 51 44 </varlistentry> 52 45 </variablelist> … … 54 47 <para>Compile the package:</para> 55 48 56 <screen><userinput>make</userinput></screen> 49 <screen><userinput>make -C lib 50 make -C src msgfmt</userinput></screen> 57 51 58 <para>To test the results, issue: <userinput>make check</userinput>. 59 This takes quite some time, around 7 SBUs. The Gettext test suite is 60 known to experience failures under certain host conditions, for 61 example when it finds a Java compiler on the host. An experimental 62 patch to disable Java is available from the LFS Patches project at 63 <ulink url="&lfs-root;patches/"/>.</para> 52 <para>Install the single static binary:</para> 64 53 65 <para>Install the package:</para> 66 67 <screen><userinput>make install</userinput></screen> 54 <screen><userinput>cp -v src/msgfmt /tools/bin</userinput></screen> 68 55 69 56 </sect2> -
general.ent
re87fabea r66cf8d2 1 1 <?xml version="1.0" encoding="ISO-8859-1"?> 2 <!ENTITY version "ALPHABETICAL-2005111 2">3 <!ENTITY releasedate "November 1 2, 2005">2 <!ENTITY version "ALPHABETICAL-20051114"> 3 <!ENTITY releasedate "November 14, 2005"> 4 4 <!ENTITY milestone "6.2"> 5 5 <!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->
Note:
See TracChangeset
for help on using the changeset viewer.