PDA

View Full Version : Error when configuring with PCAP



duane123
05-04-2002, 04:17 PM
After a clean install of mandrake 8.2 and installing qt-2.3.2 i get an error when ./configure showeq.

loading cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking for a BSD compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets ${MAKE}... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc-3.0.4... gcc-3.0.4
checking for g++-3.0.4... g++-3.0.4
checking for supported compiler version... yes
checking for gcc... gcc-3.0.4
checking whether the C compiler (gcc-3.0.4 ) works... yes
checking whether the C compiler (gcc-3.0.4 ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc-3.0.4 accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of gcc-3.0.4... gcc3
checking for c++... g++-3.0.4
checking whether the C++ compiler (g++-3.0.4 ) works... yes
checking whether the C++ compiler (g++-3.0.4 ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether g++-3.0.4 accepts -g... yes
checking dependency style of g++-3.0.4... gcc3
checking how to run the C preprocessor... gcc-3.0.4 -E
checking for working const... yes
checking for a BSD compatible install... /usr/bin/install -c
checking whether ln -s works... yes
checking whether make sets ${MAKE}... (cached) yes
checking for Cygwin environment... no
checking for mingw32 environment... no
checking for ld used by GCC... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking how to recognise dependant libraries... pass_all
checking for object suffix... o
checking for executable suffix... no
checking command to parse /usr/bin/nm -B output... ok
checking for dlfcn.h... yes
checking for ranlib... ranlib
checking for strip... strip
checking for objdir... .libs
checking for gcc-3.0.4 option to produce PIC... -fPIC
checking if gcc-3.0.4 PIC flag -fPIC works... yes
checking if gcc-3.0.4 static flag -static works... yes
checking if gcc-3.0.4 supports -c -o file.o... yes
checking if gcc-3.0.4 supports -c -o file.lo... yes
checking if gcc-3.0.4 supports -fno-rtti -fno-exceptions... yes
checking whether the linker (/usr/bin/ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking whether -lc should be explicitly linked in... no
creating libtool
checking for supported libc version... yes
checking for extra includes... no
checking for extra libs... no
checking for libz... -lz
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
checking for IceConnectionNumber in -lICE... yes
checking for libXext... yes
checking for libpng... -lpng -lz -lm
checking for Qt... yes
>> Found version.: 2.3.2
>>> Headers......: /usr/lib/qt-2.3.2/include/
>>>> Libraries...: /usr/lib/qt-2.3.2/lib/
>>>>> Workable...: -*{ YES }*-
checking for Qt MOC... yes
checking if Qt compiles without flags... no
checking for pthread_create in -lpthread... yes
setting Linux pthread compilation options
checking for pcap_open_live in -lpcap... no
configure: error: cannot find pcap_open_live in libpcap. Read the INSTALL file.

Any thoughts?

Thanks,

Duane

Morannon
05-04-2002, 04:34 PM
Installing libpcap0-devel fixed this for me under Mdk8.1

duane123
05-04-2002, 04:43 PM
libpcap0-devel isnt on my mandrake discs. Know where i can get it?

high_jeeves
05-04-2002, 05:14 PM
Yes it is.. you just have to use some basic critical thinking skills... it is called libpcap0-0.6.2-3mdk for Mandrake 8.2. I'm pretty sure it is on CD #1, but I wont swear to that.. could be #2.

--Jeeves

duane123
05-04-2002, 05:16 PM
Got it...and i couldnt find it on the CD guess my critical thinking skills werent good enough =P got it off rpmfind.net

Thanks for the help