r9316 - trunk/BOOK/chapter06

bdubbs at linuxfromscratch.org bdubbs at linuxfromscratch.org
Sat Jun 26 21:34:24 PDT 2010


Author: bdubbs
Date: 2010-06-26 22:34:24 -0600 (Sat, 26 Jun 2010)
New Revision: 9316

Modified:
   trunk/BOOK/chapter06/zlib.xml
Log:
Fix zlib header

Modified: trunk/BOOK/chapter06/zlib.xml
===================================================================
--- trunk/BOOK/chapter06/zlib.xml	2010-06-27 04:04:10 UTC (rev 9315)
+++ trunk/BOOK/chapter06/zlib.xml	2010-06-27 04:34:24 UTC (rev 9316)
@@ -41,6 +41,10 @@
   <sect2 role="installation">
     <title>Installation of Zlib</title>
 
+    <para>First, fix a type in the package header file:</para>
+
+<screen><userinput remap="pre">sed -i 's/ifdef _LARGEFILE64_SOURCE/ifndef _LARGEFILE64_SOURCE/' zlib.h</userinput></screen>
+
     <para>Prepare Zlib for compilation:</para>
 
 <screen><userinput remap="configure">CFLAGS='-mstackrealign -fPIC -O3' ./configure --prefix=/usr</userinput></screen>




More information about the lfs-book mailing list