Skip Menu |

This queue is for tickets about the Net-Pcap CPAN distribution.

Report information
The Basics
Id: 29586
Status: open
Priority: 0/
Queue: Net-Pcap

People
Owner: SAPER [...] cpan.org
Requestors: jlc [...] cfl.rr.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Net-Pcap-0.15_01 cygwin patch
Date: Sun, 23 Sep 2007 15:49:10 -0400
To: sebastien [...] aperghis.net
From: "John L. Chmielewski" <jlc [...] cfl.rr.com>
Hi Sébastien, I distribute NCID, ncid.sourceforge.net, and have a sip perl module that pickups Called ID. The cygwin port uses Net-Perl, but it does not configure anymore. It seems like Net-Pcap mostly ignores a cygwin environment. Maybe I am doing something wrong, but I had to add one line to Makefile.PL. I added (line 49): } elsif ($^O eq 'cygwin') { as the line before: warn <<"REASON" unless have_library('wpcap', 'pcap_lib_version', 'pcap'); and include INC and LIBS to find stuff at c:/WpdPack Configure will not find the pcap_lib_version function, but is happy with the library otherwise. It is very difficult finding information about Net-Pcap under cygwin, and so it took me a while to figure what was wrong and how to correct it. Hopefully the change I made was correct, and you can incorporate it. -- John
Subject: Re: [rt.cpan.org #29586] Net-Pcap-0.15_01 cygwin patch
Date: Mon, 24 Sep 2007 08:56:10 +0200
To: bug-Net-Pcap [...] rt.cpan.org
From: Sébastien Aperghis-Tramoni <saper [...] cpan.org>
[ In case you wonder, I redirected your mail to CPAN-RT in order to create a ticket in Net-Pcap queue. You can consult it here: http:// rt.cpan.org/Ticket/Display.html?id=29586 ] John L. Chmielewski wrote: Show quoted text
> Hi Sébastien,
Hello, Show quoted text
> I distribute NCID, ncid.sourceforge.net, and have a sip perl module > that pickups Called ID.
And it's not on the CPAN? How shocking! ;-) Show quoted text
> The cygwin port uses Net-Perl, but it does not configure anymore.
Which version is failing? Could you tell me a last known working version? Show quoted text
> It seems like Net-Pcap mostly ignores a cygwin > environment. Maybe I am doing something wrong, but I had to add one > line to Makefile.PL. > > I added (line 49): > > } elsif ($^O eq 'cygwin') { > > as the line before: > > warn <<"REASON" unless have_library('wpcap', > 'pcap_lib_version', 'pcap'); > > and include INC and LIBS to find stuff at c:/WpdPack > > Configure will not find the pcap_lib_version function, but is happy > with > the library otherwise.
Strange. I thought it was correctly working on Cygwin. But last release was probably before I had a Qemu with a Windows to test Perl modules. I'll have to check that. Show quoted text
> It is very difficult finding information about Net-Pcap under > cygwin, and so > it took me a while to figure what was wrong and how to correct it.
I'm not really surprised by this. I'm not a Cygwin user, or even a Perl/Win32 user, but I guess Net::Pcap is not as used on Cygwin as it is on Unix. Thanks for reporting this problem. -- Sébastien Aperghis-Tramoni Close the world, txEn eht nepO.