cvs commit: LFS/BOOK/chapter06 glibc-inst.xml

gerard at linuxfromscratch.org gerard at linuxfromscratch.org
Wed May 21 11:43:13 PDT 2003


gerard      03/05/21 14:43:13

  Modified:    BOOK/chapter01 changelog.xml
               BOOK/chapter05 glibc-inst.xml
               BOOK/chapter06 glibc-inst.xml
  Log:
  Applied Zack's glibc patch
  
  Revision  Changes    Path
  1.499     +8 -0      LFS/BOOK/chapter01/changelog.xml
  
  Index: changelog.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter01/changelog.xml,v
  retrieving revision 1.498
  retrieving revision 1.499
  diff -u -r1.498 -r1.499
  --- changelog.xml	21 May 2003 18:30:32 -0000	1.498
  +++ changelog.xml	21 May 2003 18:43:13 -0000	1.499
  @@ -78,6 +78,14 @@
   </itemizedlist>
   </para></listitem>
   
  +<listitem><para>May 15th, 2003 [winkie]: Chapter 05 - Installing
  +Glibc: Create an ld.so.conf file before building Glibc, to prevent an
  +(harmless) error.</para></listitem>
  +
  +<listitem><para>May 15th, 2003 [winkie]: Chapter 06 - Installing Glibc:
  +Don't bother doing the 'exec /stage1/bin/bash' stuff, it doesn't do anything
  +now that we use PLFS.</para></listitem>
  +
   <listitem><para>May 21st, 2003 [winkie]: Chapter 05 & 06 - Installing
   Coreutils: Only test the non-root stuff in Chapter 05, but test everything
   in Chapter 06.</para></listitem>
  
  
  
  1.5       +7 -0      LFS/BOOK/chapter05/glibc-inst.xml
  
  Index: glibc-inst.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter05/glibc-inst.xml,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- glibc-inst.xml	13 May 2003 07:38:45 -0000	1.4
  +++ glibc-inst.xml	21 May 2003 18:43:13 -0000	1.5
  @@ -17,6 +17,13 @@
   <para>Basically, compiling Glibc in any other way than the book suggests
   is putting your system at a very high risk.</para>
   
  +<para>Though it is a harmless message, the install stage of Glibc will
  +complain about the presence of /etc/ld.so.conf (or lack thereof). Fix
  +this annoying little error:</para>
  +
  +<para><screen><userinput>mkdir /stage1/etc
  +touch /stage1/etc/ld.so.conf</userinput></screen></para>
  +
   <para>The documentation that comes with Glibc recommends to build the package
   not in the source directory but in a separate, dedicated directory:</para>
   
  
  
  
  1.93      +1 -26     LFS/BOOK/chapter06/glibc-inst.xml
  
  Index: glibc-inst.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/glibc-inst.xml,v
  retrieving revision 1.92
  retrieving revision 1.93
  diff -u -r1.92 -r1.93
  --- glibc-inst.xml	13 May 2003 18:51:15 -0000	1.92
  +++ glibc-inst.xml	21 May 2003 18:43:13 -0000	1.93
  @@ -13,8 +13,7 @@
   
   <para><screen><userinput>../glibc-&glibc-version;/configure --prefix=/usr \
       --disable-profile --enable-add-ons \
  -    --libexecdir=/usr/bin \
  -    --with-headers=/usr/include</userinput></screen></para>
  +    --libexecdir=/usr/bin --with-headers=/usr/include</userinput></screen></para>
   
   <para>The meaning of the configure options are:</para>
   
  @@ -31,23 +30,6 @@
   <filename>/usr/bin</filename> directory.</para></listitem>
   </itemizedlist>
   
  -<para>During this stage you will see the following warning:</para>
  -
  -<blockquote><screen>configure: warning:
  -*** These auxiliary programs are missing or too old: msgfmt
  -*** some features will be disabled.
  -*** Check the INSTALL file for required versions.</screen></blockquote>
  -
  -<para>The missing <filename>msgfmt</filename> program (from the Gettext
  -package, which we'll install later) won't cause any problems. The
  -<filename>msgfmt</filename> is used to generate the binary translation
  -files that can make your system talk in a different language. Because these
  -translation files have already been generated for you, there is no need for
  -<filename>msgfmt</filename>. You'd only need the program if you change the
  -translation source files (the <filename>*.po</filename> files in the
  -<filename class="directory">po</filename> subdirectory), which
  -would require you to regenerate the binary files.</para>
  -
   <para>Continue with compiling the package:</para>
   
   <para><screen><userinput>make</userinput></screen></para>
  @@ -80,13 +62,6 @@
   <para>Install the man pages:</para>
   
   <para><screen><userinput>make -C ../glibc-2.3.2/linuxthreads/man install</userinput></screen></para>
  -
  -<para>To finish off the installation we'll reload Bash so it will use the new
  -<filename>libnss_*</filename> files. This will also get rid of the
  -<emphasis>I have no name!</emphasis> message in the command prompt:</para>
  -
  -<para><screen><userinput>exec /stage1/bin/bash --login
  -set +h</userinput></screen></para>
   
   </sect2>
   
  
  
  
-- 
Unsubscribe: send email to listar at linuxfromscratch.org
and put 'unsubscribe lfs-book' in the subject header of the message



More information about the lfs-book mailing list