PDA

View Full Version : Problems w/ Last Patch Update



Love_My_ShowEq
02-14-2002, 03:48 AM
I would really appreciate some guidance. I am relatively new to Linux and ShowEq (About a week), but managed to install both linux (Readhat 7.2) and showeq (last weeks release version) by following the excellent forum directions. Unfortunately, after the 2/13 patch, I am having trouble w/ ShowEq. I read the instructions on how to Re CVS:

shelled as root...

$ cd showeq
$ make distclean
$ cvs -z3 update
$ make -f makefile.dist
$ ./configure && make
$ make install

It seems to be ok 'till it gets to the make section... tried it a couple of times w/ the same result. Please help. Sorry for the long post. Here's the error message (Note: I only copied from the last section of the text that looked unusual):

-D_REENTRANT -O2 -Wall -g -ggdb -DDEBUG -finline-functions -DQT_THREAD_SU
PPORT=1 -DDISPLAY_ICONS=false -DICON_DIR=\"/eq-icons/\" -c gdbmconv.cpp
/bin/sh ../libtool --mode=link g++3 -D_REENTRANT -O2 -Wall -g -ggdb -DDEBUG -fi
nline-functions -DQT_THREAD_SUPPORT=1 -DDISPLAY_ICONS=false -DICON_DIR=\"/eq-i
cons/\" -o showeq logger.o main.o spawn.o spawnshell.o spawnlist.o spellshell.
o spelllist.o preferences.o m_preferences.o vpacket.o editor.o filter.o m_spawns
hell.o m_spawnlist.o m_spellshell.o m_spelllist.o m_editor.o packet.o m_packet.o
interface.o m_interface.o compass.o m_compass.o map.o m_map.o util.o experience
log.o m_experiencelog.o combatlog.o m_combatlog.o msgdlg.o m_msgdlg.o player.o m
_player.o decode.o m_decode.o skilllist.o m_skilllist.o statlist.o m_statlist.o
filtermgr.o m_filtermgr.o mapcore.o category.o m_category.o compassframe.o m_com
passframe.o group.o m_group.o itemdb.o gdbmconv.o -L/usr/lib/qt-2.3.1/lib -lqt-m
t -lpthread -rpath /usr/lib/qt-2.3.1/lib -rpath /usr/X11R6/lib -lEQ -lgdbm -
lz -lpcap
mkdir .libs
g++3 -D_REENTRANT -O2 -Wall -g -ggdb -DDEBUG -finline-functions -DQT_THREAD_SUPP
ORT=1 -DDISPLAY_ICONS=false -DICON_DIR=\"/eq-icons/\" -o showeq logger.o main.o
spawn.o spawnshell.o spawnlist.o spellshell.o spelllist.o preferences.o m_prefer
ences.o vpacket.o editor.o filter.o m_spawnshell.o m_spawnlist.o m_spellshell.o
m_spelllist.o m_editor.o packet.o m_packet.o interface.o m_interface.o compass.o
m_compass.o map.o m_map.o util.o experiencelog.o m_experiencelog.o combatlog.o
m_combatlog.o msgdlg.o m_msgdlg.o player.o m_player.o decode.o m_decode.o skilll
ist.o m_skilllist.o statlist.o m_statlist.o filtermgr.o m_filtermgr.o mapcore.o
category.o m_category.o compassframe.o m_compassframe.o group.o m_group.o itemdb
.o gdbmconv.o -L/usr/lib/qt-2.3.1/lib -lqt-mt -lpthread -lEQ /usr/lib/libgdbm.s
o -lz -lpcap -Wl,--rpath -Wl,/usr/lib/qt-2.3.1/lib -Wl,--rpath -Wl,/usr/X11R6/li
b
/usr/bin/ld: cannot find -lqt-mt
collect2: ld returned 1 exit status
make[2]: *** [showeq] Error 1
make[2]: Leaving directory `/root/showeq/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/showeq'
make: *** [all-recursive-am] Error 2

fryfrog
02-14-2002, 04:31 AM
i don't see any of your export lines (for q-2.3.2 and for gcc3/gcc-3.0.1). i'm guessing that is the problem.

Love_My_ShowEq
02-14-2002, 11:08 AM
Fryfrog. Thanks for your help. I'm not sure where to look for what you have indicated. Should I uninstall showEq and reinstall it again? If so How does one uninstall a Showeq? If not, perhaps you can advise me some more. Here is the previous section of the screen text (this test plus the previously posted text is the full text output on the shell screen):


[root@Ginger showeq]# ./configure
creating cache ./config.cache
checking host system type... i586-pc-linux-gnu
checking target system type... i586-pc-linux-gnu
checking build system type... i586-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... missing
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... no
checking for cc... no
checking for gcc3... gcc3
checking for g++... no
checking for c++... no
checking for gcc... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for gcc... no
checking for g++3... g++3
checking for supported compiler version... yes
checking for gcc... gcc3
checking whether the C compiler (gcc3 ) works... yes
checking whether the C compiler (gcc3 ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc3 accepts -g... yes
checking for c++... g++3
checking whether the C++ compiler (g++3 ) works... yes
checking whether the C++ compiler (g++3 ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether g++3 accepts -g... yes
checking how to run the C preprocessor... gcc3 -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 gcc3 option to produce PIC... -fPIC
checking if gcc3 PIC flag -fPIC works... yes
checking if gcc3 static flag -static works... yes
checking if gcc3 supports -c -o file.o... yes
checking if gcc3 supports -c -o file.lo... yes
checking if gcc3 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
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.1/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... yes
checking for gdImageCreate in -lgd... yes
checking for gdImagePng in -lgd... yes
checking for inflate in -lz... yes
checking for gdbm_open in -lgdbm... yes
checking how to run the C++ preprocessor... g++3 -E
checking for ANSI C header files... no
checking for deque... yes
checking for size_t... yes
checking whether to build with decryption... yes
checking for InitializeLibEQ in -lEQ... 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
updating cache ./config.cache
creating ./config.status
creating Makefile
creating src/Makefile
creating maps/Makefile
creating conf/Makefile
creating conf.h
Success!
Please run:
make
[root@Ginger showeq]# make
make all-recursive
make[1]: Entering directory `/root/showeq'
Making all in maps
make[2]: Entering directory `/root/showeq/maps'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/root/showeq/maps'
Making all in src
make[2]: Entering directory `/root/showeq/src'
g++3 -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt-2.3.2/include -I. -DMAPDIR=\"/u
sr/local/share/showeq\" -DLOGDIR=\"/usr/local/share/showeq\" -I/usr/include/pcap
-D_REENTRANT -O2 -Wall -g -ggdb -DDEBUG -finline-functions -DQT_THREAD_SU
PPORT=1 -DDISPLAY_ICONS=false -DICON_DIR=\"/eq-icons/\" -c logger.cpp
g++3 -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/lib/qt-2.3.2/include -I. -DMAPDIR=\"/u
sr/local/share/showeq\" -DLOGDIR=\"/usr/local/share/showeq\" -I/usr/include/pcap

fryfrog
02-14-2002, 07:13 PM
type:



export QTDIR=/usr/lib/qt-2.3.2 ; export CC=gcc3 ; export CXX=g++3


right before you do make -f Makefile.dist && ./configure && make && make install

the export line just sets some variables that ./configure and make will use to compile seq. if you look at your original msg, you can see some spots where it was using "qt-2.3.1" for some reason which WON'T work.

Love_My_ShowEq
02-15-2002, 03:11 AM
FryFrog. Thank you again. Your advise helped. The compilation did not error out and seems like it finished ok.

I repeated the whole CVS update set of steps with the additionnal code as suggested. Unfortunately, when I start ShowEQ I get almost no spawns shown on the map. The map displays correctly and all. Spawn list shows what seems the correct information. Players are shown correctly on the player list, the map does not shrink anymore like it was doing before the patch... but I get no spawns displayed on the map! ok.. maybe one or two out of the lot.. . I tried different zones to no avail... sigh... I really miss ShowEq... I had no probs the first time... Mmmm...

Hopefully you can shed some light on this one... Again, thanks a bunch for your time.