http://www.perlmonks.org?node_id=699195


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.