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
Thanks again. I had wondered about whether the warnings were really critical or not, so thanks for that. I usually never sudo until the install step, and most of the time it is fine, except in this case I got the error:
touch: cannot touch `Pcap.bs': Permission denied
when running make, so that is why I used sudo. After that I just got somewhat paranoid that maybe not being root was causing some of my problems, and I just decided to sudo with everything figuring it couldn't hurt.
I took you suggestion to go ahead and run "make test" and I get the following:
PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e" "test_h
+arness(0, 'blib/lib', 'blib/arch')" t/*.t
t/00-load...........# Testing Net::Pcap 0.14 under Perl 5.008008
# Failed test ' - $err must be set: SIOCGIFHWADDR: No such device'
# at t/03-openlive.t line 70.
t/03-openlive.......NOK 13# 'SIOCGIFHWADDR: No such
# doesn't match '/^(?:bind|ioctl): (?:No such device)/'
# Looks like you failed 1 test of 14.
Test returned status 1 (wstat 256, 0x100)
DIED. FAILED test 13
Failed 1/14 tests, 92.86% okay
It just hangs there. It looks like maybe it can't find my network device?