Installation failed for Net::Pcap. Warnings mentioned in build.log about not available of list of functions. There are 17 warnings and i'm not able to proceed without installing Net::Pcap, please help.

./stubs.inc:187:2: warning: "the function pcap_list_datalinks() is not + available" [-W#warnings] #warning "the function pcap_list_datalinks() is not available"
./stubs.inc:322:2: warning: "the function pcap_createsrcstr() is not a +vailable" [-W#warnings] #warning "the function pcap_createsrcstr() is not available"
17 warnings generated. rm -f blib/arch/auto/Net/Pcap/Pcap.bundle LD_RUN_PATH="/usr/lib" env MACOSX_DEPLOYMENT_TARGET=10.3 cc -bundle - +undefined dynamic_lookup -fstack-protector Pcap.o -o blib/arch/auto/ +Net/Pcap/Pcap.bundle \ -lpcap \ chmod 755 blib/arch/auto/Net/Pcap/Pcap.bundle /Users/....../perl5/perlbrew/perls/perl-5.20.0/bin/perl -MExtUtils::Co +mmand::MM -e 'cp_nonempty' -- Pcap.bs blib/arch/auto/Net/Pcap/Pcap.bs + 644 cp bin/pcapinfo blib/script/pcapinfo /Users/....../perl5/perlbrew/perls/perl-5.20.0/bin/perl -MExtUtils::MY + -e 'MY->fixin(shift)' -- blib/script/pcapinfo Manifying blib/man1/pcapinfo.1 Manifying blib/man3/Net::Pcap.3 Running Mkbootstrap for Net::Pcap () chmod 644 Pcap.bs PERL_DL_NONLAZY=1 /Users/......../perl5/perlbrew/perls/perl-5.20.0/bin +/perl "-MExtUtils::Command::MM" "-MTest::Harness" "-e" "undef *Test:: +Harness::Switches; test_harness(0, 'blib/lib', 'blib/arch')" t/*.t # Testing Net::Pcap 0.17 (libpcap version 1.3.0 - Apple version 41) un +der Perl 5.020000

In reply to Installation failure for Net::Pcap PM by waytoperl

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.