unknown build error

Piotr piotrekk at excite.com
Thu Jan 3 03:37:34 PST 2008


is it there any solution to install p5-Net-Pcap from ports without errors ?




 --- On Wed 01/02, Piotr < piotrekk at excite.com > wrote:
From: Piotr [mailto: piotrekk at excite.com]
To: kris at FreeBSD.org
     Cc: freebsd-ports at freebsd.org
Date: Wed,  2 Jan 2008 21:42:29 -0500 (EST)
Subject: Re: unknown build error

# ls -l /usr/local/lib/perl5/5.8.8/mach/Config.pm-r--r--r--  1 root  wheel  2567 Jan  3 03:19 /usr/local/lib/perl5/5.8.8/mach/Config.pmI've done perl-after-upgrade, but now I get the following error:# cd /usr/ports/net/p5-Net-Pcap# make install clean===>  Building for p5-Net-Pcap-0.15_1cc -c    -O2 -fno-strict-aliasing -pipe -O2 -fno-strict-aliasing -pipe    -DVERSION=\"0.15\"  -DXS_VERSION=\"0.15\" -DPIC -fPIC "-I/usr/local/lib/perl5/5.8.8/mach/CORE"  -DHAVE_PCAP_LIST_DATALINKS -DHAVE_BLANK -DHAVE_PCAP_LIB_VERSION Pcap.cIn file included from Pcap.xs:43:stubs.inc:85:2: warning: #warning "the function pcap_findalldevs() is not available, but will be emulated"In file included from Pcap.xs:43:stubs.inc:91: error: redefinition of `struct pcap_if'stubs.inc:113:2: warning: #warning "the function pcap_breakloop() is not available"stubs.inc:127:2: warning: #warning "the function pcap_setnonblock() is not available"stubs.inc:142:2: warning: #warning "the function pcap_getnonblock() is
  
not available"stubs.inc:157:2: warning: #warning "the function pcap_dump_file() is not available"stubs.inc:172:2: warning: #warning "the function pcap_dump_flush() is not available"stubs.inc:202:2: warning: #warning "the function pcap_set_datalink() is not available"stubs.inc:217:2: warning: #warning "the function pcap_datalink_name_to_val() is not available"stubs.inc:232:2: warning: #warning "the function pcap_datalink_val_to_name() is not available"stubs.inc:247:2: warning: #warning "the function pcap_datalink_val_to_description() is not available"stubs.inc:262:2: warning: #warning "the function pcap_compile_nopcap() is not available"stubs.inc:277:2: warning: #warning "the function pcap_get_selectable_fd() is not available"stubs.inc:292:2: warning: #warning "the function pcap_next_ex() is not available"stubs.inc:307:2: warning: #warning "the function pcap_sendpacket() is not available"stubs.inc:322:2: warning: #warning "the function pcap_createsrcstr() is not 
available"stubs.inc:337:2: warning: #warning "the function pcap_parsesrcstr() is not available"stubs.inc:352:2: warning: #warning "the function pcap_open() is not available"stubs.inc:373:2: warning: #warning "the function pcap_setbuff() is not available"stubs.inc:388:2: warning: #warning "the function pcap_setuserbuffer() is not available"stubs.inc:403:2: warning: #warning "the function pcap_setmode() is not available"stubs.inc:418:2: warning: #warning "the function pcap_setmintocopy() is not available"stubs.inc:433:2: warning: #warning "the function pcap_sendqueue_alloc() is not available"stubs.inc:455:2: warning: #warning "the function pcap_sendqueue_destroy() is not available"stubs.inc:469:2: warning: #warning "the function pcap_sendqueue_queue() is not available"stubs.inc:484:2: warning: #warning "the function pcap_sendqueue_transmit() is not available"stubs.inc:499:2: warning: #warning "the function pcap_event() is not available"stubs.inc:514:2: warning: #warning "the 
function pcap_setsampling() is not available"Pcap.c: In function `XS_Net__Pcap_dump_open':Pcap.c:541: warning: cast to pointer from integer of different sizePcap.c: In function `XS_Net__Pcap_setnonblock':Pcap.c:574: warning: cast to pointer from integer of different sizePcap.c: In function `XS_Net__Pcap_getnonblock':Pcap.c:624: warning: cast to pointer from integer of different sizePcap.c: In function `XS_Net__Pcap_dispatch':Pcap.c:676: warning: cast to pointer from integer of different sizePcap.c: In function `XS_Net__Pcap_loop':Pcap.c:724: warning: cast to pointer from integer of different sizePcap.c: In function `XS_Net__Pcap_next':Pcap.c:767: warning: cast to pointer from integer of different sizePcap.c: In function `XS_Net__Pcap_next_ex':Pcap.c:831: warning: cast to pointer from integer of different sizePcap.c: In function `XS_Net__Pcap_dump':Pcap.c:898: warning: cast to pointer from integer of different sizePcap.c: In function `XS_Net__Pcap_compile':Pcap.c:970: warning:
  
cast to pointer from integer of different sizePcap.c: In function `XS_Net__Pcap_setfilter':Pcap.c:1050: warning: cast to pointer from integer of different sizePcap.c:1057: warning: cast to pointer from integer of different sizePcap.c: In function `XS_Net__Pcap_freecode':Pcap.c:1085: warning: cast to pointer from integer of different sizePcap.c: In function `XS_Net__Pcap_breakloop':Pcap.c:1112: warning: cast to pointer from integer of different sizePcap.c: In function `XS_Net__Pcap_close':Pcap.c:1139: warning: cast to pointer from integer of different sizePcap.c: In function `XS_Net__Pcap_dump_close':Pcap.c:1166: warning: cast to pointer from integer of different sizePcap.c: In function `XS_Net__Pcap_dump_file':Pcap.c:1194: warning: cast to pointer from integer of different sizePcap.c: In function `XS_Net__Pcap_dump_flush':Pcap.c:1232: warning: cast to pointer from integer of different sizePcap.c: In function `XS_Net__Pcap_datalink':Pcap.c:1262: warning: cast to pointer from 
integer of different sizePcap.c: In function `XS_Net__Pcap_set_datalink':Pcap.c:1293: warning: cast to pointer from integer of different sizePcap.c: In function `XS_Net__Pcap_snapshot':Pcap.c:1392: warning: cast to pointer from integer of different sizePcap.c: In function `XS_Net__Pcap_is_swapped':Pcap.c:1422: warning: cast to pointer from integer of different sizePcap.c: In function `XS_Net__Pcap_major_version':Pcap.c:1452: warning: cast to pointer from integer of different sizePcap.c: In function `XS_Net__Pcap_minor_version':Pcap.c:1482: warning: cast to pointer from integer of different sizePcap.c: In function `XS_Net__Pcap_perror':Pcap.c:1511: warning: cast to pointer from integer of different sizePcap.c: In function `XS_Net__Pcap_geterr':Pcap.c:1540: warning: cast to pointer from integer of different sizePcap.c: In function `XS_Net__Pcap_file':Pcap.c:1614: warning: cast to pointer from integer of different sizePcap.c: In function `XS_Net__Pcap_fileno':Pcap.c:1652: 
warning: cast to pointer from integer of different sizePcap.c: In function `XS_Net__Pcap_get_selectable_fd':Pcap.c:1682: warning: cast to pointer from integer of different sizePcap.c: In function `XS_Net__Pcap_stats':Pcap.c:1713: warning: cast to pointer from integer of different sizePcap.c: In function `XS_Net__Pcap_setuserbuffer':Pcap.c:1981: warning: cast to pointer from integer of different sizePcap.c: In function `XS_Net__Pcap_setbuff':Pcap.c:2012: warning: cast to pointer from integer of different sizePcap.c: In function `XS_Net__Pcap_setmode':Pcap.c:2043: warning: cast to pointer from integer of different sizePcap.c: In function `XS_Net__Pcap_setmintocopy':Pcap.c:2074: warning: cast to pointer from integer of different sizePcap.c: In function `XS_Net__Pcap_getevent':Pcap.c:2108: warning: cast to pointer from integer of different sizePcap.c: In function `XS_Net__Pcap_sendpacket':Pcap.c:2143: warning: cast to pointer from integer of different sizePcap.c: In function 
`XS_Net__Pcap_sendqueue_queue':Pcap.c:2228: warning: cast to pointer from integer of different sizePcap.c: In function `XS_Net__Pcap_sendqueue_transmit':Pcap.c:2300: warning: cast to pointer from integer of different sizePcap.c:2307: warning: cast to pointer from integer of different size*** Error code 1Stop in /usr/ports/net/p5-Net-Pcap/work/Net-Pcap-0.15.*** Error code 1Stop in /usr/ports/net/p5-Net-Pcap. --- On Wed 01/02, Kris Kennaway < kris at FreeBSD.org > wrote:From: Kris Kennaway [mailto: kris at FreeBSD.org]To: piotrekk at excite.com     Cc: freebsd-ports at freebsd.orgDate: Thu, 03 Jan 2008 03:37:38 +0100Subject: Re: unknown build errorPiotr wrote:> and how is the command to find out the timestamp of this file ?> > > >  --- On Wed 01/02, Kris Kennaway < kris at FreeBSD.org > wrote:> From: Kris Kennaway [mailto: kris at FreeBSD.org]> To: piotrekk at excite.com>      Cc: freebsd-ports at freebsd.org> Date: Thu, 03 Jan 2008 02:52:48 +0100> Subject: Re: unknown build error> > Piotr wrote:> 
which clock you mean ?> > # date> Thu Jan  3 02:41:21 CET 2008> > >  --- On Wed 01/02, Kris Kennaway < kris at FreeBSD.org > wrote:> From: Kris Kennaway [mailto: kris at FreeBSD.org]> To: piotrekk at excite.com>      Cc: freebsd-ports at freebsd.org> Date: Thu, 03 Jan 2008 02:31:25 +0100> Subject: Re: unknown build error> > Piotr wrote:> > # cd /usr/ports/net/p5-Net-Pcap> # make install clean> ===>  Building for p5-Net-Pcap-0.15_1> Makefile out-of-date with respect to /usr/local/lib/perl5/5.8.8/mach/Config.pm /usr/local/lib/perl5/5.8.8/mach/CORE/config.h> Cleaning current config before rebuilding Makefile...> make -f Makefile.old clean > /dev/null 2>&1> /usr/local/bin/perl5.8.8 Makefile.PL "INSTALLDIRS=site" "CC=cc" "CCFLAGS=-O2 -fno-strict-aliasing -pipe " "PREFIX=/usr/local" "INSTALLPRIVLIB=/usr/local/lib" "INSTALLARCHLIB=/usr/local/lib"> looking for -lpcap... yes> checking for pcap_lib_version() in -lpcap... yes> detecting available functions... ok> WARNING: LICENSE is > not a known 
parameter.> Checking if your kit is complete...> Looks good> 'LICENSE' is not a known MakeMaker parameter name.> Writing Makefile for Net::Pcap> ==> Your Makefile has been rebuilt. <==> ==> Please rerun the make command.  <==> false> *** Error code 1> > Stop in /usr/ports/net/p5-Net-Pcap/work/Net-Pcap-0.15.> *** > Error code 1> > Stop in /usr/ports/net/p5-Net-Pcap.This often means your clock is wrong.Kris_______________________________________________freebsd-ports at freebsd.org mailing listhttp://lists.freebsd.org/mailman/listinfo/freebsd-portsTo unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"> > _______________________________________________> Join Excite! - http://www.excite.com> The most personalized portal on the Web!> > >  > Makefile out-of-date with respect to /usr/local/lib/perl5/5.8.8/mach/Config.pmWhat is the timestamp on that file?Kris> > _______________________________________________> Join Excite! - http://www.excite.com> The most personalized 
portal on the Web!> > > ls -l_______________________________________________freebsd-ports at freebsd.org mailing listhttp://lists.freebsd.org/mailman/listinfo/freebsd-portsTo unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"_______________________________________________Join Excite! - http://www.excite.comThe most personalized portal on the Web!_______________________________________________freebsd-ports at freebsd.org mailing listhttp://lists.freebsd.org/mailman/listinfo/freebsd-portsTo unsubscribe, send any mail to "freebsd-ports-unsubscribe at freebsd.org"

_______________________________________________
Join Excite! - http://www.excite.com
The most personalized portal on the Web!




More information about the freebsd-ports mailing list