- lib/cpp
+ Responder ao Tópico
-
lib/cpp
Boa tarde Amigos,
Estou tentando compilar um programa e está dando o seguinte erro:
checking for a BSD-compatible install... /usr/bin/ginstall -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
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 how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
Eu utilizo o slack 8.1 e já baixei a gcc-3.1-i386-1.tgz, gcc-g++-3.1-i386-1.tgz, gcc-objc-3.1-i386-1.tgz, glib2- 2.4.2-i486-1.tgz, glibc-2.3.2-i486-6.tgz, glibc-solibs-2.3.2-i486-1.tgz.
Se vc puderem me ajudar ficarei muito grato.
[ ]'s
-
lib/cpp
Ao que tudo indica o erro ocorre no estagio do pre-processador.
Tente testar o seu pre-processador c++.
Se nao me engano a opcao eh '-E arquivo.c' e veja a saida.
A libtool permite quais linguagens a serem configuradas, desse modo vc pode limitar somente para o C.
Sugiro atualizar tua libtool.
Espero ter ajudado.
Um abraço.