Dan Nicholson wrote:
On 12/2/06, Wit <[EMAIL PROTECTED]> wrote:

So, the new question, I think, is why does autoconf not detect the
chrroted correctly installed Perl stuff? It does find the /tools. Is it
perhaps using some config file left from the chapter 5 install?

So perl did get installed to the right place?

By *appearances, yes. In chroot, find /usr/local/lib... all looks good. But you sparked the germination of a line that I think gives you enough to tell me what I did, or now need to do. See below.

And you have
/usr/lib/perl5/5.8.8/i686-linux/File/Glob.pm?

Yes.

Try out this command and
we'll see where the new perl says it's module path is.

# perl -le 'print join("\n", @INC)'
/usr/lib/perl5/5.8.8/i686-linux
/usr/lib/perl5/5.8.8
/usr/lib/perl5/site_perl/5.8.8/i686-linux
/usr/lib/perl5/site_perl/5.8.8
/usr/lib/perl5/site_perl
.

Except for the prefix on each line of '/tools', the same. And here was the germination. It turns out that /usr/bin/perl is still a symlink to tools. If I execute /usr/local/usr/bin/perl, my results match yours. So, did I forget something, or were the book instructions too general for me to give a proper response in the Configure script?

AHA! Re-reading the perl section, I see a *second* meaning to the text. Since I'm using the book on the CD, can't copy and past to this machine: I'll paraphrase.

======== Paraphrase ========
To have full control over the way it is setup, run Configure. If the defaults -> it <- auto-detects are suitable, run ..."
======== End Paraphrase =======

My interpretation of this was "run Configure, accepting all defaults unless something is unsuitable. Then run the ./configure ..."

The second sentence of the paraphrase led me to believe I should run both.

I believe you are correct and perl is still the culprit.

I'll immediately redo with the newer interpretation of the text, skipping the run of Configure.


I just installed perl in the chroot, and that's what I came up with. I
think something might still be wrong with your perl installation
because looking at the original post, the failing is coming from the Autom4te perl modules.

You have led me to the promised land I think. I'll post results shortly.


--
Dan

Thx again
--
W.I.
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to