Loading ...
Sorry, an error occurred while loading the content.

installing Net::Pcap module

Expand Messages
  • Earl Eiland
    I m trying to install the Net-Pcap module, and failing. Below is the text returned by make amd make test : [earl@dulcevida Net-Pcap-0.04]$ perl Makefile.PL
    Message 1 of 1 , Dec 30, 2004
    • 0 Attachment
      I'm trying to install the Net-Pcap module, and failing. Below is the
      text returned by "make" amd "make test":

      [earl@dulcevida Net-Pcap-0.04]$ perl Makefile.PL
      Checking if your kit is complete...
      Looks good
      Writing Makefile for Net::Pcap
      [earl@dulcevida Net-Pcap-0.04]$ make
      cp Pcap.pm blib/lib/Net/Pcap.pm
      /usr/bin/perl /usr/lib/perl5/5.8.0/ExtUtils/xsubpp -typemap
      /usr/lib/perl5/5.8.0/ExtUtils/typemap -typemap typemap Pcap.xs >
      Pcap.xsc && mv Pcap.xsc Pcap.c
      gcc -c -D_REENTRANT -D_GNU_SOURCE -DTHREADS_HAVE_PIDS -DDEBUGGING
      -fno-strict-aliasing -I/usr/local/include -D_LARGEFILE_SOURCE
      -D_FILE_OFFSET_BITS=64 -I/usr/include/gdbm -O2 -g -pipe -march=i386
      -mcpu=i686 -DVERSION=\"0.04\" -DXS_VERSION=\"0.04\" -fPIC
      "-I/usr/lib/perl5/5.8.0/i386-linux-thread-multi/CORE" Pcap.cPcap.c:
      In function `XS_Net__Pcap_file':
      Pcap.c:736: warning: passing arg 8 of `Perl_do_open' from incompatible
      pointer type
      Running Mkbootstrap for Net::Pcap ()
      chmod 644 Pcap.bs
      rm -f blib/arch/auto/Net/Pcap/Pcap.so
      LD_RUN_PATH="/usr/lib" gcc -shared -L/usr/local/lib Pcap.o -o
      blib/arch/auto/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
      Manifying blib/man3/Net::Pcap.3pm
      [earl@dulcevida Net-Pcap-0.04]$ make test
      PERL_DL_NONLAZY=1 /usr/bin/perl "-MExtUtils::Command::MM" "-e"
      "test_harness(0,
      'blib/lib', 'blib/arch')" t/*.t
      t/01-module......ok
      t/02-lookup......Use of uninitialized value in string eq at
      t/02-lookup.t line 23.
      Use of uninitialized value in string eq at t/02-lookup.t line 29.
      t/02-lookup......FAILED tests 1-2
      Failed 2/2 tests, 0.00% okay
      t/03-openlive....FAILED tests 1-3
      Failed 3/3 tests, 0.00% okay
      t/04-loop........FAILED test 1
      Failed 1/1 tests, 0.00% okay
      t/05-dump........FAILED test 1
      Failed 1/1 tests, 0.00% okay
      t/06-offline.....FAILED tests 1-4
      Failed 4/4 tests, 0.00% okay
      t/07-stats.......FAILED test 1
      Failed 1/1 tests, 0.00% okay
      t/08-filter......FAILED tests 1-2
      Failed 2/2 tests, 0.00% okay
      t/09-error.......FAILED tests 1-2
      Failed 2/2 tests, 0.00% okay
      t/10-fileno......FAILED tests 1-2
      Failed 2/2 tests, 0.00% okay
      t/11-misc........FAILED tests 1-3
      Failed 3/3 tests, 0.00% okay
      t/12-next........FAILED test 1
      Failed 1/1 tests, 0.00% okay
      t/13-dispatch....FAILED test 1
      Failed 1/1 tests, 0.00% okay
      Failed Test Stat Wstat Total Fail Failed List of Failed
      -------------------------------------------------------------------------------
      t/02-lookup.t 2 2 100.00% 1-2
      t/03-openlive.t 3 3 100.00% 1-3
      t/04-loop.t 1 1 100.00% 1
      t/05-dump.t 1 1 100.00% 1
      t/06-offline.t 4 4 100.00% 1-4
      t/07-stats.t 1 1 100.00% 1
      t/08-filter.t 2 2 100.00% 1-2
      t/09-error.t 2 2 100.00% 1-2
      t/10-fileno.t 2 2 100.00% 1-2
      t/11-misc.t 3 3 100.00% 1-3
      t/12-next.t 1 1 100.00% 1
      t/13-dispatch.t 1 1 100.00% 1
      Failed 12/13 test scripts, 7.69% okay. 23/24 subtests failed, 4.17% okay.
      make: *** [test_dynamic] Error 29

      Suggestions please!
      Earl
    Your message has been successfully submitted and would be delivered to recipients shortly.