Thanks for the testing, Mark, but I'm not getting the same problem that
you are. Just to check, I downloaded the module in question from CPAN.
This is the complete Makefile.PL:
--------- clip --------------------------
use ExtUtils::MakeMaker;
# See lib/ExtUtils/MakeMaker.pm for details of how to influence
# the contents of the Makefile that is written.
WriteMakefile(
'NAME' => 'NetworkInfo::Discovery',
'VERSION_FROM' => 'lib/NetworkInfo/Discovery.pm',
'PREREQ_PM' => {
'Net::Pcap' => 0.04,
'NetPacket' => 0.03,
'Net::Traceroute' => 1.05,
}, # e.g., Module::Name => 1.1
($] >= 5.005 ? ## Add these new keywords supported since 5.005
(ABSTRACT_FROM => 'lib/NetworkInfo/Discovery.pm',
AUTHOR => 'Tom Scanlan <[EMAIL PROTECTED]>') : ()),
);
--------- end clip --------------------------
I have tested before without Net::Pcap and had a failure during the "perl
Makefile.PL". Is it possible that you missed this failure and went on
with the make? In any case, I have a PREREQ_PM that is equivilent to
yours. Is there something obviously wrong with my Makefile.PL listed
above?
-Tom Scanlan
On Sat, 15 Mar 2003, Mark Reynolds wrote:
> This distribution has been tested as part of the cpan-testers
> effort to test as many new uploads to CPAN as possible. See
> http://testers.cpan.org/
>
> Please cc any replies to [EMAIL PROTECTED] to keep other
> test volunteers informed and to prevent any duplicate effort.
>
> --
> This is an error report generated automatically by CPANPLUS,
> version 0.042.
>
> Below is the error stack during 'make test':
>
> PERL_DL_NONLAZY=1 /usr/freeware/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl
> 1..1
> Can't locate Net/Pcap.pm in @INC (@INC contains: ./lib/ blib/lib blib/arch
> /usr/people/reynolds/.cpanplus/5.6.1/build/NetworkInfo-Discovery-0.11/blib/lib
> /usr/people/reynolds/.cpanplus/5.6.1/build/NetworkInfo-Discovery-0.11/blib/arch
> /usr/people/reynolds/.cpanplus/5.6.1/build/Net-Traceroute-1.07/blib/lib
> /usr/people/reynolds/.cpanplus/5.6.1/build/Net-Traceroute-1.07/blib/arch
> /usr/freeware/lib/perl5/5.6.1/irix-n32 /usr/freeware/lib/perl5/5.6.1
> /usr/local/lib/perl5/site_perl/5.6.1/irix-n32 /usr/local/lib/perl5/site_perl/5.6.1
> /usr/local/lib/perl5/site_perl /usr/freeware/lib/perl5/sgi_perl/5.6.1/irix-n32
> /usr/freeware/lib/perl5/sgi_perl/5.6.1 /usr/freeware/lib/perl5/sgi_perl .) at
> lib//NetworkInfo/Discovery/Sniff.pm line 10.
> BEGIN failed--compilation aborted at lib//NetworkInfo/Discovery/Sniff.pm line 10.
> Compilation failed in require at test.pl line 10.
> BEGIN failed--compilation aborted at test.pl line 10.
> *** Error code 2 (bu21)
>
>
> Additional comments:
>
> Hello, Tom Scanlan! Thanks for uploading your works to CPAN.
>
> I noticed that the test suite seem to fail without these modules:
>
> Net::Pcap
>
> As such, adding the prerequisite module(s) to 'PREREQ_PM' in your
> Makefile.PL should solve this problem. For example:
>
> WriteMakefile(
> AUTHOR => 'Tom Scanlan ([EMAIL PROTECTED])',
> ... # other information
> PREREQ_PM => {
> 'Net::Pcap' => '0', # or a minimum workable version
> }
> );
>
> If you are interested in making a more flexible Makefile.PL that can
> probe for missing dependencies and install them, ExtUtils::AutoInstall
> at <http://search.cpan.org/search?dist=ExtUtils-AutoInstall> may be
> worth a look.
>
> Thanks! :-)
>
> ******************************** NOTE ********************************
> The comments above are created mechanically, possibly without manual
> checking by the sender. Also, because many people perform automatic
> tests on CPAN, chances are that you will receive identical messages
> about the same problem.
>
> If you believe that the message is mistaken, please reply to the first
> one with correction and/or additional information, and do not take
> it personally. We appreciate your patience. :)
> **********************************************************************
>
>
> --
>
> Summary of my perl5 (revision 5.0 version 6 subversion 1) configuration:
> Platform:
> osname=irix, osvers=6.5, archname=irix-n32
> uname='irix bitbucket 6.5 09180824 ip27 '
> config_args='-der -Dcc="cc -n32 -mips3" -Dlibpath=/usr/freeware/lib32:/usr/lib32
> -Dincpath=/usr/freeware/include/db3:/usr/freeware/include:/usr/include -Duseshrplib
> -Dprefix=/usr/freeware -Duse64bitint -Dlibs=-lm -Dsiteprefix=/usr/local
> -Dvendorprefix=/usr/freeware -Darchname=irix-n32'
> hint=recommended, useposix=true, d_sigaction=define
> usethreads=undef use5005threads=undef useithreads=undef usemultiplicity=undef
> useperlio=undef d_sfio=undef uselargefiles=define usesocks=undef
> use64bitint=define use64bitall=undef uselongdouble=undef
> Compiler:
> cc='cc -n32 -mips3', ccflags ='-D_BSD_TYPES -D_BSD_TIME -woff
> 1009,1110,1174,1184,1552 -OPT:Olimit=0:space=ON -I/usr/freeware/include
> -I/usr/include',
> optimize='-O3',
> cppflags='-D_BSD_TYPES -D_BSD_TIME -OPT:Olimit=0:space=ON
> -I/usr/freeware/include -I/usr/include'
> ccversion='', gccversion='', gccosandvers=''
> intsize=4, longsize=4, ptrsize=4, doublesize=8, byteorder=87654321
> d_longlong=define, longlongsize=8, d_longdbl=define, longdblsize=16
> ivtype='long long', ivsize=8, nvtype='double', nvsize=8, Off_t='off_t',
> lseeksize=8
> alignbytes=8, usemymalloc=n, prototype=define
> Linker and Libraries:
> ld='cc -n32 -mips3', ldflags =' -L/usr/freeware/lib32 -L/usr/lib32 -Wl,-woff,84'
> libpth=/usr/freeware/lib32 /usr/lib32 /lib32 /lib /usr/lib /usr/lib32
> libs=-lm
> perllibs=-lm
> libc=/usr/lib32/libc.so, so=so, useshrplib=true, libperl=libperl.so
> Dynamic Linking:
> dlsrc=dl_dlopen.xs, dlext=so, d_dlsymun=undef, ccdlflags=' -n32
> -Wl,-rpath,/usr/freeware/lib/perl5/5.6.1/irix-n32/CORE:/usr/freeware/lib32'
> cccdlflags=' ', lddlflags='-n32 -shared -L/usr/freeware/lib32 -L/usr/lib32'
>