I'm having trouble trying to install Net-RawIP-0.1 on Windows XP. Does anyone (Podmaster?) have a binary distribution I can use ? I get the same issues with the older 0.09b version.

Here is what some of my woes look like:

F:\download\Programming\Perl\Net-RawIP-0.1>perl Makefile.PL Sorry,ethernet related methods are not implemented on this system Sorry, the ifaddrlist function is not imlemented on this system Sorry, the rdev function is not imlemented on this system Note (probably harmless): No library found for '-lpcap' Writing Makefile for Net::RawIP F:\download\Programming\Perl\Net-RawIP-0.1>nmake test Microsoft (R) Program Maintenance Utility Version 7.00.9466 Copyright (C) Microsoft Corporation. All rights reserved. cl -c -nologo -Gf -W3 -MD -Zi -DNDEBUG -O1 -DWIN32 -D_CONSO +LE -DNO_STRICT -DHAVE_DES_FCRY PT -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -DUSE_PERLIO -DPERL_MSV +CRT_READFIX -MD -Zi -DNDEBUG - O1 -DVERSION=\"0.1\" -DXS_VERSION=\"0.1\" "-IG:\Perl\lib\CORE" +RawIP.c RawIP.c RawIP.xs(31) : fatal error C1083: Cannot open include file: 'sys/cdefs +.h': No such file or directory NMAKE : fatal error U1077: 'cl' : return code '0x2' Stop. #### Same error on "nmake install" ####
OK - so I created the 'sys/cdefs.h' by copying the source from cygwin, then it complained about 'pcap.h'. I got that from the pcap distribution, and now it wants 'sys/time.h'. and this:
f:\download\Programming\Perl\Net-RawIP-0.09b\ifaddrlist.h(3) : error C +2061: syntax error : identifier 'u_int32_t' f:\download\Programming\Perl\Net-RawIP-0.09b\ifaddrlist.h(6) : error C +2059: syntax error : '}'

"Experience is a wonderful thing. It enables you to recognize a mistake when you make it again."

In reply to Net::RawIP on Win32 - Install problems by NetWallah

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.