PDA

View Full Version : ok redid my ubuntu box



eqhunter
02-04-2007, 09:16 PM
ok I reformated my HD and installed Ubuntu 6.10.

I like to do this the hard way with the tarball so I did the download and dropped the files in the temp dir that Im using

Now I get the config to work but the make crashes.

As always hope someone can tell me why.

there are s few things that pop up not sure why but thats it.



fred@edgy-ga-m55plus:~$ sudo -i
Password:
root@edgy-ga-m55plus:~# cd ..
root@edgy-ga-m55plus:/# cd /home/fred/downloads/showeq-5.7.0.0
root@edgy-ga-m55plus:/home/fred/downloads/showeq-5.7.0.0# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target 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 doxygen... /usr/bin/doxygen
checking for perl... /usr/bin/perl
checking for dot... no
configure: WARNING: dot not found - will not generate graphics for doxygen documentation
checking for gcc... gcc
checking for g++... g++
checking for supported compiler version... checking for style of include used by make... GNU
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
yes
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for an ANSI C-conforming 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 a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
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 dependent libraries... pass_all
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking how to run the C++ preprocessor... g++ -E
checking for g77... g77
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether g77 accepts -g... yes
checking the maximum length of command line arguments... 32768
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking for correct ltmain.sh version... yes
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... cat: /etc/ld.so.conf.d/*.conf: No such file or directory
GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... cat: /etc/ld.so.conf.d/*.conf: No such file or directory
GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for g77 option to produce PIC... -fPIC
checking if g77 PIC flag -fPIC works... yes
checking if g77 static flag -static works... yes
checking if g77 supports -c -o file.o... yes
checking whether the g77 linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... cat: /etc/ld.so.conf.d/*.conf: No such file or directory
GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for supported libc version... yes
checking for X... libraries , headers
checking for IceConnectionNumber in -lICE... yes
checking for libXext... yes
checking for extra includes... no
checking for extra libs... no
checking for libz... -lz
checking for libpng... -lpng -lz -lm
checking for Qt... yes
>> Found version.: 3.3.6
>>> Headers......: /usr/include/qt3/
>>>> Libraries...: /usr/lib/
>>>> Documentation...: Unable to locate?!?
configure: WARNING: Qt documenation not installed?!
>>>>> Workable...: -*{ YES }*-
checking for Qt MOC... yes
checking for Qt UIC... yes
checking if Qt compiles without flags... yes
checking for pthread_create in -lpthread... yes
setting Linux pthread compilation options
checking for pcap_open_live in -lpcap... yes
checking for gdImageCreate in -lgd... no
checking for gdImagePng in -lgd... no
checking for inflate in -lz... yes
checking for gdbm_open in -lgdbm... yes
checking for ANSI C header files... (cached) yes
checking deque usability... yes
checking deque presence... yes
checking for deque... yes
checking for size_t... yes
checking whether to enable debugging code and flags... yes
checking whether to build with optimization enabled... yes
checking whether to build with code inlined... yes
checking whether to build with profiling... no
checking whether to build with Berkeley DB3... no
checking whether to build for use with the test server... no
checking for rpath... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating conf/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
Success!
Please run:
make
root@edgy-ga-m55plus:/home/fred/downloads/showeq-5.7.0.0# make
make all-recursive
make[1]: Entering directory `/home/fred/downloads/showeq-5.7.0.0'
Making all in src
make[2]: Entering directory `/home/fred/downloads/showeq-5.7.0.0/src'
if g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include/qt3 -I. -DPKGDATADIR=\"/usr/local/share/showeq/\" -I/usr/include/pcap -D_REENTRANT -O2 -Wall -g -ggdb -DDEBUG -finline-functions -DQT_THREAD_SUPPORT=1 -DDISPLAY_ICONS=false -DICON_DIR=\"/eq-icons/\" -g -O2 -MT packetcapture.o -MD -MP -MF ".deps/packetcapture.Tpo" -c -o packetcapture.o packetcapture.cpp; \
then mv -f ".deps/packetcapture.Tpo" ".deps/packetcapture.Po"; else rm -f ".deps/packetcapture.Tpo"; exit 1; fi
packetcapture.cpp: In member function ‘void PacketCaptureThread::start(const char*, const char*, bool, uint8_t)’:
packetcapture.cpp:98: error: invalid conversion from ‘const char*’ to ‘char*’
packetcapture.cpp:98: error: initializing argument 1 of ‘int pcap_lookupnet(char*, bpf_u_int32*, bpf_u_int32*, char*)’
packetcapture.cpp: In member function ‘void PacketCaptureThread::setFilter(const char*, const char*, bool, uint8_t, uint16_t, uint16_t)’:
packetcapture.cpp:431: error: invalid conversion from ‘const char*’ to ‘char*’
packetcapture.cpp:431: error: initializing argument 1 of ‘int pcap_lookupnet(char*, bpf_u_int32*, bpf_u_int32*, char*)’
make[2]: *** [packetcapture.o] Error 1
make[2]: Leaving directory `/home/fred/downloads/showeq-5.7.0.0/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/fred/downloads/showeq-5.7.0.0'
make: *** [all] Error 2
root@edgy-ga-m55plus:/home/fred/downloads/showeq-5.7.0.0#

purple
02-05-2007, 07:50 AM
What version of pcap is in your ubuntu install? That's a pcap compatibility thing. There's been a thread about it before.

eqhunter
02-05-2007, 11:54 AM
thanks purple i'll search for that