LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-09-2008, 08:21 PM   #1
unixshell101
Member
 
Registered: May 2006
Distribution: Fedora Core 5
Posts: 86

Rep: Reputation: 15
Angry Net::pcap installing prob


root@localhost Net-Pcap-0.16]# perl Makefile.PL
looking for -lpcap... yes
checking for pcap_lib_version() in -lpcap... yes
detecting available functions... ok
Writing Makefile for Net::Pcap
[root@localhost Net-Pcap-0.16]# make
cc -c -Wall -Wwrite-strings -O2 -DVERSION=\"0.16\"
-DXS_VERSION=\"0.16\" -fP
IC
"-I/usr/local/lib/perl5/5.10.0/i686-linux-thread-multi/CORE"
-DHAVE_BLANK -D
HAVE_PCAP_LIB_VERSION -DHAVE_PCAP_BREAKLOOP
-DHAVE_PCAP_COMPILE_NOPCAP -DHAVE_PC
AP_DATALINK_NAME_TO_VAL
-DHAVE_PCAP_DATALINK_VAL_TO_DESCRIPTION
-DHAVE_PCAP_DATA
LINK_VAL_TO_NAME -DHAVE_PCAP_DUMP_FILE
-DHAVE_PCAP_DUMP_FLUSH -DHAVE_PCAP_FINDAL
LDEVS -DHAVE_PCAP_GETNONBLOCK
-DHAVE_PCAP_GET_SELECTABLE_FD -DHAVE_PCAP_LIB_VERS
ION -DHAVE_PCAP_NEXT_EX -DHAVE_PCAP_OPEN_DEAD
-DHAVE_PCAP_SENDPACKET -DHAVE_PCAP
_SETNONBLOCK -DHAVE_PCAP_SET_DATALINK Pcap.c
In file included from Pcap.xs:43:
stubs.inc:187:2: warning: #warning "the function
pcap_list_datalinks() is not av
ailable"
stubs.inc:322:2: warning: #warning "the function
pcap_createsrcstr() is not avai
lable"
stubs.inc:337:2: warning: #warning "the function
pcap_parsesrcstr() is not avail
able"
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 ava
ilable"
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 avai
lable"
stubs.inc:433:2: warning: #warning "the function
pcap_sendqueue_alloc() is not a
vailable"
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 a
vailable"
stubs.inc:484:2: warning: #warning "the function
pcap_sendqueue_transmit() is no
t 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 avail
able"
Pcap.xs: In function ‘callback_wrapper’:
Pcap.xs:57: warning: pointer targets in passing
argument 2 of ‘Perl_newSVpv’ dif
fer in signedness
Pcap.xs:62: warning: value computed is not used
Pcap.xs:63: warning: value computed is not used
Pcap.xs:64: warning: value computed is not used
Pcap.xs:65: warning: value computed is not used
Pcap.xs: In function ‘XS_Net__Pcap_findalldevs_xs’:
Pcap.xs:196: warning: value computed is not used
Pcap.xs:199: warning: value computed is not used
Pcap.xs:202: warning: value computed is not used
Pcap.xs:220: warning: value computed is not used
Pcap.xs:222: warning: value computed is not used
Pcap.xs: In function ‘XS_Net__Pcap_next’:
Pcap.xs:447: warning: value computed is not used
Pcap.xs:448: warning: value computed is not used
Pcap.xs:449: warning: value computed is not used
Pcap.xs:450: warning: value computed is not used
Pcap.xs: In function ‘XS_Net__Pcap_next_ex’:
Pcap.xs:489: warning: value computed is not used
Pcap.xs:490: warning: value computed is not used
Pcap.xs:491: warning: value computed is not used
Pcap.xs:492: warning: value computed is not used
Pcap.xs:494: warning: pointer targets in passing
argument 3 of ‘Perl_sv_setpvn’
differ in signedness
Pcap.xs: In function ‘XS_Net__Pcap_dump’:
Pcap.xs:553: warning: pointer targets in passing
argument 3 of ‘pcap_dump’ diffe
r in signedness
Pcap.c: In function ‘XS_Net__Pcap_strerror’:
Pcap.c:1572: warning: assignment discards qualifiers
from pointer target type
Pcap.xs: In function ‘XS_Net__Pcap_stats’:
Pcap.xs:742: warning: value computed is not used
Pcap.xs:744: warning: value computed is not used
Pcap.xs:746: warning: value computed is not used
Pcap.xs: In function ‘XS_Net__Pcap_sendpacket’:
Pcap.xs:963: warning: pointer targets in passing
argument 2 of ‘pcap_sendpacket’
differ in signedness
Pcap.c: In function ‘boot_Net__Pcap’:
Pcap.c:2335: warning: initialization discards
qualifiers from pointer target typ
e
Running Mkbootstrap for Net::Pcap ()
chmod 644 Pcap.bs
rm -f blib/arch/auto/Net/Pcap/Pcap.so
LD_RUN_PATH="/usr/lib" cc -shared -O2
-L/usr/local/lib Pcap.o -o blib/arch/aut
o/Net/Pcap/Pcap.so
\
-lpcap \

chmod 755 blib/arch/auto/Net/Pcap/Pcap.so
cp Pcap.bs blib/arch/auto/Net/Pcap/Pcap.bs
chmod 644 blib/arch/auto/Net/Pcap/Pcap.bs
cp bin/pcapinfo blib/script/pcapinfo
/usr/local/bin/perl "-MExtUtils::MY" -e
"MY->fixin(shift)" blib/script/pcapinfo
Manifying blib/man1/pcapinfo.1
Manifying blib/man3/Net::Pcap.3


make test
PERL_DL_NONLAZY=1 /usr/local/bin/perl
"-MExtUtils::Command::MM" "-e" "test_harness(0,
'blib/lib', 'blib/arch')" t/*.t
t/00-load..................ok 1/1# Testing Net::Pcap
0.16 under Perl 5.010000
t/00-load..................ok
t/01-api...................ok
t/02-lookup................ok
23/45 skipped: various reasons
t/03-openlive..............ok
4/14 skipped: various reasons
t/04-loop..................ok 1/195









Does anyone know what is going on here with the errors?
 
Old 03-10-2008, 09:57 AM   #2
unixshell101
Member
 
Registered: May 2006
Distribution: Fedora Core 5
Posts: 86

Original Poster
Rep: Reputation: 15
Smile

I like to get this to install.But is there a way i can get this to install?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't install Net::Pcap SlackN00b Slackware 11 02-25-2008 07:40 PM
WEPCrack and Can't locate Net/Pcap.pm jimdaworm SUSE / openSUSE 4 03-22-2006 12:31 PM
Perl Net::Pcap install hang at loop test Bluesuperman Programming 1 08-17-2005 10:39 AM
net prob HisteriX Slackware 2 02-19-2005 05:19 PM
libpcap.so.0 is needed by perl-Net-Pcap-0.04-5 r4736 Linux - Software 8 10-18-2003 03:04 PM


All times are GMT -5. The time now is 09:22 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration