Chapter 5, Perl 5.8.0. make problems.

Mats Hellman mats.hellman at dnainternet.net
Fri Nov 21 04:04:48 PST 2003


Hello everyone,

Im going for my first LFS install and I have a "small" problem. Perl does not 
compile.
The host system:
Gentoo 1.4
Kernel 2.6-test9
GCC 3.2.3

I had some problems with GCC earlier but as I removed all optimisation flags 
it built just fine. So up to now everything has been ok.

Perl.

The configure.gnu results in no errors. But make perl utilities ends with

<---------------- ERROR START ----------------------------------------->


make[1]: *** [Makefile] Error 1
make[1]: Leaving directory 
`/home/mahellma/Linux/LFS/build/uncomp/perl-5.8.0/ext/DynaLoader'
make config failed, continuing anyway...
make[1]: Entering directory 
`/home/mahellma/Linux/LFS/build/uncomp/perl-5.8.0/ext/DynaLoader'
/home/mahellma/Linux/LFS/build/uncomp/perl-5.8.0/miniperl "-I../../lib" 
"-I../../lib" "-I../../lib" "-I../../lib" DynaLoader_pm.PL DynaLoader.pm
/home/mahellma/Linux/LFS/build/uncomp/perl-5.8.0/miniperl "-I../../lib" 
"-I../../lib" "-I../../lib" "-I../../lib" XSLoader_pm.PL XSLoader.pm
Skip ../../lib/XSLoader.pm (unchanged)
Skip ../../lib/DynaLoader.pm (unchanged)
rm -f DynaLoader.xs
cp dl_dlopen.xs DynaLoader.xs
/home/mahellma/Linux/LFS/build/uncomp/perl-5.8.0/miniperl "-I../../lib" 
"-I../../lib" ../../lib/ExtUtils/xsubpp -noprototypes -typemap 
../../lib/ExtUtils/typemap DynaLoader.xs > DynaLoader.xsc && mv 
DynaLoader.xsc DynaLoader.c
cc -c   -fno-strict-aliasing -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -O3   
-DVERSION=\"1.04\" -DXS_VERSION=\"1.04\"  "-I../.."  -DPERL_CORE 
-DLIBC="/tools/lib/libc-2.3.2.so" DynaLoader.c
rm -rf ../../lib/auto/DynaLoader/DynaLoader.a
/tools/bin/ar cr ../../lib/auto/DynaLoader/DynaLoader.a DynaLoader.o && : 
../../lib/auto/DynaLoader/DynaLoader.a
chmod 755 ../../lib/auto/DynaLoader/DynaLoader.a
make[1]: Leaving directory 
`/home/mahellma/Linux/LFS/build/uncomp/perl-5.8.0/ext/DynaLoader'

        Making IO (static)
opendir(./../../../../../../..): Permission denied at ../../lib/File/Find.pm 
line 573
Use of chdir('') or chdir(undef) as chdir() is deprecated at 
../../lib/File/Find.pm line 716.
Running '/home/mahellma/Linux/LFS/build/uncomp/perl-5.8.0/miniperl 
"-I../../lib" ../../lib/ExtUtils/xsubpp -v 2>&1' exits with status 2 at 
../../lib/ExtUtils/MM_Unix.pm line 3826.
Running '/home/mahellma/Linux/LFS/build/uncomp/perl-5.8.0/miniperl 
../../lib/ExtUtils/xsubpp temp000 2>&1' exits with status 2 at 
../../lib/ExtUtils/MM_Unix.pm line 3852.
Writing Makefile for IO
Warning: No Makefile!
make[1]: Entering directory 
`/home/mahellma/Linux/LFS/build/uncomp/perl-5.8.0/ext/IO'
make[1]: *** No rule to make target `config'.  Stop.
make[1]: Leaving directory 
`/home/mahellma/Linux/LFS/build/uncomp/perl-5.8.0/ext/IO'
make config failed, continuing anyway...
make[1]: Entering directory 
`/home/mahellma/Linux/LFS/build/uncomp/perl-5.8.0/ext/IO'
make[1]: *** No rule to make target `all'.  Stop.
make[1]: Leaving directory 
`/home/mahellma/Linux/LFS/build/uncomp/perl-5.8.0/ext/IO'
make: *** [lib/auto/IO/IO.a] Error 2

<--------------------ERROR END------------------------------->

If anyone has any idea of what I can do to fix this or where to start 
searching for the cause I would be more than happy.


Thank you,

Mats Hellman
Karjaa
Finland




More information about the lfs-support mailing list