after setting set CPATH=C:\WpdPack\IncludeWell that, at least, is working - the WpdPack headers are now being found. (Btw, if you ever need to, you can set CPATH to multiple directories by separating them with a ';' same as for the PATH variable.)
If you can contact the Net::Pcap developers and tell them of these errors, they might be able to help.
It looks to me that stubs.inc is in need of some alterations. I would think that the warnings are nothing to worry about, but the 'conflicting types' and 'redefinition' errors are definite showstoppers.
I would go through stubs.inc and comment out (or remove) the code that's giving rise to these errors, but I couldn't guarantee that's the correct approach and I'm not in a position to try it out for myself.
Then, when stubs.inc has been fixed, build the module manually (ie not using cpan) as already detailed.
It looks like this bug (or something very similar) in the Net::Pcap source
has already been reported about nine months ago .... getting assistance from the developer(s) is looking a bit unlikely. If you do try amending stubs.inc, and it works, you might like to update that bug report with the solution.
Cheers,
Rob
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.