develooper Front page | perl.macosx | Postings from April 2003

make test fails for libnet1.13 under OSX10.2.5

From:
Warren Pollans
Date:
April 14, 2003 11:04
Subject:
make test fails for libnet1.13 under OSX10.2.5
Message ID:
15935556-6EA3-11D7-8DF7-000393827578@meyer-pollans.net
Hello,

I've just upgraded my ibook from 10.1.5 to 10.2.5 (Developer tools also 
installed).  I used the "archive and install" and "preserve users & 
networking" options.  One of the side-effects of my upgrade is that the 
netinfo machines data is gone - I don't know if this is relevant to the 
problem listed below or not.  hostname is set /etc/hostconfig.

When trying to "install Bundle::libnet" with cpan I get the following 
error:

Running make test
PERL_DL_NONLAZY=1 /usr/bin/perl -Iblib/arch -Iblib/lib 
-I/System/Library/Perl/darwin -I/System/Library/Perl -e 'use 
Test::Harness qw(&runtests $verbose); $verbose=0; runtests @ARGV;' t/*.t
t/config............ok
t/ftp...............skipped test on this platform
t/hostname..........NOK 1Use of uninitialized value in string eq at 
t/hostname.t line 39.
Use of uninitialized value in string eq at t/hostname.t line 39.
t/hostname..........ok 2/2FAILED test 1
         Failed 1/2 tests, 50.00% okay

+++++++++++++++++++

Here are lines 35-39 from hostname.t:
	# This check thats hostanme does not overwrite $_
	my @domain = qw(foo.example.com bar.example.jp);
	my @copy = @domain;

	my @dummy = grep { hostname eq $_ } @domain;

It seems to be complaining about the output from hostname in the last 
line above.

++++++++++++++++++

What have I neglected to do?

Thanks,

Warren




nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About