PDA

View Full Version : mi aiutate a sistemare i compilatori?


Artemisyu
18-01-2005, 14:49
Ciao a tutti.
sulla mia ubuntu, temo, purtroppo, di avere qualche casino con i vari compilatori, tanto che non riesco a compilare nulla.

Ad, esempio, se cerco di compilare un file relativamente stupido come il plugin guifications 2.8 per gaim, lanciando ./configure mi dice:

checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-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 for sed... /bin/sed
checking for style of include used by make... GNU
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 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... gpp
checking whether we are using the GNU C++ compiler... no
checking whether gpp accepts -g... no
checking dependency style of gpp... 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.

sono andato nel config.log ma non fa altro che ripetere quello che ho appena copiato.
cpp risulta installato ed aggiornato all'ultima versione disponibile.

inoltre risulta installato gpp, gcc e binutils.

cosa manca? perchè da quell'errore di sanity check?

ciao ciao!

VICIUS
18-01-2005, 15:50
controlla che i pacchetti gcc, g++ e cpp siano installati. da quello che ho visto non passa il controllo sul preprocessore che sta proprio nell'ultimo.

ciao ;)

Lukather
18-01-2005, 15:55
Ah bravo, averi aperto questo thread stasera.
Anche io utilizzo ubuntu e più volte ho avuto quel risultato durante la compilazione...stessa identica situazione

Artemisyu
18-01-2005, 17:53
Originariamente inviato da VICIUS
controlla che i pacchetti gcc, g++ e cpp siano installati. da quello che ho visto non passa il controllo sul preprocessore che sta proprio nell'ultimo.

ciao ;)

sembra che ce l'abbia con gcc-3.3... dice "pacchetto non integro".

in effetti di ciò che hai detto ho tutto tranne g++, ma tentando di installarlo dice che non può installarsi perchè non può essere soddisfatta la dipendenza di gcc-3.3 perchè il pacchetto non è integro...

sia con i rep di warty, sia con quelli di hoary, il discorso non cambia.

provo con dei rep di sarge?

ciao ciao!

Artemisyu
18-01-2005, 18:05
ho usato i rep di sarge... ho installato g++ ed ha installato tutte le dipendenze...

poi ho provato a rilanciare il ./configure e ha vomitato la sequenza che allego.
Come posso risolvere l'errore che da in fondo?

A parte quell'errore, sembra esserci tutto a posto?

grazie, ciao ;)