PDA

View Full Version : Error compiling Showeq



steve___
06-11-2007, 05:23 PM
I use Sabayon 3.4 loop2b on the machine I am installing showeq, which is based on Gentoo. I have tried to emerge showeq, which wants to give me 5.6, and I have also downloaded the lastest 5.9 through this site. Either way, I get the same error message. Below is the output from emerge, which is the same result as if I make the latest source. Does anybody have an idea what is causing this?

# emerge showeq
Calculating dependencies... done!
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) games-util/showeq-5.6.0.0 to /
* showeq-5.6.0.0.tar.bz2 RMD160 ;-) ... [ ok ]
* showeq-5.6.0.0.tar.bz2 SHA1 ;-) ... [ ok ]
* showeq-5.6.0.0.tar.bz2 SHA256 ;-) ... [ ok ]
* showeq-5.6.0.0.tar.bz2 size ;-) ... [ ok ]
* checking ebuild checksums ;-) ... [ ok ]
* checking auxfile checksums ;-) ... [ ok ]
* checking miscfile checksums ;-) ... [ ok ]
* checking showeq-5.6.0.0.tar.bz2 ;-) ... [ ok ]
>>> Unpacking source...
>>> Unpacking showeq-5.6.0.0.tar.bz2 to /var/tmp/portage/games-util/showeq-5.6.0.0/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/games-util/showeq-5.6.0.0/work/showeq-5.6.0.0 ...
* econf: updating showeq-5.6.0.0/config.guess with /usr/share/gnuconfig/config.guess
* econf: updating showeq-5.6.0.0/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --prefix=/usr/games --libdir=/usr/games/lib64 --datadir=/usr/share/games --sysconfdir=/etc/games --localstatedir=/var/games --disable-dependency-tracking --disable-debug --disable-optimization --build=x86_64-pc-linux-gnu
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-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 x86_64-pc-linux-gnu-doxygen... no
checking for doxygen... /usr/bin/doxygen
checking for x86_64-pc-linux-gnu-perl... no
checking for perl... /usr/bin/perl
checking for x86_64-pc-linux-gnu-dot... no
checking for dot... /usr/bin/dot
checking for gcc... gcc
checking for g++... g++
checking for supported compiler version... checking for style of include used by make... GNU
checking for x86_64-pc-linux-gnu-g++... g++
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++... none
yes
checking for x86_64-pc-linux-gnu-gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking dependency style of gcc... none
checking for x86_64-pc-linux-gnu-g++... (cached) g++
checking whether we are using the GNU C++ compiler... (cached) yes
checking whether g++ accepts -g... (cached) yes
checking dependency style of g++... (cached) none
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 egrep... grep -E
checking for ld used by gcc... /usr/x86_64-pc-linux-gnu/bin/ld
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld) is GNU ld... yes
checking for /usr/x86_64-pc-linux-gnu/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 x86_64-pc-linux-gnu-g77... no
checking for x86_64-pc-linux-gnu-f77... no
checking for x86_64-pc-linux-gnu-xlf... no
checking for x86_64-pc-linux-gnu-frt... no
checking for x86_64-pc-linux-gnu-pgf77... no
checking for x86_64-pc-linux-gnu-fort77... no
checking for x86_64-pc-linux-gnu-fl32... no
checking for x86_64-pc-linux-gnu-af77... no
checking for x86_64-pc-linux-gnu-f90... no
checking for x86_64-pc-linux-gnu-xlf90... no
checking for x86_64-pc-linux-gnu-pgf90... no
checking for x86_64-pc-linux-gnu-epcf90... no
checking for x86_64-pc-linux-gnu-f95... no
checking for x86_64-pc-linux-gnu-fort... no
checking for x86_64-pc-linux-gnu-xlf95... no
checking for x86_64-pc-linux-gnu-ifc... no
checking for x86_64-pc-linux-gnu-efc... no
checking for x86_64-pc-linux-gnu-pgf95... no
checking for x86_64-pc-linux-gnu-lf95... no
checking for x86_64-pc-linux-gnu-gfortran... x86_64-pc-linux-gnu-gfortran
checking whether we are using the GNU Fortran 77 compiler... yes
checking whether x86_64-pc-linux-gnu-gfortran 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 x86_64-pc-linux-gnu-ar... x86_64-pc-linux-gnu-ar
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking for x86_64-pc-linux-gnu-strip... x86_64-pc-linux-gnu-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/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... 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/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64
checking if the linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) is GNU ld... yes
checking whether the g++ linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) 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/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... 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 x86_64-pc-linux-gnu-gfortran option to produce PIC... -fPIC
checking if x86_64-pc-linux-gnu-gfortran PIC flag -fPIC works... yes
checking if x86_64-pc-linux-gnu-gfortran static flag -static works... yes
checking if x86_64-pc-linux-gnu-gfortran supports -c -o file.o... yes
checking whether the x86_64-pc-linux-gnu-gfortran linker (/usr/x86_64-pc-linux-gnu/bin/ld -m elf_x86_64) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking for supported libc version... yes
checking for X... libraries /usr/lib64, 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.8
>>> Headers......: /usr/qt/3/include/
>>>> Libraries...: /usr/qt/3/lib64/
>>>> 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... 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 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... no
checking whether to build with optimization enabled... no
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: executing depfiles commands
Success!
Please run:
make
Making all in src
main.cpp: In function ‘void displayVersion()’:
main.cpp:768: error: ‘UTS_RELEASE’ was not declared in this scope
/usr/qt/3/include/qxml.h:224: warning: ‘class QXmlReader’ has virtual functions but non-virtual destructor
/usr/qt/3/include/qxml.h:407: warning: ‘class QXmlContentHandler’ has virtual functions but non-virtual destructor
/usr/qt/3/include/qxml.h:424: warning: ‘class QXmlErrorHandler’ has virtual functions but non-virtual destructor
/usr/qt/3/include/qxml.h:433: warning: ‘class QXmlDTDHandler’ has virtual functions but non-virtual destructor
/usr/qt/3/include/qxml.h:441: warning: ‘class QXmlEntityResolver’ has virtual functions but non-virtual destructor
/usr/qt/3/include/qxml.h:448: warning: ‘class QXmlLexicalHandler’ has virtual functions but non-virtual destructor
/usr/qt/3/include/qxml.h:461: warning: ‘class QXmlDeclHandler’ has virtual functions but non-virtual destructor
filter.cpp: In constructor ‘FilterItem::FilterItem(const QString&, bool)’:
filter.cpp:126: warning: large integer implicitly truncated to unsigned type
make[2]: *** [main.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

!!! ERROR: games-util/showeq-5.6.0.0 failed.
Call stack:
ebuild.sh, line 1621: Called dyn_compile
ebuild.sh, line 973: Called qa_call 'src_compile'
ebuild.sh, line 44: Called src_compile
showeq-5.6.0.0.ebuild, line 26: Called die

!!! emake failed
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/games-util/showeq-5.6.0.0/temp/build.log'.

purple
06-11-2007, 05:26 PM
Search for UTS_RELEASE and you'll find a solution on these forums. Newish kernel versions remove UTS_RELEASE from the exported header files. Some distributions put it back in, some don't.

Note that showeq is currently non-functional against live servers.

steve___
06-11-2007, 05:27 PM
Thanks for the quick reply. I will look that up. Will old versions function on live servers?

bonkersbobcat
06-11-2007, 05:36 PM
Nope, the data stream between the EQ client and servers has changed. No versions of SEQ understand the current data stream.

uRit1u2CBBA=
06-11-2007, 11:48 PM
Though doing an "emerge showeq" was a good thing to do - that made sure that you had all of the required components installed before trying to do the install. I've tried keeping portage up to date, but they don't concider a release "stable" for 30 days after submission. By then, it's likely out of date.

Maybe the next major release once things are running again, I'll try to update it, but for now, the way you did it is just fine.