> a question that Google nor any list I can find will answer...  trying to
> install perl module Net::Ident, I get make test errors as follows.  I'd
> really appreciate any tips.  I've no idea why this is happening (Fedora
> Core 1):
> 
> # perl -MCPAN -e'CPAN::Shell->install("Net::Ident")'

<snip>

>         all skipped: no reason given
> t/Ident.....Net::Ident::_export_hooks() called too early to check prototype
> at /root/.cpan/build/Net-Ident-1.20/blib/lib/Net/Ident.pm line 29.
> t/Ident.....FAILED tests 1-3                                               
>  
>         Failed 3/7 tests, 57.14% okay
> Failed Test Stat Wstat Total Fail  Failed  List of Failed
>
-------------------------------------------------------------------------------
> t/Ident.t                  7    3  42.86%  1-3
> 2 tests skipped.
> Failed 1/4 test scripts, 75.00% okay. 3/8 subtests failed, 62.50% okay.
> make: *** [test_dynamic] Error 255
>   /usr/bin/make test -- NOT OK
> Running make install
>   make test had returned bad status, won't install without force

This is what advice I found elsewhere:

1) "Looking at the code in the module, it has some issues. The function
_export_hooks() is called as the module is loaded. The call for the function
is, however, well before the declaration for the function.  So, its nothing
your doing wrong, its just the module. To fix it, you could remove the
prototype off of _export_hooks()"

2) Net::Ident appears to be abandoned to some degree.

Version 1.20 was written in 1999, and some CPAN testers have failed to
install this module. The problem, I believe, is caused by not being able to
connect to particular servers the author has specified in the test scripts.
After 5 years, it isn't all that surprising if they no longer exist.
>From the top of "t/Ident.t":

# test the Net::Ident module, which is a bitch, because you really
# need an ident daemon to test it, and then you usually get a connecti
+on
# from a remote machine, and then ask for the username.
# so what we do is try to make a connection to an ident daemon, on
# some machine, and if that succeeds, see if we can do a successful lo
+okup
# on that.
# This isn't guaranteed to succeed. If you are not (properly) connecte
+d
# to the internet, and if your localhost doesn't run an ident daemon,
# then this script won't work. If you do know a machine that you can
# currently reach, which runs an ident daemon, then put it's name or
# IPnumber in the 'hosts' file in the t/ directory.
#


You have two choices:

1. Install manually, jumping through the hoops to get the tests to pass. From
the comment it looks like "t/hosts" is the hoop you need.

2. Force install without tests.


                
__________________________________ 
Do you Yahoo!? 
All your favorites on one personal page – Try My Yahoo!
http://my.yahoo.com 

Reply via email to