On 12/2/06, Wit <[EMAIL PROTECTED]> wrote:
Dan Nicholson wrote:> 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.
Ouch. This is a nasty old bug. It bit a couple people a few months back. I vowed to fix the issue by just changing the wording in the book, but never got around to it. Configure seems to cache the prefix value. When you rerun configure.gnu, --prefix= doesn't seem to change anything. I meant to check whether -Dprefix= (the real option used in Configure) would help, but perl's ugliness stopped me considerably. So, if you'd like to run Configure to get your defaults laid out, I think you'd want to remove the directory after that saving Policy.sh, which has the settings you made. Or something like that. Or running Configure directly with: sh Configure -des -Dprefix=/usr ... That's essentially what configure.gnu is doing. -Dprefix might not have any effect though if prefix already is set to /usr/local. -- Dan -- http://linuxfromscratch.org/mailman/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/lfs/faq.html Unsubscribe: See the above information page
