I discovered last night that the installation instructions in 5.29.1 is wrong. This doesn't matter much though since no Perl modules are installed in that stage of the procedure, but the library is placed in the wrong path.
The instructions tells you to install the libraries into /tools/lib/perl5/5.18.2, but if you check the archlibexp variable in Config.PM after building perl you'll see that it should be installed into /tools/lib/perl5/5.18.2/x86_64-linux. grep archlibexp lib/Config.pm This would be i686-linux on a 32-bit system. There's really three alternatives to solve this: 1. Specify this path when configuring the source, i.e. sh Configure -des -Dprefix=/tools -Darchlib=/tools/lib/perl5/5.18.2 2. Read the archlibexp and use that path instead: mkdir -pv $(grep archlibexp lib/Config.pm | cut -d"'" -f2) cp -Rv lib/* $(grep archlibexp lib/Config.pm | cut -d"'" -f2) 3. Actually install the libraries into a separate DESTDIR and copy the entire lib/perl5 from there: make DESTDIR=perl_install install.perl cp -R perl_install/tools/lib/perl5 /tools/lib Personally I prefer option #3 as this also creates the folder structure for you and would perform any post-installation processing. The drawback of it is that it also installs all the documentation modules. But as long as no Perl modules are required while constructing the temporary system there might be no need to make these adjustments.
-- http://linuxfromscratch.org/mailman/listinfo/lfs-dev FAQ: http://www.linuxfromscratch.org/faq/ Unsubscribe: See the above information page