mounter Napisano Marzec 27, 2005 Zgłoszenie Share Napisano Marzec 27, 2005 Od dluzszego czasu probuje zanistalowac modul do perla, ktorego wymagaja wtyczki do nagiosa. Dokladnie chodzi, o wtyczke check_arping.pl. Tak wiec skonfigurowalem CPAN i kiedy instaluje modul wyplowa mi cos takiego: cpan> install Net::Arping CPAN: Storable loaded ok Going to read /root/.cpan/Metadata Database was generated on Sun, 27 Mar 2005 03:55:34 GMT Running install for module Net::Arping Running make for R/RI/RIIKI/Net-Arping-0.02.tar.gz CPAN: Digest::MD5 loaded ok CPAN: Compress::Zlib loaded ok Checksum for /root/.cpan/sources/authors/id/R/RI/RIIKI/Net-Arping-0.02.tar.gz ok Scanning cache /root/.cpan/build for sizes Net-Arping-0.02/ Net-Arping-0.02/README Net-Arping-0.02/Makefile.PL Net-Arping-0.02/Changes Net-Arping-0.02/Arping.xs Net-Arping-0.02/MANIFEST Net-Arping-0.02/Arping.pm Net-Arping-0.02/test.pl Removing previously used /root/.cpan/build/Net-Arping-0.02 CPAN.pm: Going to build R/RI/RIIKI/Net-Arping-0.02.tar.gz Checking if your kit is complete... Looks good Writing Makefile for Net::Arping cp Arping.pm blib/lib/Net/Arping.pm /usr/bin/perl /usr/lib/perl5/5.8.5/ExtUtils/xsubpp -typemap /usr/lib/perl5/5.8.5/ExtUtils/typemap Arping.xs > Arping.xsc && mv Arping.xsc Arping.c Please specify prototyping behavior for Arping.xs (see perlxs manual) gcc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING -fno-strict-aliasing -pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -m32 -march=i386 -mtune=pentium4 -DVERSION=\"0.02\" -DXS_VERSION=\"0.02\" -fPIC "-I/usr/lib/perl5/5.8.5/i386-linux-thread-multi/CORE" INC Arping.c gcc: INC: Nie ma takiego pliku ani katalogu Arping.xs: In function `XS_Net__Arping_send_arp': Arping.xs:124: warning: passing arg 1 of `libnet_select_device' from incompatible pointer type Arping.xs:124: error: too many arguments to function `libnet_select_device' Arping.xs:130: warning: assignment makes pointer from integer without a cast Arping.xs:140: error: `LIBNET_IP_H' undeclared (first use in this function) Arping.xs:140: error: (Each undeclared identifier is reported only once Arping.xs:140: error: for each function it appears in.) Arping.xs:148: error: too many arguments to function `libnet_get_hwaddr' Arping.xs:148: warning: assignment from incompatible pointer type Arping.xs:153: error: dereferencing pointer to incomplete type Arping.xs:156: warning: passing arg 6 of `libnet_build_ethernet' from incompatible pointer type Arping.xs:156: error: too few arguments to function `libnet_build_ethernet' Arping.xs:161: warning: passing arg 12 of `libnet_build_arp' from incompatible pointer type Arping.xs:161: error: too few arguments to function `libnet_build_arp' make: *** [Arping.o] Błąd 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 Nie wiem jak sobie z tym poradzic, a jest mi to bardzo potrzebne. Spotkal sie moze ktos z takim problemem?? Odnośnik do komentarza Udostępnij na innych stronach More sharing options...
Rekomendowane odpowiedzi
Jeśli chcesz dodać odpowiedź, zaloguj się lub zarejestruj nowe konto
Jedynie zarejestrowani użytkownicy mogą komentować zawartość tej strony.
Zarejestruj nowe konto
Załóż nowe konto. To bardzo proste!
Zarejestruj sięZaloguj się
Posiadasz już konto? Zaloguj się poniżej.
Zaloguj się