[Clfs-commits] [CLFS Trac] #201: Perl plobrems and fixes

CLFS Trac trac at cross-lfs.org
Tue Jan 20 23:41:26 PST 2009


#201: Perl plobrems and fixes
-----------------------+----------------------------------------------------
  Reporter:  willimmn  |       Owner:  clfs-commits at lists.cross-lfs.org.
      Type:  task      |      Status:  new                              
  Priority:  major     |   Milestone:  CLFS Standard 1.2.0              
 Component:  BOOK      |     Version:  CLFS Standard SVN                
Resolution:            |    Keywords:                                   
-----------------------+----------------------------------------------------
Comment (by chris at beaker67.com):

 Replying to [comment:3 jim]:
 > As far as the Zlib, we should check the configure switches to see if we
 can use the system instead of a hack if possible.
 >

 I tried "make BUILD_ZLIB=False" as done in DIY-Linux, but that doesn't
 seem to work. During the build I get output like this:

 {{{
 cc -c  -I./zlib-src -fno-strict-aliasing -pipe
 -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O2
 -DVERSION=\"2.008\" -DXS_VERSION=\"2.008\" -fPIC "-I../../../.."
 -DGZIP_OS_CODE=3  Zlib.c
 }}}

 Apparently it's still using its own internal Zlib source, so the sed,
 altering all the applicable variables, is needed for it to actually use
 the system-installed zlib. The sed command could at least be shortened
 though...

 {{{
 sed -i -e '/^BUILD_ZLIB/ s/True/False/' \
   -e '/^INCLUDE\|^LIB/ s|\./zlib-src|/usr/include|' \
   ext/Compress/Raw/Zlib/config.in
 }}}

-- 
Ticket URL: <http://trac.cross-lfs.org/ticket/201#comment:4>
CLFS Trac <http://trac.cross-lfs.org>
The Cross Linux From Scratch Project.


More information about the Clfs-commits mailing list