Hello,

In CLFS x86_64 multilib, I've some tests in the Perl
test suite (chapter 10.22) that failed.
After some research, I've found a solution, and a
possible explanation.
As suggested by the command:
echo "127.0.0.1 localhost $(hostname)" > /etc/hosts
in the book, Perl test suite needs local network for
some tests. But in CLFS, after a reboot, the script
/etc/rc.d/init.d/localnet is not started, because
IPRoute2 isn't yet installed.
To have a perfect Perl test suite, I've so done these
operations:
- install IPRoute2 in /tools (in fact, only the 'ip'
program is needed in /tools/bin)
- launch the commands in localnet, which are:
> echo "127.0.0.1 localhost $(hostname)" > /etc/hosts
> hostname <clfs>
before the echo in /etc/hosts.
After that, all tests were successfully passed.

If someone can confirm, perhaps the book could be
updated, if it's not too late.

Regards
G. Moko



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
_______________________________________________
Clfs-dev mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-dev

Reply via email to