LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Problem building XQF (https://www.linuxquestions.org/questions/linux-software-2/problem-building-xqf-125543/)

pointdexter 12-13-2003 01:05 PM

Problem building XQF
 
Hi,

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:

Code:

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?

Thanks
D.

Mugatu 12-13-2003 08:38 PM

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 rpmfind.net (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:

http://gcc.gnu.org/

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

http://www.linuxquestions.org/questi...hreadid=124961

although i still haven't been able to compile apollon cause of a qt problem :( anyway hope this helps

pointdexter 12-14-2003 02:23 PM

Code:

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:
 /usr/local/include
 /usr/lib/gcc-lib/i486-linux/3.3.2/include
 /usr/include

Code:

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 :/


All times are GMT -5. The time now is 03:59 AM.