PDA

View Full Version : stumped



somguy
01-02-2002, 01:55 PM
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.

casey
01-02-2002, 02:38 PM
libpcap-dev

install it

somguy
01-02-2002, 03:01 PM
found libcap-devel-1.92... assummed this is the one you mean. Installed it, and libcap-1.92. still same error in same spot.

KennySP
01-02-2002, 03:08 PM
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/linux/rawhide/SRPMS/SRPMS/tcpdump-3.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

somguy
01-02-2002, 04:13 PM
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

Zaphod
01-02-2002, 09:54 PM
someguy,
What do the last 20 or so lines of config.log say.

Enjoy,
Zaphod (dohpaZ)