Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
PerlMonks  

Re: Perl module need regular maintenance. They are not functioning as desired to be.

by AppleFritter (Vicar)
on Jul 21, 2014 at 18:39 UTC ( [id://1094541]=note: print w/replies, xml ) Need Help??


in reply to Perl module need regular maintenance. They are not functioning as desired to be.

I concur with LanX. What's your question? Perlmonks is not a bugtracker; bugs in Net::Packet should be reported here.

That said, I'm 99.9% sure this isn't one. Look at the message you're getting. The reason you can't install Net::Packet is that several modules it depends on are not present, among them Net::Write. The reason that can't be installed is that Net::Pcap is either not present or not working.

I assume that after your problems with Net::Pcap (Not able to install Net::Pcap in MAC OS Mavericks), you force installed it? Don't do that, unless you really know what you're doing; if the tests are failing, there's a reason for that, and the module should most likely not be installed.

I'd suggest going back to Net::Pcap and trying to get that installed properly. We might even be able to help, as long as post your question effectively:

In particular, please share the messages you're getting -- all of them.

Replies are listed 'Best First'.
Re^2: Perl module need regular maintenance. They are not functioning as desired to be.
by waytoperl (Beadle) on Jul 21, 2014 at 20:27 UTC
    I've reported the issue i've encountered through CPAN bug reporting system. I was not sure, why there is an error with Net::Pcap. It was installed successfully and was working. Issue started only when I tried installing Net::Packet module. I'm working on 2 OS system. First in Windows 7 and second on MAC OS. These is observed on both OS platform. I though I may get help from perlmonks. I apologize if my posting was rude. Here is the complete installation mechanism. Please refer.
    cpan> cpan> install Net::Packet Set up gcc environment - gcc.exe (rubenvb-4.5.4) 4.5.4 Warning: prerequisite Net::Libdnet 0 not found. Warning: prerequisite Net::Pcap 0.12 not found. Warning: prerequisite Net::Write 1.00 not found. Set up gcc environment - gcc.exe (rubenvb-4.5.4) 4.5.4 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - You appear to lack the WinPcap developer pack. If it is installed in a non-standard location, please try setting the +LIBS and INC values on the command line. For instance, if you have unziped + the developer's pack in C:\WpdPack, you should execute: perl Makefile.PL INC=-IC:/WpdPack/Include "LIBS=-LC:/WpdPack/Lib - +lwpcap" Or get and install the WinPcap developer's pack from http://www.winpcap.org/install/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Warning (mostly harmless): No library found for -lwpcap Warning (mostly harmless): No library found for -lkernel32 Warning (mostly harmless): No library found for -luser32 Warning (mostly harmless): No library found for -lgdi32 Warning (mostly harmless): No library found for -lwinspool Warning (mostly harmless): No library found for -lcomdlg32 Warning (mostly harmless): No library found for -ladvapi32 Warning (mostly harmless): No library found for -lshell32 Warning (mostly harmless): No library found for -lole32 Warning (mostly harmless): No library found for -loleaut32 Warning (mostly harmless): No library found for -lnetapi32 Warning (mostly harmless): No library found for -luuid Warning (mostly harmless): No library found for -lws2_32 Warning (mostly harmless): No library found for -lmpr Warning (mostly harmless): No library found for -lwinmm Warning (mostly harmless): No library found for -lversion Warning (mostly harmless): No library found for -lodbc32 Warning (mostly harmless): No library found for -lodbccp32 Warning (mostly harmless): No library found for -lcomctl32 Warning (mostly harmless): No library found for -lmsvcrt Pcap.xs:32:18: fatal error: pcap.h: No such file or directory compilation terminated. dmake.exe: Error code 129, while making 'Pcap.o' Set up gcc environment - gcc.exe (rubenvb-4.5.4) 4.5.4 Warning: prerequisite Net::Pcap 0.12 not found. Can't locate Net/Pcap.pm in @INC (@INC contains: C:\Perl64\cpan\build\ +Net-Write-1.07-NXjfCC\blib\lib C:\Perl64\cpan\build\Net-Write-1.07-NX +jfCC\blib\arch C:/Perl64/site/lib C:/Perl64/lib .) at C:\Perl64\cpan\build\Net-Write-1.07-NXjfCC\blib\lib/Net/Write/L +ayer.pm line 116. BEGIN failed--compilation aborted at C:\Perl64\cpan\build\Net-Write-1. +07-NXjfCC\blib\lib/Net/Write/Layer.pm line 116. Compilation failed in require at t/01-use.t line 5. BEGIN failed--compilation aborted at t/01-use.t line 5. Failed 1/3 test programs. 0/2 subtests failed. dmake.exe: Error code 130, while making 'test_dynamic' Set up gcc environment - gcc.exe (rubenvb-4.5.4) 4.5.4 The system cannot find the path specified. The system cannot find the path specified. Warning (mostly harmless): No library found for -ldnet Warning (mostly harmless): No library found for -lkernel32 Warning (mostly harmless): No library found for -luser32 Warning (mostly harmless): No library found for -lgdi32 Warning (mostly harmless): No library found for -lwinspool Warning (mostly harmless): No library found for -lcomdlg32 Warning (mostly harmless): No library found for -ladvapi32 Warning (mostly harmless): No library found for -lshell32 Warning (mostly harmless): No library found for -lole32 Warning (mostly harmless): No library found for -loleaut32 Warning (mostly harmless): No library found for -lnetapi32 Warning (mostly harmless): No library found for -luuid Warning (mostly harmless): No library found for -lws2_32 Warning (mostly harmless): No library found for -lmpr Warning (mostly harmless): No library found for -lwinmm Warning (mostly harmless): No library found for -lversion Warning (mostly harmless): No library found for -lodbc32 Warning (mostly harmless): No library found for -lodbccp32 Warning (mostly harmless): No library found for -lcomctl32 Warning (mostly harmless): No library found for -lmsvcrt Libdnet.xs:37:18: fatal error: dnet.h: No such file or directory compilation terminated. dmake.exe: Error code 129, while making 'Libdnet.o' Can't locate Net/Libdnet.pm in @INC (@INC contains: C:\Perl64\cpan\bui +ld\Net-Packet-3.27-omn70f\blib\lib C:\Perl64\cpan\build\Net-Packet-3. +27-omn70f\blib\arch C:/Perl64/site/lib C:/Perl6 4/lib .) at C:\Perl64\cpan\build\Net-Packet-3.27-omn70f\blib\lib/Net/P +acket/Utils.pm line 41. Compilation failed in require at C:\Perl64\cpan\build\Net-Packet-3.27- +omn70f\blib\lib/Net/Packet/Env.pm line 58. BEGIN failed--compilation aborted at C:\Perl64\cpan\build\Net-Packet-3 +.27-omn70f\blib\lib/Net/Packet/Env.pm line 58. Compilation failed in require at C:\Perl64\cpan\build\Net-Packet-3.27- +omn70f\blib\lib/Net/Packet/Frame.pm line 35. BEGIN failed--compilation aborted at C:\Perl64\cpan\build\Net-Packet-3 +.27-omn70f\blib\lib/Net/Packet/Frame.pm line 35. Compilation failed in require at t/01-layer-create.t line 4. BEGIN failed--compilation aborted at t/01-layer-create.t line 4. Can't locate Net/Libdnet.pm in @INC (@INC contains: C:\Perl64\cpan\bui +ld\Net-Packet-3.27-omn70f\blib\lib C:\Perl64\cpan\build\Net-Packet-3. +27-omn70f\blib\arch C:/Perl64/site/lib C:/Perl6 4/lib .) at C:\Perl64\cpan\build\Net-Packet-3.27-omn70f\blib\lib/Net/P +acket/Utils.pm line 41. Compilation failed in require at C:\Perl64\cpan\build\Net-Packet-3.27- +omn70f\blib\lib/Net/Packet/Env.pm line 58. BEGIN failed--compilation aborted at C:\Perl64\cpan\build\Net-Packet-3 +.27-omn70f\blib\lib/Net/Packet/Env.pm line 58. Compilation failed in require at C:\Perl64\cpan\build\Net-Packet-3.27- +omn70f\blib\lib/Net/Packet.pm line 15. BEGIN failed--compilation aborted at C:\Perl64\cpan\build\Net-Packet-3 +.27-omn70f\blib\lib/Net/Packet.pm line 15. Compilation failed in require at t/01-use-packet.t line 4. BEGIN failed--compilation aborted at t/01-use-packet.t line 4. Can't locate Net/Libdnet.pm in @INC (@INC contains: C:\Perl64\cpan\bui +ld\Net-Packet-3.27-omn70f\blib\lib C:\Perl64\cpan\build\Net-Packet-3. +27-omn70f\blib\arch C:/Perl64/site/lib C:/Perl6 4/lib .) at C:\Perl64\cpan\build\Net-Packet-3.27-omn70f\blib\lib/Net/P +acket/Utils.pm line 41. Compilation failed in require at C:\Perl64\cpan\build\Net-Packet-3.27- +omn70f\blib\lib/Net/Packet/Env.pm line 58. BEGIN failed--compilation aborted at C:\Perl64\cpan\build\Net-Packet-3 +.27-omn70f\blib\lib/Net/Packet/Env.pm line 58. Compilation failed in require at t/02-d3-lo-tcp.t line 6. BEGIN failed--compilation aborted at t/02-d3-lo-tcp.t line 6. Can't locate Net/Libdnet.pm in @INC (@INC contains: C:\Perl64\cpan\bui +ld\Net-Packet-3.27-omn70f\blib\lib C:\Perl64\cpan\build\Net-Packet-3. +27-omn70f\blib\arch C:/Perl64/site/lib C:/Perl6 4/lib .) at C:\Perl64\cpan\build\Net-Packet-3.27-omn70f\blib\lib/Net/P +acket/Utils.pm line 41. Compilation failed in require at C:\Perl64\cpan\build\Net-Packet-3.27- +omn70f\blib\lib/Net/Packet/Env.pm line 58. BEGIN failed--compilation aborted at C:\Perl64\cpan\build\Net-Packet-3 +.27-omn70f\blib\lib/Net/Packet/Env.pm line 58. Compilation failed in require at t/03-d3-lo-icmp-echo.t line 6. BEGIN failed--compilation aborted at t/03-d3-lo-icmp-echo.t line 6. Can't locate Net/Libdnet.pm in @INC (@INC contains: C:\Perl64\cpan\bui +ld\Net-Packet-3.27-omn70f\blib\lib C:\Perl64\cpan\build\Net-Packet-3. +27-omn70f\blib\arch C:/Perl64/site/lib C:/Perl6 4/lib .) at C:\Perl64\cpan\build\Net-Packet-3.27-omn70f\blib\lib/Net/P +acket/Utils.pm line 41. Compilation failed in require at C:\Perl64\cpan\build\Net-Packet-3.27- +omn70f\blib\lib/Net/Packet/Env.pm line 58. BEGIN failed--compilation aborted at C:\Perl64\cpan\build\Net-Packet-3 +.27-omn70f\blib\lib/Net/Packet/Env.pm line 58. Compilation failed in require at t/04-d3-lo-udp.t line 6. BEGIN failed--compilation aborted at t/04-d3-lo-udp.t line 6. Can't locate Net/Libdnet.pm in @INC (@INC contains: C:\Perl64\cpan\bui +ld\Net-Packet-3.27-omn70f\blib\lib C:\Perl64\cpan\build\Net-Packet-3. +27-omn70f\blib\arch C:/Perl64/site/lib C:/Perl6 4/lib .) at C:\Perl64\cpan\build\Net-Packet-3.27-omn70f\blib\lib/Net/P +acket/Utils.pm line 41. Compilation failed in require at C:\Perl64\cpan\build\Net-Packet-3.27- +omn70f\blib\lib/Net/Packet/Env.pm line 58. BEGIN failed--compilation aborted at C:\Perl64\cpan\build\Net-Packet-3 +.27-omn70f\blib\lib/Net/Packet/Env.pm line 58. Compilation failed in require at t/05-d3-lo-tcp-opt.t line 6. BEGIN failed--compilation aborted at t/05-d3-lo-tcp-opt.t line 6. Can't locate Net/Libdnet.pm in @INC (@INC contains: C:\Perl64\cpan\bui +ld\Net-Packet-3.27-omn70f\blib\lib C:\Perl64\cpan\build\Net-Packet-3. +27-omn70f\blib\arch C:/Perl64/site/lib C:/Perl6 4/lib .) at C:\Perl64\cpan\build\Net-Packet-3.27-omn70f\blib\lib/Net/P +acket/Utils.pm line 41. Compilation failed in require at C:\Perl64\cpan\build\Net-Packet-3.27- +omn70f\blib\lib/Net/Packet/Env.pm line 58. BEGIN failed--compilation aborted at C:\Perl64\cpan\build\Net-Packet-3 +.27-omn70f\blib\lib/Net/Packet/Env.pm line 58. Compilation failed in require at t/06-d3-lo-tcp-opt-l7.t line 6. BEGIN failed--compilation aborted at t/06-d3-lo-tcp-opt-l7.t line 6. Can't locate Net/Libdnet.pm in @INC (@INC contains: C:\Perl64\cpan\bui +ld\Net-Packet-3.27-omn70f\blib\lib C:\Perl64\cpan\build\Net-Packet-3. +27-omn70f\blib\arch C:/Perl64/site/lib C:/Perl6 4/lib .) at C:\Perl64\cpan\build\Net-Packet-3.27-omn70f\blib\lib/Net/P +acket/Utils.pm line 41. Compilation failed in require at C:\Perl64\cpan\build\Net-Packet-3.27- +omn70f\blib\lib/Net/Packet/Env.pm line 58. BEGIN failed--compilation aborted at C:\Perl64\cpan\build\Net-Packet-3 +.27-omn70f\blib\lib/Net/Packet/Env.pm line 58. Compilation failed in require at t/07-d3-lo-udp-l7.t line 6. BEGIN failed--compilation aborted at t/07-d3-lo-udp-l7.t line 6. Can't locate Net/Libdnet.pm in @INC (@INC contains: C:\Perl64\cpan\bui +ld\Net-Packet-3.27-omn70f\blib\lib C:\Perl64\cpan\build\Net-Packet-3. +27-omn70f\blib\arch C:/Perl64/site/lib C:/Perl6 4/lib .) at C:\Perl64\cpan\build\Net-Packet-3.27-omn70f\blib\lib/Net/P +acket/Utils.pm line 41. Compilation failed in require at C:\Perl64\cpan\build\Net-Packet-3.27- +omn70f\blib\lib/Net/Packet/Env.pm line 58. BEGIN failed--compilation aborted at C:\Perl64\cpan\build\Net-Packet-3 +.27-omn70f\blib\lib/Net/Packet/Env.pm line 58. Compilation failed in require at t/08-d2-eth-arp.t line 6. BEGIN failed--compilation aborted at t/08-d2-eth-arp.t line 6. Can't locate Net/Libdnet.pm in @INC (@INC contains: C:\Perl64\cpan\bui +ld\Net-Packet-3.27-omn70f\blib\lib C:\Perl64\cpan\build\Net-Packet-3. +27-omn70f\blib\arch C:/Perl64/site/lib C:/Perl6 4/lib .) at C:\Perl64\cpan\build\Net-Packet-3.27-omn70f\blib\lib/Net/P +acket/Utils.pm line 41. Compilation failed in require at C:\Perl64\cpan\build\Net-Packet-3.27- +omn70f\blib\lib/Net/Packet/Env.pm line 58. BEGIN failed--compilation aborted at C:\Perl64\cpan\build\Net-Packet-3 +.27-omn70f\blib\lib/Net/Packet/Env.pm line 58. Compilation failed in require at t/09-d2-eth-ipv6-tcp.t line 6. BEGIN failed--compilation aborted at t/09-d2-eth-ipv6-tcp.t line 6. Can't locate Net/Libdnet.pm in @INC (@INC contains: C:\Perl64\cpan\bui +ld\Net-Packet-3.27-omn70f\blib\lib C:\Perl64\cpan\build\Net-Packet-3. +27-omn70f\blib\arch C:/Perl64/site/lib C:/Perl6 4/lib .) at C:\Perl64\cpan\build\Net-Packet-3.27-omn70f\blib\lib/Net/P +acket/Utils.pm line 41. Compilation failed in require at C:\Perl64\cpan\build\Net-Packet-3.27- +omn70f\blib\lib/Net/Packet/Env.pm line 58. BEGIN failed--compilation aborted at C:\Perl64\cpan\build\Net-Packet-3 +.27-omn70f\blib\lib/Net/Packet/Env.pm line 58. Compilation failed in require at t/10-d2-eth-ipv6-tcp-opt.t line 6. BEGIN failed--compilation aborted at t/10-d2-eth-ipv6-tcp-opt.t line 6 +. Can't locate Net/Libdnet.pm in @INC (@INC contains: C:\Perl64\cpan\bui +ld\Net-Packet-3.27-omn70f\blib\lib C:\Perl64\cpan\build\Net-Packet-3. +27-omn70f\blib\arch C:/Perl64/site/lib C:/Perl6 4/lib .) at C:\Perl64\cpan\build\Net-Packet-3.27-omn70f\blib\lib/Net/P +acket/Utils.pm line 41. Compilation failed in require at C:\Perl64\cpan\build\Net-Packet-3.27- +omn70f\blib\lib/Net/Packet/Env.pm line 58. BEGIN failed--compilation aborted at C:\Perl64\cpan\build\Net-Packet-3 +.27-omn70f\blib\lib/Net/Packet/Env.pm line 58. Compilation failed in require at t/11-d2-eth-ipv6-tcp-opt-l7.t line 6. BEGIN failed--compilation aborted at t/11-d2-eth-ipv6-tcp-opt-l7.t lin +e 6. Can't locate Net/Libdnet.pm in @INC (@INC contains: C:\Perl64\cpan\bui +ld\Net-Packet-3.27-omn70f\blib\lib C:\Perl64\cpan\build\Net-Packet-3. +27-omn70f\blib\arch C:/Perl64/site/lib C:/Perl6 4/lib .) at C:\Perl64\cpan\build\Net-Packet-3.27-omn70f\blib\lib/Net/P +acket/Utils.pm line 41. Compilation failed in require at C:\Perl64\cpan\build\Net-Packet-3.27- +omn70f\blib\lib/Net/Packet/Env.pm line 58. BEGIN failed--compilation aborted at C:\Perl64\cpan\build\Net-Packet-3 +.27-omn70f\blib\lib/Net/Packet/Env.pm line 58. Compilation failed in require at t/12-d2-eth-ipv6-udp.t line 6. BEGIN failed--compilation aborted at t/12-d2-eth-ipv6-udp.t line 6. Can't locate Net/Libdnet.pm in @INC (@INC contains: C:\Perl64\cpan\bui +ld\Net-Packet-3.27-omn70f\blib\lib C:\Perl64\cpan\build\Net-Packet-3. +27-omn70f\blib\arch C:/Perl64/site/lib C:/Perl6 4/lib .) at C:\Perl64\cpan\build\Net-Packet-3.27-omn70f\blib\lib/Net/P +acket/Utils.pm line 41. Compilation failed in require at C:\Perl64\cpan\build\Net-Packet-3.27- +omn70f\blib\lib/Net/Packet/Env.pm line 58. BEGIN failed--compilation aborted at C:\Perl64\cpan\build\Net-Packet-3 +.27-omn70f\blib\lib/Net/Packet/Env.pm line 58. Compilation failed in require at t/13-d2-eth-ipv6-udp-l7.t line 6. BEGIN failed--compilation aborted at t/13-d2-eth-ipv6-udp-l7.t line 6. Can't locate Net/Libdnet.pm in @INC (@INC contains: C:\Perl64\cpan\bui +ld\Net-Packet-3.27-omn70f\blib\lib C:\Perl64\cpan\build\Net-Packet-3. +27-omn70f\blib\arch C:/Perl64/site/lib C:/Perl6 4/lib .) at C:\Perl64\cpan\build\Net-Packet-3.27-omn70f\blib\lib/Net/P +acket/Utils.pm line 41. Compilation failed in require at C:\Perl64\cpan\build\Net-Packet-3.27- +omn70f\blib\lib/Net/Packet/Env.pm line 58. BEGIN failed--compilation aborted at C:\Perl64\cpan\build\Net-Packet-3 +.27-omn70f\blib\lib/Net/Packet/Env.pm line 58. Compilation failed in require at t/14-d3-eth-tcp.t line 6. BEGIN failed--compilation aborted at t/14-d3-eth-tcp.t line 6. Can't locate Net/Libdnet.pm in @INC (@INC contains: C:\Perl64\cpan\bui +ld\Net-Packet-3.27-omn70f\blib\lib C:\Perl64\cpan\build\Net-Packet-3. +27-omn70f\blib\arch C:/Perl64/site/lib C:/Perl6 4/lib .) at C:\Perl64\cpan\build\Net-Packet-3.27-omn70f\blib\lib/Net/P +acket/Utils.pm line 41. Compilation failed in require at C:\Perl64\cpan\build\Net-Packet-3.27- +omn70f\blib\lib/Net/Packet/Env.pm line 58. BEGIN failed--compilation aborted at C:\Perl64\cpan\build\Net-Packet-3 +.27-omn70f\blib\lib/Net/Packet/Env.pm line 58. Compilation failed in require at t/15-d3-eth-icmp-echo.t line 6. BEGIN failed--compilation aborted at t/15-d3-eth-icmp-echo.t line 6. Can't locate Net/Libdnet.pm in @INC (@INC contains: C:\Perl64\cpan\bui +ld\Net-Packet-3.27-omn70f\blib\lib C:\Perl64\cpan\build\Net-Packet-3. +27-omn70f\blib\arch C:/Perl64/site/lib C:/Perl6 4/lib .) at C:\Perl64\cpan\build\Net-Packet-3.27-omn70f\blib\lib/Net/P +acket/Utils.pm line 41. Compilation failed in require at C:\Perl64\cpan\build\Net-Packet-3.27- +omn70f\blib\lib/Net/Packet/Env.pm line 58. BEGIN failed--compilation aborted at C:\Perl64\cpan\build\Net-Packet-3 +.27-omn70f\blib\lib/Net/Packet/Env.pm line 58. Compilation failed in require at t/16-d3-eth-udp.t line 6. BEGIN failed--compilation aborted at t/16-d3-eth-udp.t line 6. Can't locate Net/Libdnet.pm in @INC (@INC contains: C:\Perl64\cpan\bui +ld\Net-Packet-3.27-omn70f\blib\lib C:\Perl64\cpan\build\Net-Packet-3. +27-omn70f\blib\arch C:/Perl64/site/lib C:/Perl6 4/lib .) at C:\Perl64\cpan\build\Net-Packet-3.27-omn70f\blib\lib/Net/P +acket/Utils.pm line 41. Compilation failed in require at C:\Perl64\cpan\build\Net-Packet-3.27- +omn70f\blib\lib/Net/Packet/Env.pm line 58. BEGIN failed--compilation aborted at C:\Perl64\cpan\build\Net-Packet-3 +.27-omn70f\blib\lib/Net/Packet/Env.pm line 58. Compilation failed in require at t/17-d3-eth-tcp-opt.t line 6. BEGIN failed--compilation aborted at t/17-d3-eth-tcp-opt.t line 6. Can't locate Net/Libdnet.pm in @INC (@INC contains: C:\Perl64\cpan\bui +ld\Net-Packet-3.27-omn70f\blib\lib C:\Perl64\cpan\build\Net-Packet-3. +27-omn70f\blib\arch C:/Perl64/site/lib C:/Perl6 4/lib .) at C:\Perl64\cpan\build\Net-Packet-3.27-omn70f\blib\lib/Net/P +acket/Utils.pm line 41. Compilation failed in require at C:\Perl64\cpan\build\Net-Packet-3.27- +omn70f\blib\lib/Net/Packet/Env.pm line 58. BEGIN failed--compilation aborted at C:\Perl64\cpan\build\Net-Packet-3 +.27-omn70f\blib\lib/Net/Packet/Env.pm line 58. Compilation failed in require at t/18-d3-eth-tcp-opt-l7.t line 6. BEGIN failed--compilation aborted at t/18-d3-eth-tcp-opt-l7.t line 6. Can't locate Net/Libdnet.pm in @INC (@INC contains: C:\Perl64\cpan\bui +ld\Net-Packet-3.27-omn70f\blib\lib C:\Perl64\cpan\build\Net-Packet-3. +27-omn70f\blib\arch C:/Perl64/site/lib C:/Perl6 4/lib .) at C:\Perl64\cpan\build\Net-Packet-3.27-omn70f\blib\lib/Net/P +acket/Utils.pm line 41. Compilation failed in require at C:\Perl64\cpan\build\Net-Packet-3.27- +omn70f\blib\lib/Net/Packet/Env.pm line 58. BEGIN failed--compilation aborted at C:\Perl64\cpan\build\Net-Packet-3 +.27-omn70f\blib\lib/Net/Packet/Env.pm line 58. Compilation failed in require at t/19-d3-eth-udp-l7.t line 6. BEGIN failed--compilation aborted at t/19-d3-eth-udp-l7.t line 6. Can't locate Net/Libdnet.pm in @INC (@INC contains: C:\Perl64\cpan\bui +ld\Net-Packet-3.27-omn70f\blib\lib C:\Perl64\cpan\build\Net-Packet-3. +27-omn70f\blib\arch C:/Perl64/site/lib C:/Perl6 4/lib .) at C:\Perl64\cpan\build\Net-Packet-3.27-omn70f\blib\lib/Net/P +acket/Utils.pm line 41. Compilation failed in require at C:\Perl64\cpan\build\Net-Packet-3.27- +omn70f\blib\lib/Net/Packet/Env.pm line 58. BEGIN failed--compilation aborted at C:\Perl64\cpan\build\Net-Packet-3 +.27-omn70f\blib\lib/Net/Packet/Env.pm line 58. Compilation failed in require at t/20-d4-eth-tcp.t line 6. BEGIN failed--compilation aborted at t/20-d4-eth-tcp.t line 6. Can't locate Net/Libdnet.pm in @INC (@INC contains: C:\Perl64\cpan\bui +ld\Net-Packet-3.27-omn70f\blib\lib C:\Perl64\cpan\build\Net-Packet-3. +27-omn70f\blib\arch C:/Perl64/site/lib C:/Perl6 4/lib .) at C:\Perl64\cpan\build\Net-Packet-3.27-omn70f\blib\lib/Net/P +acket/Utils.pm line 41. Compilation failed in require at C:\Perl64\cpan\build\Net-Packet-3.27- +omn70f\blib\lib/Net/Packet/Env.pm line 58. BEGIN failed--compilation aborted at C:\Perl64\cpan\build\Net-Packet-3 +.27-omn70f\blib\lib/Net/Packet/Env.pm line 58. Compilation failed in require at t/21-d4-eth-tcp-opt.t line 6. BEGIN failed--compilation aborted at t/21-d4-eth-tcp-opt.t line 6. Can't locate Net/Libdnet.pm in @INC (@INC contains: C:\Perl64\cpan\bui +ld\Net-Packet-3.27-omn70f\blib\lib C:\Perl64\cpan\build\Net-Packet-3. +27-omn70f\blib\arch C:/Perl64/site/lib C:/Perl6 4/lib .) at C:\Perl64\cpan\build\Net-Packet-3.27-omn70f\blib\lib/Net/P +acket/Utils.pm line 41. Compilation failed in require at C:\Perl64\cpan\build\Net-Packet-3.27- +omn70f\blib\lib/Net/Packet/Env.pm line 58. BEGIN failed--compilation aborted at C:\Perl64\cpan\build\Net-Packet-3 +.27-omn70f\blib\lib/Net/Packet/Env.pm line 58. Compilation failed in require at t/22-d4-eth-tcp-opt-l7.t line 6. BEGIN failed--compilation aborted at t/22-d4-eth-tcp-opt-l7.t line 6. Can't locate Net/Libdnet.pm in @INC (@INC contains: C:\Perl64\cpan\bui +ld\Net-Packet-3.27-omn70f\blib\lib C:\Perl64\cpan\build\Net-Packet-3. +27-omn70f\blib\arch C:/Perl64/site/lib C:/Perl6 4/lib .) at C:\Perl64\cpan\build\Net-Packet-3.27-omn70f\blib\lib/Net/P +acket/Utils.pm line 41. Compilation failed in require at C:\Perl64\cpan\build\Net-Packet-3.27- +omn70f\blib\lib/Net/Packet/Env.pm line 58. BEGIN failed--compilation aborted at C:\Perl64\cpan\build\Net-Packet-3 +.27-omn70f\blib\lib/Net/Packet/Env.pm line 58. Compilation failed in require at t/23-d4-eth-udp.t line 6. BEGIN failed--compilation aborted at t/23-d4-eth-udp.t line 6. Can't locate Net/Libdnet.pm in @INC (@INC contains: C:\Perl64\cpan\bui +ld\Net-Packet-3.27-omn70f\blib\lib C:\Perl64\cpan\build\Net-Packet-3. +27-omn70f\blib\arch C:/Perl64/site/lib C:/Perl6 4/lib .) at C:\Perl64\cpan\build\Net-Packet-3.27-omn70f\blib\lib/Net/P +acket/Utils.pm line 41. Compilation failed in require at C:\Perl64\cpan\build\Net-Packet-3.27- +omn70f\blib\lib/Net/Packet/Env.pm line 58. BEGIN failed--compilation aborted at C:\Perl64\cpan\build\Net-Packet-3 +.27-omn70f\blib\lib/Net/Packet/Env.pm line 58. Compilation failed in require at t/24-d4-eth-udp-l7.t line 6. BEGIN failed--compilation aborted at t/24-d4-eth-udp-l7.t line 6. Can't locate Net/Libdnet.pm in @INC (@INC contains: C:\Perl64\cpan\bui +ld\Net-Packet-3.27-omn70f\blib\lib C:\Perl64\cpan\build\Net-Packet-3. +27-omn70f\blib\arch C:/Perl64/site/lib C:/Perl6 4/lib .) at C:\Perl64\cpan\build\Net-Packet-3.27-omn70f\blib\lib/Net/P +acket/Utils.pm line 41. Compilation failed in require at C:\Perl64\cpan\build\Net-Packet-3.27- +omn70f\blib\lib/Net/Packet/Env.pm line 58. BEGIN failed--compilation aborted at C:\Perl64\cpan\build\Net-Packet-3 +.27-omn70f\blib\lib/Net/Packet/Env.pm line 58. Compilation failed in require at t/25-d4-eth-ipv6-tcp-opt-l7.t line 6. BEGIN failed--compilation aborted at t/25-d4-eth-ipv6-tcp-opt-l7.t lin +e 6. Can't locate Net/Libdnet.pm in @INC (@INC contains: C:\Perl64\cpan\bui +ld\Net-Packet-3.27-omn70f\blib\lib C:\Perl64\cpan\build\Net-Packet-3. +27-omn70f\blib\arch C:/Perl64/site/lib C:/Perl6 4/lib .) at C:\Perl64\cpan\build\Net-Packet-3.27-omn70f\blib\lib/Net/P +acket/Utils.pm line 41. Compilation failed in require at C:\Perl64\cpan\build\Net-Packet-3.27- +omn70f\blib\lib/Net/Packet/Env.pm line 58. BEGIN failed--compilation aborted at C:\Perl64\cpan\build\Net-Packet-3 +.27-omn70f\blib\lib/Net/Packet/Env.pm line 58. Compilation failed in require at t/26-d4-lo-ipv6-tcp-opt-l7.t line 6. BEGIN failed--compilation aborted at t/26-d4-lo-ipv6-tcp-opt-l7.t line + 6. Can't locate Net/Libdnet.pm in @INC (@INC contains: C:\Perl64\cpan\bui +ld\Net-Packet-3.27-omn70f\blib\lib C:\Perl64\cpan\build\Net-Packet-3. +27-omn70f\blib\arch C:/Perl64/site/lib C:/Perl6 4/lib .) at C:\Perl64\cpan\build\Net-Packet-3.27-omn70f\blib\lib/Net/P +acket/Utils.pm line 41. Compilation failed in require at C:\Perl64\cpan\build\Net-Packet-3.27- +omn70f\blib\lib/Net/Packet/Env.pm line 58. BEGIN failed--compilation aborted at C:\Perl64\cpan\build\Net-Packet-3 +.27-omn70f\blib\lib/Net/Packet/Env.pm line 58. Compilation failed in require at t/27-d4-eth-ipv6-udp-l7.t line 6. BEGIN failed--compilation aborted at t/27-d4-eth-ipv6-udp-l7.t line 6. Can't locate Net/Libdnet.pm in @INC (@INC contains: C:\Perl64\cpan\bui +ld\Net-Packet-3.27-omn70f\blib\lib C:\Perl64\cpan\build\Net-Packet-3. +27-omn70f\blib\arch C:/Perl64/site/lib C:/Perl6 4/lib .) at C:\Perl64\cpan\build\Net-Packet-3.27-omn70f\blib\lib/Net/P +acket/Utils.pm line 41. Compilation failed in require at C:\Perl64\cpan\build\Net-Packet-3.27- +omn70f\blib\lib/Net/Packet/Env.pm line 58. BEGIN failed--compilation aborted at C:\Perl64\cpan\build\Net-Packet-3 +.27-omn70f\blib\lib/Net/Packet/Env.pm line 58. Compilation failed in require at t/28-d4-eth-icmp.t line 6. BEGIN failed--compilation aborted at t/28-d4-eth-icmp.t line 6. Failed 29/31 test programs. 0/2 subtests failed. dmake.exe: Error code 130, while making 'test_dynamic' Failed during this command: SAPER/Net-Pcap-0.17.tar.gz : make NO GOMOR/Net-Write-1.07.tar.gz : make_test NO one depen +dency not OK (Net::Pcap); additionally test harness failed GOMOR/Net-Libdnet-0.98.tar.gz : make NO GOMOR/Net-Packet-3.27.tar.gz : make_test NO 3 depende +ncies missing (Net::Write,Net::Pcap,Net::Libdnet); additionally test +harness failed cpan>

      These lines indicates what the problems are:

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - You appear to lack the WinPcap developer pack. If it is installed in a non-standard location, please try setting the +LIBS and INC values on the command line. For instance, if you have unziped + the developer's pack in C:\WpdPack, you should execute: perl Makefile.PL INC=-IC:/WpdPack/Include "LIBS=-LC:/WpdPack/Lib - +lwpcap" Or get and install the WinPcap developer's pack from http://www.winpcap.org/install/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - ... Pcap.xs:32:18: fatal error: pcap.h: No such file or directory ... Libdnet.xs:37:18: fatal error: dnet.h: No such file or directory

      It appears that you either do not have libpcap installed, or alternatively only the library itself as a binary, without the extra files needed to compile applications using this library. You're using a Windows machine, right? Are you using WinPcap? If so, I'd suggest installing the developer's pack. If not, I can't give you any specific tips -- I don't have any experience doing software development on Windows --, but you'll need the relevant libpcap files to be able to install this module.

      The same goes for libdnet, as far as I can tell.

      Good luck!

        Thanks for suggestions. I'll try in my Windows machine. Meanwhile, I've another Windows machine and trying to install Perl Module Net::Packet. Getting this errors. I've manually downloaded all tar files (Socket6-0.25, Net-Libdnet-0.98, Net-Packet-3.27). Please let me know how to get successfully install Net::Packet and get my developement environment ready.
        C:\Perl\site\bin\dmake.exe test -- NOT OK
        -----------------
        UMEMOTO/Socket6-0.25.tar.gz Won't repeat unsuccessful test during this command
        -----------------
        Warning: Prerequisite 'Socket6 => 0' for 'GOMOR/Net-Write-1.07.tar.gz' + failed when processing 'UMEMOTO/Socket6 -0.25.tar.gz' with 'make_test => NO'. Continuing, but chances to succe +ed are limited.
        -----------------
        one dependency not OK (Socket6); additionally test harness failed C:\Perl\site\bin\dmake.exe test -- NOT OK
        -----------------
        C:\Perl\site\bin\dmake.exe -- NOT OK
        -----------------
        Warning: Prerequisite 'Socket6 => 0' for 'GOMOR/Net-Packet-3.27.tar.gz +' failed when processing 'UMEMOTO/Socket 6-0.25.tar.gz' with 'make_test => NO'. Continuing, but chances to succ +eed are limited. Warning: Prerequisite 'Net::Write => 1.00' for 'GOMOR/Net-Packet-3.27. +tar.gz' failed when processing 'GOMOR/Ne t-Write-1.07.tar.gz' with 'make_test => NO one dependency not OK (Sock +et6); additionally test harness failed'. Continuing, but chances to succeed are limited. Warning: Prerequisite 'Net::Libdnet => 0' for 'GOMOR/Net-Packet-3.27.t +ar.gz' failed when processing 'GOMOR/Net -Libdnet-0.98.tar.gz' with 'make => NO'. Continuing, but chances to su +cceed are limited.
        -----------------
        3 dependencies missing (Socket6,Net::Write,Net::Libdnet); additionally + test harness failed C:\Perl\site\bin\dmake.exe test -- NOT OK //hint// to see the cpan-testers results for installing this module, t +ry: reports GOMOR/Net-Packet-3.27.tar.gz Failed during this command: UMEMOTO/Socket6-0.25.tar.gz : make_test NO GOMOR/Net-Write-1.07.tar.gz : make_test NO one depen +dency not OK (Socket6); additionally tes t harness failed GOMOR/Net-Libdnet-0.98.tar.gz : make NO GOMOR/Net-Packet-3.27.tar.gz : make_test NO 3 depende +ncies missing (Socket6,Net::Write,Net::L ibdnet); additionally test harness failed
        -----------------

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1094541]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2024-03-29 01:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found