Changeset ba098b6


Ignore:
Timestamp:
11/15/2005 12:53:24 AM (18 years ago)
Author:
Jeremy Huntwork <jhuntwork@…>
Branches:
10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
Children:
feaa22c
Parents:
ac1d807
Message:

Reduce commands for gettext in chapter 5. Thanks to Greg Schafer.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7152 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    rac1d807 rba098b6  
    115115</listitem>
    116116
     117<listitem><para>November 14, 2005 [jhuntwork]: Only install <command>msgfmt</command>
     118from gettext in chapter 5. This is all that is necessary and prevents gettext
     119from trying to pull in unnecessary elements from the host. Thanks to Greg Schafer
     120for pointing this out.</para></listitem>
     121
    117122<listitem><para>November 12, 2005 [matt]: Improve the heuristic for determining
    118123a locale that is supported by both Glibc and packages outside LFS (bug 1642).
  • chapter05/gettext.xml

    rac1d807 rba098b6  
    2828<title>Installation of Gettext</title>
    2929
     30<para>For our temporary set of tools, we only need to build and install one binary from gettext.</para>
     31
    3032<para>Prepare Gettext for compilation:</para>
    3133
    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>
    3436
    3537<para>The meaning of the configure options:</para>
     
    3739<variablelist>
    3840<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
     43time so we need to build <command>msgfmt</command> as a static binary.</para></listitem>
    5144</varlistentry>
    5245</variablelist>
     
    5447<para>Compile the package:</para>
    5548
    56 <screen><userinput>make</userinput></screen>
     49<screen><userinput>make -C lib
     50make -C src msgfmt</userinput></screen>
    5751
    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>
    6453
    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>
    6855
    6956</sect2>
  • general.ent

    rac1d807 rba098b6  
    11<?xml version="1.0" encoding="ISO-8859-1"?>
    2 <!ENTITY version "SVN-20051112">
    3 <!ENTITY releasedate "November 12, 2005">
     2<!ENTITY version "SVN-20051114">
     3<!ENTITY releasedate "November 14, 2005">
    44<!ENTITY milestone "6.2">
    55<!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->
Note: See TracChangeset for help on using the changeset viewer.