On 12/1/06, Bill <[EMAIL PROTECTED]> wrote:
Posted originally 11/28, no response. Thought I'd try again. ----------------------- Original post ----------------------- Using Lfslivecd 2.6.16.28 on an empty machine. LFS stable 6.2 book instructions.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 shown. 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,@SHELL\@,/bin/sh,g' -e 's,@PERL\@,/usr/bin/perl,g' -e 's,@bindir\@,/usr/bin,g' -e 's,@datadir\@,/usr/share/autoconf,g' -e 's,@prefix\@,/usr,g' -e 's,@autoconf-name\@,'`echo autoconf | sed 's,x,x,'`',g' -e 's,@autoheader-name\@,'`echo autoheader | sed 's,x,x,'`',g' -e 's,@autom4te-name\@,'`echo autom4te | sed 's,x,x,'`',g' -e 's,@M4\@,/usr/bin/m4,g' -e 's,@AWK\@,gawk,g' -e 's,@VERSION\@,2.59,g' -e 's,@PACKAGE_NAME\@,GNU Autoconf,g' ./autom4te.in >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/Glob.pm in @INC (@INC contains: /LfsChap06Work/autoconf-2.59/tests/../lib /tools/lib/perl5/5.8.8/i686-linux /tools/lib/perl5/5.8.8 /tools/lib/perl5/site_perl/5.8.8/i686-linux /tools/lib/perl5/site_perl/5.8.8 /tools/lib/perl5/site_perl .) at /LfsChap06Work/autoconf-2.59/tests/../lib/Autom4te/General.pm line 193. BEGIN failed--compilation aborted at /LfsChap06Work/autoconf-2.59/tests/../lib/Autom4te/General.pm 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...)
It certainly looks like your perl installation got screwed up. One interesting thing I notice is that you have /usr/lib/perl5/5.8.8/i486-linux but /tools/lib/perl5/5.8.8/i686-linux. Notice the i486 vs. i686. What happened there? I'd try installing perl again. You can just run make install right over the old ones. Check if it's still coming up with i486-linux. Look at the output from Configure and see if it says anything interesting. What sort of machine are you building on? -- Dan -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
