Autoconf make failure (looks like perl defaults NG)

Bill WitlessIdiot at
Tue Nov 28 01:26:44 PST 2006

Using Lfslivecd on an empty machine. LFS stable 6.2 book 

Going well. In Chapter 6.

Instructions in 6.22 (Perl-5.8.8) say run interactive Configure. I did 
that. Per "... if the defaults it auto-detects are suitable ..." I 
accepted all defaults. I then ran the "configure.gnu" with the options 

In the autoconf section (6.25) I receive errors relating to perl. I 
suspect that the accepting defaults sticking perl components in 
perl-specific directories is the problem. A snippet from the autoconf 
process log follows.


make[3]: Entering directory `/LfsChap06Work/autoconf-2.59/lib'
rm -f autom4te.cfg autom4te.tmp
sed -e 's, at SHELL\@,/bin/sh,g' -e 's, at PERL\@,/usr/bin/perl,g' -e 
's, at bindir\@,/usr/bin,g' -e 's, at datadir\@,/usr/share/autoconf,g' -e 
's, at prefix\@,/usr,g' -e 's, at autoconf-name\@,'`echo autoconf | sed 
's,x,x,'`',g' -e 's, at autoheader-name\@,'`echo autoheader | sed 
's,x,x,'`',g' -e 's, at autom4te-name\@,'`echo autom4te | sed 's,x,x,'`',g' 
-e 's, at M4\@,/usr/bin/m4,g' -e 's, at AWK\@,gawk,g' -e 's, at VERSION\@,2.59,g' 
-e 's, at PACKAGE_NAME\@,GNU Autoconf,g' ./ >autom4te.tmp
chmod -w autom4te.tmp
mv autom4te.tmp autom4te.cfg
make[3]: Leaving directory `/LfsChap06Work/autoconf-2.59/lib'
../../tests/autom4te                            \
        --language=m4sugar                      \
        --freeze                        \         --output=m4sugar.m4f 
Can't locate File/ in @INC (@INC contains: 
/tools/lib/perl5/5.8.8/i686-linux /tools/lib/perl5/5.8.8 
/tools/lib/perl5/site_perl/5.8.8 /tools/lib/perl5/site_perl .) at 
/LfsChap06Work/autoconf-2.59/tests/../lib/Autom4te/ line 193.
BEGIN failed--compilation aborted at 
/LfsChap06Work/autoconf-2.59/tests/../lib/Autom4te/ line 193.
Compilation failed in require at 
/LfsChap06Work/autoconf-2.59/tests/.././bin/autom4te line 43.
BEGIN failed--compilation aborted at 
/LfsChap06Work/autoconf-2.59/tests/.././bin/autom4te line 43.
make[2]: *** [m4sugar.m4f] Error 2
make[2]: Leaving directory `/LfsChap06Work/autoconf-2.59/lib/m4sugar'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/LfsChap06Work/autoconf-2.59/lib'
make: *** [all-recursive] Error 1

A find shows that the not-found file is in 
/usr/lib/perl5/5.8.8/i486-linux/File. This leads me to thinking that 
either the perl defaults in Configure may have been inappropriate or ?? 
I notice that autoconf references /tools, but not the normal /lib dirs 
(being chrooted, I would've thought...)

Anyway, any insights and corrective actions will be appreciated.


More information about the lfs-support mailing list