glibc -2.3.4 (sect 6.11) make error

John Wildberger wildberger at cogeco.ca
Sun Feb 20 17:34:59 PST 2005


Here are the last few lines of "make":

make[2]: Entering directory `/sources/glibc-2.3.4-20040701/math'
.././scripts/mkinstalldirs /sources/glibc-build/math

mkdir /sources/glibc-build/math

/usr/bin/perl gen-libm-test.pl -u ../sysdeps/i386/fpu/libm-test-ulps -o 
"/sources/glibc-build/math/"

Can't locate Getopt/Std.pm in @INC
(@INCcontains: /tools/lib/perl5/5.8.5/i686-linux 
                            /tools/lib/perl5/5.8.5 
                            /tools/lib/perl5/site_perl/5.8.5/i686-linux 
                            /tools/lib/perl5/site_perl/5.8.5 
                            /tools/lib/perl5/site_perl .)
 at gen-libm-test.pl line 42.

BEGIN failed--compilation aborted at gen-libm-test.pl line 42.
make[2]: *** [/sources/glibc-build/math/libm-test.stmp] Error 2
make[2]: Leaving directory `/sources/glibc-2.3.4-20040701/math'
make[1]: *** [math/subdir_lib] Error 2
make[1]: Leaving directory `/sources/glibc-2.3.4-20040701'
make: *** [all] Error 2
+++++++++++++++++++++++++++++
The problem is caused by not finding the Getopt/Std.pm in the perl array @INC.
I have the dir "/tools/lib/perl5/5.8.5" , but not any of the other.
In this dir the getopt.pl is listed.
Here is an excerpt from this file:

# This library is no longer being maintained, and is included for backward
# compatibility with Perl 4 programs which may require it.
# Suggested alternatives: Getopt::Long or Getopt::Std
#

My Q: How can I get this Perl module incorporated into my LFS. I am at section 
6.11, and so far no problems.  
Any suggestions will be appreciated.
John




More information about the lfs-support mailing list