Can't locate Data/Dumper.pm in @INC (@INC contains: /sources/autoconf-2.59/tests/../lib /tools/lib/perl5/5.8.5/i686-linux...[with more references to /tools/lib/perl5/5.8.5/*]
In a post at LinuxQuestions.org
http://www.linuxquestions.org/questions/showthread.php?s=&forumid=13&threadid=160947
and in a thread at linuxfromscratch archives
http://linuxfromscratch.org/pipermail/lfs-support/2004-March/022963.html
I found references to the link created, now in LFS 6.0 on page 106 in /usr/bin to /tools/bin/perl. <ls -alQ /usr/bin> showed that link was there. I ran:
rm /usr/bin/perl ln -s /usr/local/bin/perl /usr/bin
and Autoconf-2.59 compiled and passed the tests.
Please note that the perl executable was installed in /usr/local/bin which is not in the chroot PATH. (My chroot $PATH is as indicated on p.102--/bin:/usr/bin:/sbin/:/usr/sbin:/tools/bin). When I installed Perl-5.8.5, I ran the "Configure" script and accepted the defaults. The script indicates that it will use /usr/local/bin but I thought that "--prefix=/usr" would override that. Apparently it didn't.
Although Autoconf compiled correctly after I changed the symlink, I am concerned that I will have problems further down the road. I also don't know whether I committed an error in installing Perl. The posts I reference are over one year old and there is nothing recent. This, plus the fact that any errors I've encountered have been generated by me and not the book, tells me that many others have compiled Autoconf without this error.
I'm asking for some advice. Should I proceed from Autoconf, or should I uninstall the packages up to and including Perl and do it again? I can run the "Configure" script and force /usr/bin. Additionally, I can add /usr/local/bin to PATH. I just don't know which way is the best to proceed.
If this link is not the problem, does anyone have any idea what I have done incorrectly. I have read and re-read the book and cannot find, unless I made a typo and it's gone, anything that I have missed, skipped or done wrong.
I will appreciate any help, comments or direction.
Thanks,
Dan
-- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
