#2482: Perl config for toolchain may not exclude host references
---------------------+------------------------------------------------------
 Reporter:  fest3er  |       Owner:  lfs-b...@…                   
     Type:  defect   |      Status:  new                          
 Priority:  normal   |   Milestone:  Future                       
Component:  Book     |     Version:  6.5                          
 Severity:  normal   |    Keywords:                               
---------------------+------------------------------------------------------
 As shown in 5.27 (Perl 5.10.0), Configure's parameters can allow Perl to
 reference the host's libraries, headers and perl installation, which can
 lead to a build failure. If your host system has the GDBM library and
 headers installed, Configure can find them and use them as part of its
 "let me help you" mode; the build will fail when the GDBM library cannot
 be found in the toolchain lib dir.

 Since the intent is to build a minimal Perl for the toolchain, I think the
 following may be a more proper set of params for Configure:

 sh Configure -des -Dprefix=/tools -Dstatic_ext="Data/Dumper Fcntl IO
 POSIX" -Donlyextensions="Data/Dumper Fcntl IO POSIX"
 -Dglincpth="$LFS/tools/include" -Dglibpth="$LFS/tools/lib"
 -Dinc_version_list=none

 The desired extensions are linked statically, *only* those extensions are
 built, Configure will look only in $LFS for 'extras', and it will not look
 for an existing Perl installation to mimic. It should do a better job of
 keeping the host out of the tool chain.

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2482>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to