Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^4: Need help compiling Net::Pcap on Ubuntu 8.04

by bpa (Novice)
on Jul 22, 2008 at 02:10 UTC ( #699195=note: print w/ replies, xml ) Need Help??


in reply to Re^3: Need help compiling Net::Pcap on Ubuntu 8.04
in thread Need help compiling Net::Pcap on Ubuntu 8.04

Thank you so much for all your help. I have gotten the Net::Packet module working. I just ignored the error from the "make test" step for Net::Pcap because upon further scrutiny, I noticed that it was looking for something that wasn't there:

t/03-openlive.......NOK 13# at t/03-openlive.t line 70. + # 'SIOCGIFHWADDR: No such device' # doesn't match '/^(?:bind|ioctl): (?:No such device)/'

The regular expression seems to be looking only for bind or ioctl instead of the SIOCGIFHWADDR at the begining of the string. I went ahead with the "sudo make install" step and then ran my test packet sniffing script and it worked fine.


Comment on Re^4: Need help compiling Net::Pcap on Ubuntu 8.04
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://699195]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others chilling in the Monastery: (18)
As of 2015-07-02 21:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (45 votes), past polls