From 450e682e4cc1b8091ef8ee71b48f4093dbb005ae Mon Sep 17 00:00:00 2001 From: Bruce Dubbs Date: Sun, 3 Jun 2012 17:41:05 +0000 Subject: Add pkg-config-0.26-internal-glib Add popt-1.16 Fix problem building perl in some environments git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9871 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter05/perl.xml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'chapter05/perl.xml') diff --git a/chapter05/perl.xml b/chapter05/perl.xml index f59a2f7f8..dc279539a 100644 --- a/chapter05/perl.xml +++ b/chapter05/perl.xml @@ -48,13 +48,19 @@ patch -Np1 -i ../&perl-libc-patch; + The configuration script needs to be adjusted to run in the restricted + LFS environment: + +chmod -v 0775 Configure +sed -i -e '/Restore computed paths/i libswanted=""' Configure + Prepare Perl for compilation: sh Configure -des -Dprefix=/tools Build the package: -make +make CLDFLAGS='-lm' Although Perl comes with a test suite, it would be better to wait until it is insalled in the next chapter. -- cgit v1.2.3-54-g00ecf