NetWallah has asked for the wisdom of the Perl Monks concerning the following question:
Here is what some of my woes look like:
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.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" ####
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 : '}'
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Net::RawIP on Win32 - Install problems
by Limbic~Region (Chancellor) on Feb 27, 2004 at 20:45 UTC | |
by NetWallah (Canon) on Feb 27, 2004 at 21:34 UTC | |
by NetWallah (Canon) on Feb 28, 2004 at 01:15 UTC |