On Sat, Jul 29, 2006 at 10:26:39AM -0700, go moko wrote:
> 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.
> 
 (Replying to this before I forget) - I've got iproute2 in my test
system (I need it to get nfs-client working so that I can access the
sources in my setup) and all the tets passed.  I had to sed out the
'-s' prom the install commands in the Makefiles, and I noticed that
netem/ is built with the host compiler (it doesn't seem to contain
anything I can understand).  Certainly, the tests work with it in
place, even with a hostname of '(none)'.

 Alternatively, we could perhaps just note that some tests will fail
if you booted without iproute.  I'm ambivalent about this after all
the pain perl has caused me in the past ;)

Ken
-- 
das eine Mal als Tragödie, das andere Mal als Farce
_______________________________________________
Clfs-dev mailing list
[email protected]
http://lists.cross-lfs.org/cgi-bin/mailman/listinfo/clfs-dev

Reply via email to