﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
2482	Perl config for toolchain may not exclude host references	NPM	lfs-book@…	"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."	defect	closed	normal	Future	Book	6.5	normal	invalid		
