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

CLFS Trac trac at cross-lfs.org
Tue Jan 20 06:20:25 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                
 Keywords:            |  
----------------------+-----------------------------------------------------
 1. -DVendorPrefix is not set. Some packages (like Dpkg) use it to put it's
 perl modules. The fix, use this configure command:

 {{{
 sh Configure -des -Dprefix=/usr \
                   -Dvendorprefix=/usr           \
                   -Dman1dir=/usr/share/man/man1 \
                   -Dman3dir=/usr/share/man/man3 \
                   -Dpager="/usr/bin/less -isR" \
                   -Dusethreads -Duseshrplib
                   (other commands go here)
 }}}

  2. LFS is using a patch for Perl 5.10.0, it includes the libc fix and
 lots of security fixes, it is attached with this ticket.

  3. Compress::Raw::Zlib uses it's own copy of Zlib, it may be older than
 the one of the system (1.2.3), so use these seds to force it to use system
 Zlib: {{{
 sed -i -e "s|BUILD_ZLIB\s*= True|BUILD_ZLIB = False|"           \
        -e "s|INCLUDE\s*= ./zlib-src|INCLUDE    = /usr/include|" \
        -e "s|LIB\s*= ./zlib-src|LIB        = /usr/lib|"         \
     ext/Compress/Raw/Zlib/config.in
 }}}

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


More information about the Clfs-commits mailing list