cvs commit: LFS/FAQ undefined-deflate.xml faq.xml listofentries.ent xfree-png-lz.xml

sklein at linuxfromscratch.org sklein at linuxfromscratch.org
Sun Mar 23 14:17:17 PST 2003


sklein      03/03/23 17:17:17

  Modified:    FAQ      faq.xml listofentries.ent xfree-png-lz.xml
  Added:       FAQ      undefined-deflate.xml
  Log:
  More than just XFree is bit by this issue
  
  Revision  Changes    Path
  1.153     +1 -0      LFS/FAQ/faq.xml
  
  Index: faq.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/FAQ/faq.xml,v
  retrieving revision 1.152
  retrieving revision 1.153
  diff -u -r1.152 -r1.153
  --- faq.xml	17 Mar 2003 22:04:49 -0000	1.152
  +++ faq.xml	23 Mar 2003 22:17:17 -0000	1.153
  @@ -88,6 +88,7 @@
   	<qandadiv id="fee-compile"><title>Compile Time Errors</title>
   		<qandadiv id="fee-compile-any">
   				<title>Compile Time Errors From Any Package</title>
  +			&undefined-deflate;
   			&configure-no-such-file;
   			&bad-interpreter-permission-denied;
   			&conf-guess-fail;
  
  
  
  1.26      +1 -0      LFS/FAQ/listofentries.ent
  
  Index: listofentries.ent
  ===================================================================
  RCS file: /home/cvsroot/LFS/FAQ/listofentries.ent,v
  retrieving revision 1.25
  retrieving revision 1.26
  diff -u -r1.25 -r1.26
  --- listofentries.ent	17 Mar 2003 22:04:49 -0000	1.25
  +++ listofentries.ent	23 Mar 2003 22:17:17 -0000	1.26
  @@ -53,6 +53,7 @@
   <!ENTITY shutdown-on-fsck-error SYSTEM "shutdown-on-fsck-error.xml">
   <!ENTITY sig11 SYSTEM "sig11.xml">
   <!ENTITY unable-to-mount-root SYSTEM "unable-to-mount-root.xml">
  +<!ENTITY undefined-deflate SYSTEM "undefined-deflate.xml">
   <!ENTITY unknown-pseudo-op-hidden SYSTEM "unknown-pseudo-op-hidden.xml">
   <!ENTITY version-not-in-book SYSTEM "version-not-in-book.xml">
   <!ENTITY what-dist SYSTEM "what-dist.xml">
  
  
  
  1.2       +2 -16     LFS/FAQ/xfree-png-lz.xml
  
  Index: xfree-png-lz.xml
  ===================================================================
  RCS file: /home/cvsroot/LFS/FAQ/xfree-png-lz.xml,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -r1.1 -r1.2
  --- xfree-png-lz.xml	24 Jan 2003 06:09:10 -0000	1.1
  +++ xfree-png-lz.xml	23 Mar 2003 22:17:17 -0000	1.2
  @@ -35,21 +35,7 @@
   make[1]: Leaving directory `/usr/src/xc'
   make: *** [install] Error 2
   </screen>
  -Then rebuild libpng with the patch at
  -<ulink url="http://www.linuxfromscratch.org/~sklein/libpng-1.2.5-lz.patch"/>.
  -Make sure you apply the patch immediately after unpacking the sources.
  -Like this:
  -<screen>tar --no-same-owner -xvjf libpng-1.2.5.tar.bz2
  -cd libpng-1.2.5
  -cat ../libpng-1.2.5-lz.patch | patch -p0
  -ln -s scripts/makefile.linux Makefile
  -make ZLIBLIB=/lib ZLIBINC=/usr/include
  -make ZLIBLIB=/lib ZLIBINC=/usr/include install
  -cd ..
  -rm -r libpng-1.2.5
  -</screen>
  -Needless to say, if you originally put zlib in /usr/local
  -or did something else different,
  -you'll have to adjust those instructions accordingly.
  +Then refer to the <link linkend="undefined-deflate">general entry</link>
  +for this issue.
   </para></answer>
   </qandaentry>
  
  
  
  1.1                  LFS/FAQ/undefined-deflate.xml
  
  Index: undefined-deflate.xml
  ===================================================================
  <qandaentry id="undefined-deflate">
  <question><para>undefined reference to `deflate'</para></question>
  <answer><para>If, when compiling XFree86, ghostscript,
  or anything else that uses libpng,
  you get an error including the following line:
  <screen>/usr/lib/gcc-lib/i686-pc-linux-gnu/3.2/../../../libpng.so: undefined reference
  to `deflate'
  </screen>
  Then rebuild libpng with the patch at
  <ulink url="http://www.linuxfromscratch.org/~sklein/libpng-1.2.5-lz.patch"/>.
  Make sure you apply the patch immediately after unpacking the sources.
  Like this:
  <screen>tar --no-same-owner -xvjf libpng-1.2.5.tar.bz2
  cd libpng-1.2.5
  cat ../libpng-1.2.5-lz.patch | patch -p0
  ln -s scripts/makefile.linux Makefile
  make ZLIBLIB=/lib ZLIBINC=/usr/include
  make ZLIBLIB=/lib ZLIBINC=/usr/include install
  cd ..
  rm -r libpng-1.2.5
  </screen>
  Needless to say, if you originally put zlib in /usr/local
  or did something else different,
  you'll have to adjust those instructions accordingly.
  </para></answer>
  </qandaentry>
  
  
  
-- 
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