Results 1 to 6 of 6

Thread: stumped

  1. #1
    Registered User
    Join Date
    Jan 2002
    Posts
    5

    stumped

    Got gcc3 compiled, did a rpm -q on everything listed that is needed for v4 to compile and have all the correct versions.

    When I ./configure I get an error for pcap_open_live... exact line is this

    checking for pcap_open_live in -lpcap... no
    configure: error: cannot find pcap_open_live in libpcap. Read the INSTALL file.

    Naturally I have read both of the install files, it noted I had to be root while doing this... which I am.

    `rpm -q libpcap` yeilds package libpcap-0.6.2-1 is installed.

    Any help getting over this hump would be greatly appreciated, thanks in advance.

  2. #2
    Registered User
    Join Date
    Dec 2001
    Posts
    411
    libpcap-dev

    install it
    casey AT trifocus DOT net

  3. #3
    Registered User
    Join Date
    Jan 2002
    Posts
    5
    found libcap-devel-1.92... assummed this is the one you mean. Installed it, and libcap-1.92. still same error in same spot.

  4. #4
    Registered User
    Join Date
    Dec 2001
    Posts
    33

    Nope, he means libpcap like he said

    He does mean libpcap like he says.

    The libpcap-devel library isn't included in RedHat 7.2 which is quite strange.

    You can find a SRC.RPM at
    ftp://ftp.redhat.com/pub/redhat/linu....6.2-9.src.rpm
    Rebuild that and you will have the libpcap-devel library built.

    *EDIT* now that I checked the pcap.h file is located in the tcpdump RPM, you should install that one as well.
    */EDIT*

    Good compiling,


    KennySP
    Last edited by KennySP; 01-02-2002 at 03:11 PM.

  5. #5
    Registered User
    Join Date
    Jan 2002
    Posts
    5
    configure working now with libpcap-devel. Now it looks like the same file is the cause of a new problem for me during make. Bombs out at this command:

    pcap --rpath /usr/local/qt/lib --rpath /usr/X11R6/lib

    error is:

    /usr/local/qt/lib: file not recognized: Is a directory
    collect2: ld returned 1 exit status
    make[2]: *** [showeq] Error 1
    make[2]: Leaving directory `/showeq/src`
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/showeq`
    make: *** [all-recursive-am] Error 2


    mandrake 8.1 distro
    gcc3 compiled with no problems

  6. #6
    Registered User Zaphod's Avatar
    Join Date
    Dec 2001
    Posts
    648
    someguy,
    What do the last 20 or so lines of config.log say.

    Enjoy,
    Zaphod (dohpaZ)
    Chief Software Engineer of the Apocalypse.
    http://showeq.doomed.to/
    SourceForge.net user: dohpaz.

    Personal thank you donations are now accepted.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

You may post new threads
You may post replies
You may post attachments
You may edit your posts
HTML code is Off
vB code is On
Smilies are On
[IMG] code is On