PDA

Visualizza la versione completa : error: C++ preprocessor "/lib/cpp" fails sanity check


pirax
03-11-2004, 01:38
Ciao:)

Da tempo sto cercando di installare gaim, un programma per chattare...

Scompatto, configuro e mi sorte sta roba:

checking build system type... i686-redhat-linux-gnu
checking host system type... i686-redhat-linux-gnu
checking target system type... i686-redhat-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 for sed... /bin/sed
checking for gcc... gcc
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 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 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.

Che significa??
come posso fare per installre il programma?

Uso mandrake 10.0

Grazie

Caleb
03-11-2004, 01:47
checking for g++... no
checking for c++... no


direi che ti manca qualcosina

devi installare il compilatore per C++

gcc-c++-3.3.2-6mdk.i586.rpm

pirax
03-11-2004, 02:58
Ho installato con successo il file ... ma ora mi da quest'altro errore...

suppongo di dover installare GTK... per caso sai indicarmi il nome preciso del pacchetto in modo da evitare porblemi di dipendenza?

*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
configure: error:
*** GTK+ 2.0 is required to build Gaim; please make sure you have the GTK+
*** development headers installed. The latest version of GTK+ is
*** always available at http://www.gtk.org/.

Caleb
03-11-2004, 11:29
gtk+2.0-2.2.4-9mdk.i586.rpm

se ti manca qualcos'altro guarda qui (http://mirror.linux.org.mt/mirror/mandrakelinux/official/10.0/i586/Mandrake/RPMS/)

pirax
03-11-2004, 14:48
Grazie 1000, funziona tutto perfettamente:)

Caleb
03-11-2004, 14:52
prego!

ciao

Loading