Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask

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

by bpa (Novice)
on Jul 22, 2008 at 00:37 UTC ( #699194=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


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 `': 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 t/00-load...........ok + t/01-api............ok + t/02-lookup.........ok + t/03-openlive.......ok 1/14 + # 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 +device' # doesn't match '/^(?:bind|ioctl): (?:No such device)/' # Looks like you failed 1 test of 14. t/03-openlive.......dubious + Test returned status 1 (wstat 256, 0x100) DIED. FAILED test 13 Failed 1/14 tests, 92.86% okay t/04-loop...........ok 1/195

It just hangs there. It looks like maybe it can't find my network device?

Comment on Re^4: Need help compiling Net::Pcap on Ubuntu 8.04
Select or Download Code
Replies are listed 'Best First'.
Re^5: Need help compiling Net::Pcap on Ubuntu 8.04
by alexm (Chaplain) on Jul 22, 2008 at 07:49 UTC

    It seems an error in Net-Pcap-0.14 since I tried Net-Pcap-0.16 and that error is gone. While performing tests as root (needed for several of them), I even got unexpected successful results with 0.16:

    All tests successful (9 subtests UNEXPECTEDLY SUCCEEDED), 9 tests and +93 subtests skipped. Files=30, Tests=1609, 315 wallclock secs ( 1.07 cusr + 0.15 csys = 1 +.22 CPU)

    Please, note that some tests take quite time to finish, hence the 315 wallclock secs.

Re^5: Need help compiling Net::Pcap on Ubuntu 8.04
by Anonymous Monk on Aug 06, 2008 at 15:30 UTC
    you only need to install from synaptic libnet-pcap-perl This package contains Net::Pcap module. Buckaroo. Argentina

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others taking refuge in the Monastery: (4)
As of 2015-11-28 15:41 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (743 votes), past polls