On 16 June 2014 16:49, Ken Moffat <[email protected]> wrote: > On Mon, Jun 16, 2014 at 10:03:52AM +0200, Stefano Stoduto wrote: > > It looks as if @INC is the problem. I don't have a version of > /tools handy, but I can see that perl is configured for /usr/local > which is its default location. Fortunately, it is not installed > there because the lfs user cannot write there, and anyway we > installed it by copying to /tools. > > So, something seems to be wrong in the command > sh Configure -des -Dprefix=/tools > > After running that command, a file config.sh is created. I've just > done that andin my case there are some lines (starting at line 891 > in my case) - > > prefix='/tools' > prefixexp='/tools' > privlib='/tools/lib/perl5/5.18.2' > privlibexp='/tools/lib/perl5/5.18.2' > > I assume you got different values. If you no longer have that > file, please try again (just the configure command, then check the > file).
I still got the config.sh file from the last compilation. The lines you mentioned are at line 891 in my case too, they are: prefix='/usr/local' prefixexp='/usr/local' privlib='/usr/local/lib/perl5/5.18.2' privlibexp='/usr/local/lib/perl5/5.18.2' I suppose that this indicates that I am using the host perl installation. So what should I do?
-- http://lists.linuxfromscratch.org/listinfo/lfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
