waytoperl has asked for the wisdom of the Perl Monks concerning the following question:

This node falls below the community's threshold of quality. You may see it by logging in.

Replies are listed 'Best First'.
Re: Perl module need regular maintenance. They are not functioning as desired to be.
by atcroft (Abbot) on Jul 21, 2014 at 18:57 UTC

    Have you looked at the RT page for the module, and filed a bug report if there is not a similar one already filed? When I looked at the one for Net::PCAP (at https://rt.cpan.org/Public/Dist/Display.html?Name=Net-Pcap, although I'm not sure that was the one in question), I found a bug report of an issue with installation on MS-Win platforms that included several patches for that particular module.

    Also, please be aware that almost all modules are written and/or supported by volunteers. While many of them try their best to be supportive and reactive to bug reports, they may lack time or resources to work on a particular bug (especially one with a "This must be fixed NOW!" attitude). If the bug is that critical to you or your employer, perhaps you should look into supporting the author/maintainer of the modules you need, at least for this one incident, by whatever means are at your disposal, such as by filing clear and informative bug reports, offering patches (if you have the capability to do so), offering to test potential fixes, monetary assistance, etc.

      Thanks for providing information, there was a patch for installation on MS-Windows platform. I'll be happy to contribute. I'm new to Perl programming and learning. I've provided complete logs in my previous reply. I was thinking to have complete fresh installation. But, this issue wont be solved and issue still persist in module. Just wanted to know experts thoughts in workaround for these issue. I've also tried installing dependencies modules. Yet no luck.
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
      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!

Re: Perl module need regular maintenance. They are not functioning as desired to be.
by LanX (Sage) on Jul 21, 2014 at 18:27 UTC
    What's the question?

    Cheers Rolf

    (addicted to the Perl Programming Language and ☆☆☆☆ :)