PDA

View Full Version : Need some help for show EQ



pooka
07-08-2002, 07:14 PM
Hi guys i'm having some problem while when i try to do these commands

.. code

cd /root/showeq
export CC=gcc-3.0.1 ; export CXX=g++-3.0.1 ; export QTDIR=/usr/lib/qt-2.3.2
make -f Makefile.dist
./configure
make (optional -j2 or -j3)
make install
.. code

i get all these errors about can not find
pcap_open_live


hope some of you can help me solve this problem thank you









[root@localhost showeq]# make -f Makefile.dist && ./configure && make && make install
Adding libtool support...................................... done!
Generating aclocal.m4 from configure.in and acinclude.m4.... done!

Checking Autoheader version................................. done!
>> Using Autoheader version................................. 2.13!

Generating configure template (config.h).................... done!
Generating Makefile.in from Makefile.am..................... done!

Checking Autoconf version................................... done!
>> Using Autoconf version................................... 2.13!

Finalizing Autoconf script (configure)...................... done!
Releasing temporary file handles............................ done!


******************************************
Success! Please type the following:

./configure && make


This will configure and compile ShowEQ...

If you are installing ShowEQ for the first
time, be sure to add '&& make install' to
the end of the compile process...
******************************************

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 whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc3.0.4... no
checking for gcc... gcc
checking for g++3.0.4... no
checking for g++... g++
checking for supported compiler version... no
checking for gcc-3.0... no
checking for gcc3... no
checking for g++-3.0... no
checking for g++3... no
checking alternate compiler for supported compiler version... no
configure: error: You need at least GCC G++ 3.0 or greater to compile ShowEQ
[root@localhost showeq]#
[root@localhost showeq]# export CC=gcc-3.0.1 ; export CXX=g++-3.0.1 ; export QTDIR=/usr/lib/qt-2.3.2
[root@localhost showeq]# make -f Makefile.dist && ./configure && make && make install
Adding libtool support...................................... done!
Generating aclocal.m4 from configure.in and acinclude.m4.... done!

Checking Autoheader version................................. done!
>> Using Autoheader version................................. 2.13!

Generating configure template (config.h).................... done!
Generating Makefile.in from Makefile.am..................... done!

Checking Autoconf version................................... done!
>> Using Autoconf version................................... 2.13!

Finalizing Autoconf script (configure)...................... done!
Releasing temporary file handles............................ done!


******************************************
Success! Please type the following:

./configure && make


This will configure and compile ShowEQ...

If you are installing ShowEQ for the first
time, be sure to add '&& make install' to
the end of the compile process...
******************************************

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 whether make sets ${MAKE}... yes
checking for working aclocal... found
checking for working autoconf... found
checking for working automake... found
checking for working autoheader... found
checking for working makeinfo... found
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc-3.0.1... gcc-3.0.1
checking for g++-3.0.1... g++-3.0.1
checking for supported compiler version... yes
checking for gcc... gcc-3.0.1
checking whether the C compiler (gcc-3.0.1 ) works... yes
checking whether the C compiler (gcc-3.0.1 ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc-3.0.1 accepts -g... yes
checking for c++... g++-3.0.1
checking whether the C++ compiler (g++-3.0.1 ) works... yes
checking whether the C++ compiler (g++-3.0.1 ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether g++-3.0.1 accepts -g... yes
checking how to run the C preprocessor... gcc-3.0.1 -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.1 option to produce PIC... -fPIC
checking if gcc-3.0.1 PIC flag -fPIC works... yes
checking if gcc-3.0.1 static flag -static works... yes
checking if gcc-3.0.1 supports -c -o file.o... yes
checking if gcc-3.0.1 supports -c -o file.lo... yes
checking if gcc-3.0.1 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 -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.[root@localhost showeq]#

fryfrog
07-08-2002, 07:18 PM
libpcap (and perhaps libpcap-devel)

high_jeeves
07-08-2002, 08:35 PM
Please follow the walkthrough, and make sure you have all packages installed..

--Jeeves