Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-13-2003, 02:05 PM   #1
LQ Newbie
Registered: Sep 2003
Location: Bristol, UK
Distribution: Debian (Woody, Sarge and Sid), Smoothwall
Posts: 11

Rep: Reputation: 0
Problem building XQF


I'm trying to compile the latest version of XQF but it seems to be having trouble finding any compilers. Here's what happens when I run the configure script:

toranaga:~/download/xqf-0.9.13$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking for C compiler default output... 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 gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for strerror in -lcposix... no
checking build system type... i686-pc-linux
checking host system type... i686-pc-linux
checking for a sed that does not truncate output... /bin/sed
checking for egrep... 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 whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
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 for g++... no
checking for c++... no
checking for gpp... no
checking for aCC... no
checking for CC... no
checking for cxx... no
checking for cc++... no
checking for cl... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking dependency style of g++... none
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
I've managed to build other programs with no trouble at all but XQF just refuses to work. Does anyone have any ideas?

Old 12-13-2003, 09:38 PM   #2
Registered: Dec 2003
Location: VA
Distribution: Ubuntu
Posts: 193

Rep: Reputation: 30
i had the same problem a couple of days ago, and it turned out to be much simpler than i thought. you simply don't have a c++ compiler installed. i downloaded and installed the gcc2.96-c++ rpm and its dependencies, all which i got from (although i don't know if you can get debian rpms there or not). you might have to install gcc-cpp and gcc2.96-cpp rpms as well, i don't remember if they are necessary. i don't really know much about debian, so you may even have to compile it from source. you should be able to get the source files from:

and here's the post where tinkster explained everything to me and helped me fix this same problem:

although i still haven't been able to compile apollon cause of a qt problem anyway hope this helps
Old 12-14-2003, 03:23 PM   #3
LQ Newbie
Registered: Sep 2003
Location: Bristol, UK
Distribution: Debian (Woody, Sarge and Sid), Smoothwall
Posts: 11

Original Poster
Rep: Reputation: 0
toranaga:/home/simon/download/xqf-0.9.13# /lib/cpp -v
Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.2/specs
Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i486-linux
Thread model: posix
gcc version 3.3.2 (Debian)
 /usr/lib/gcc-lib/i486-linux/3.3.2/cc1 -E -quiet -v -iprefix /lib/../lib/gcc-lib/i486-linux/3.3.2/ -
ignoring nonexistent directory "/lib/gcc-lib/i486-linux/3.3.2/include"
ignoring nonexistent directory "/lib/gcc-lib/i486-linux/3.3.2/../../../../i486-linux/include"
ignoring nonexistent directory "/usr/i486-linux/include"
#include "..." search starts here:
#include <...> search starts here:
toranaga:/home/simon/download/xqf-0.9.13# gcc -v
Reading specs from /usr/lib/gcc-lib/i486-linux/3.3.2/specs
Configured with: ../src/configure -v --enable-languages=c,c++,java,f77,pascal,objc,ada,treelang --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-gxx-include-dir=/usr/include/c++/3.3 --enable-shared --with-system-zlib --enable-nls --without-included-gettext --enable-__cxa_atexit --enable-clocale=gnu --enable-debug --enable-java-gc=boehm --enable-java-awt=xlib --enable-objc-gc i486-linux
Thread model: posix
gcc version 3.3.2 (Debian)
I've installed every version of cpp and gcc I can find but I still get the same error message as before :/


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
XQF and Master server lists Kamikazee Linux - Games 1 10-24-2005 03:53 AM
xqf not getting server info h2gofast Linux - Games 0 01-28-2005 05:16 PM
xqf segmentation fault crane Linux - Games 0 09-19-2004 02:36 PM
XQF Problems with new 2.6.3 Kernel Compile smehi Slackware 0 02-25-2004 04:05 PM
xqf launcher game skinny_p Linux - Games 2 10-24-2003 03:19 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:52 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration