|
Posted by Khurt Williams on October 26, 2004, 9:04 am
Please log in for more thread options
I am having some difficulty compiling the Net::Nessus CPAN module on
Red Hat Enterprise Linux ES release 3 (Taroon Update 3) with perl
v5.8.0 built for
i386-linux-thread-multi. 'make test' fails with:
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
"test_harness(0,
'blib/lib', 'blib/arch')" t/*.t
t/base......Net/Nessus/Message.pm did not return a true value at (eval
1) line 3.
t/base......FAILED test 1
Failed 1/2 tests, 50.00% okay
t/client....Can't call method "Plugins" on an undefined value at
t/client.t line 61.
t/client....dubious
Test returned status 255 (wstat 65280, 0xff00)
DIED. FAILED tests 2-31
Failed 30/31 tests, 3.23% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/base.t 2 1 50.00% 1
t/client.t 255 65280 31 30 96.77% 2-31
Failed 2/2 test scripts, 0.00% okay. 31/33 subtests failed, 6.06%
okay.
make: *** [test_dynamic] Error 2
Forcing with 'make install' and using the following test:
#!/usr/bin/perl
use strict;
# Connect to the Nessus Server
use Net::Nessus::Client;
my $client = Net::Nessus::Client->new(
'host' => 'localhost',
'port' => '1241',
'user' => 'nessus',
'password' => 'nessus'
);
But when executed I get this error message:
Error while requesting NTP proto 1.1: at
/usr/lib/perl5/site_perl/5.8.0/Net/Nessus/Client.pm line 152.
|