cvs commit: LFS/BOOK/chapter06 bzip2-inst.xml ncurses-exp.xml ncurses-inst.xml shadowpwd-inst.xml

gerard at linuxfromscratch.org gerard at linuxfromscratch.org
Thu Sep 12 10:39:25 PDT 2002


gerard      02/09/12 10:39:25

  Modified:    BOOK/chapter01 changelog.xml
               BOOK/chapter06 bzip2-inst.xml ncurses-exp.xml
                        ncurses-inst.xml shadowpwd-inst.xml
  Log:
  Removed all superfluous /usr/lib/*.so symbolic links from library
  
  Revision  Changes    Path
  1.363     +4 -0      LFS/BOOK/chapter01/changelog.xml
  
  Index: changelog.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter01/changelog.xml,v
  retrieving revision 1.362
  retrieving revision 1.363
  diff -u -r1.362 -r1.363
  --- changelog.xml	12 Sep 2002 17:31:02 -0000	1.362
  +++ changelog.xml	12 Sep 2002 17:39:24 -0000	1.363
  @@ -54,6 +54,10 @@
   </itemizedlist>
   </para></listitem>
   
  +<listitem><para>September 12th, 2002 [gerard]: Removed all superfluous
  +<filename>/usr/lib/*.so</filename> symbolic links from library
  +installations.</para></listitem>
  +
   <listitem><para>September 12th, 2002 [gerard]: Upgraded to
   lfs-bootscripts-1.10</para></listitem>
   
  
  
  
  1.27      +0 -2      LFS/BOOK/chapter06/bzip2-inst.xml
  
  Index: bzip2-inst.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/bzip2-inst.xml,v
  retrieving revision 1.26
  retrieving revision 1.27
  diff -u -r1.26 -r1.27
  --- bzip2-inst.xml	18 Aug 2002 17:26:57 -0000	1.26
  +++ bzip2-inst.xml	12 Sep 2002 17:39:25 -0000	1.27
  @@ -9,12 +9,10 @@
   cp bzip2-shared /bin/bzip2 &&
   ln -s libbz2.so.1.0 libbz2.so &&
   cp -a libbz2.so* /lib &&
  -ln -s ../../lib/libbz2.so /usr/lib &&
   rm /usr/bin/{bunzip2,bzcat,bzip2} &&
   mv /usr/bin/{bzip2recover,bzless,bzmore} /bin &&
   ln -s bzip2 /bin/bunzip2 &&
   ln -s bzip2 /bin/bzcat</userinput></screen></para>
  -
   
   <para>Although it's not strictly a part of a basic LFS system it's worth
   mentioning that a patch for Tar can be downloaded which enables the tar
  
  
  
  1.20      +3 -10     LFS/BOOK/chapter06/ncurses-exp.xml
  
  Index: ncurses-exp.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/ncurses-exp.xml,v
  retrieving revision 1.19
  retrieving revision 1.20
  diff -u -r1.19 -r1.20
  --- ncurses-exp.xml	30 Aug 2002 23:08:48 -0000	1.19
  +++ ncurses-exp.xml	12 Sep 2002 17:39:25 -0000	1.20
  @@ -1,10 +1,9 @@
   <sect2>
   <title>Command explanations</title>
   
  -<para><userinput>patch -Np1 -i
  -../ncurses-&ncurses-version;-patch:</userinput> This patch fixes a compile
  -problem with GCC-3.2 because Ncurses uses constructions that are no longer
  -valid in the new C++ standard.</para>
  +<para><userinput>patch -Np1 -i ../ncurses-&ncurses-version;-patch:</userinput>
  +This patch fixes a compile problem with GCC-3.2 because Ncurses uses
  +constructions that are no longer valid in the new C++ standard.</para>
   
   <para><userinput>--with-shared:</userinput> This enables the build of the
   shared ncurses library files.</para>
  @@ -21,12 +20,6 @@
   <para><userinput>ln -sf libncurses.a libcurses.a:</userinput> Some
   programs try to link using -lcurses instead of -lncurses.  This symlink
   ensures that such programs will link without errors.</para>
  -
  -<para><userinput>ln -sf ../../lib/libncurses.so etc:</userinput> These
  -symlinks are created to tidy up the installation. It's good practice to
  -have the *.so files in /usr/lib as well as in /lib, to ensure that the
  -linker is always able to find the files whether it's looking in /lib or
  -/usr/lib.</para>
   
   </sect2>
   
  
  
  
  1.24      +1 -6      LFS/BOOK/chapter06/ncurses-inst.xml
  
  Index: ncurses-inst.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/ncurses-inst.xml,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- ncurses-inst.xml	18 Aug 2002 17:26:57 -0000	1.23
  +++ ncurses-inst.xml	12 Sep 2002 17:39:25 -0000	1.24
  @@ -13,11 +13,6 @@
   make install &&
   mv /lib/*.a /usr/lib &&
   chmod 755 /lib/*.5.2 &&
  -ln -s libncurses.a /usr/lib/libcurses.a &&
  -ln -s ../../lib/libncurses.so /usr/lib &&
  -ln -s ../../lib/libcurses.so /usr/lib &&
  -ln -s ../../lib/libform.so /usr/lib &&
  -ln -s ../../lib/libpanel.so /usr/lib &&
  -ln -s ../../lib/libmenu.so /usr/lib</userinput></screen></para>
  +ln -s libncurses.a /usr/lib/libcurses.a</userinput></screen></para>
   </sect2>
   
  
  
  
  1.33      +1 -2      LFS/BOOK/chapter06/shadowpwd-inst.xml
  
  Index: shadowpwd-inst.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/BOOK/chapter06/shadowpwd-inst.xml,v
  retrieving revision 1.32
  retrieving revision 1.33
  diff -u -r1.32 -r1.33
  --- shadowpwd-inst.xml	18 Aug 2002 17:26:57 -0000	1.32
  +++ shadowpwd-inst.xml	12 Sep 2002 17:39:25 -0000	1.33
  @@ -19,8 +19,7 @@
   ln -s vipw /usr/sbin/vigr &&
   rm /bin/vipw &&
   mv /bin/sg /usr/bin &&
  -mv /lib/{libmisc.*a,libshadow.*a} /usr/lib &&
  -ln -s ../../lib/libshadow.so /usr/lib</userinput></screen></para>
  +mv /lib/{libmisc.*a,libshadow.*a} /usr/lib</userinput></screen></para>
   
   <para>Sh-utils and Shadow Password Suite each install a unique
   <filename>groups</filename> program. If you wish, you may remove the
  
  
  
-- 
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