[Roma.pm] Net::RawIp

LordOfDeath webmaster.staff at gmail.com
Sat Jan 6 09:58:09 PST 2007


Paolo Lulli ha scritto:
> Che cosa ti dice se installi facendo, da riga di comando:
>
> perl  -MCPAN -e 'install Net::RawIP'
>   
io faccio così:
cpan install Net::RawIP cerca di risolvere tutte le dipendenze di 
moduli, con una macchina debian non riesce a risolvere la dipendenza 
XML:Parse (???? non capisco perchè gli serva) e praticamente si ferma 
lì.....


invece con un altra macchina debian da errori di compilazxione...
ger without a cast
RawIP.c: In function `XS_Net__RawIP_close':
RawIP.c:1902: error: `pcap_t' undeclared (first use in this function)
RawIP.c:1902: error: `p' undeclared (first use in this function)
RawIP.c:1902: error: syntax error before ')' token
RawIP.c: In function `XS_Net__RawIP_dump_close':
RawIP.c:1916: error: `pcap_dumper_t' undeclared (first use in this function)
RawIP.c:1916: error: `p' undeclared (first use in this function)
RawIP.c:1916: error: syntax error before ')' token
RawIP.c: In function `XS_Net__RawIP_file':
RawIP.c:1930: error: `pcap_t' undeclared (first use in this function)
RawIP.c:1930: error: `p' undeclared (first use in this function)
RawIP.c:1930: error: syntax error before ')' token
RawIP.c:1933: warning: assignment makes pointer from integer without a cast
make: *** [RawIP.o] Error 1
  /usr/bin/make  -- NOT OK
Running make test
  Can't test without successful make
Running make install
  make had returned bad status, install seems impossible

> (?)
>
> Su windows... è un sistemaccio, ma se ti installi MINGW (MSYS)
> http://www.mingw.org/download.shtml
>
>   
con active per ho provato con ppm ma addirittura non lo trovava nei 
repository, ora proverò con MSYS, altrimenti usavo cygwin ma è troppo 
pesante :)
> con tutti i pacchetti di sviluppo, puoi ricompilare ciò che vuoi e
> usarlo come se fossi sulla commandline del tuo unix di fiducia... il
> tutto sta in qualche decina di mega, ottimo da mettere su chiave USB.
>
> Ciao,
> blacksheep
> _______________________________________________
> Roma mailing list
> Roma at pm.org
> http://mail.pm.org/mailman/listinfo/roma
>
>   
Grazie mille :)
ciau!


More information about the Roma mailing list