Pagina 1 di 1

aiuto per compilazione

Inviato: mer 5 apr 2006, 10:21
da driver
Ciao a tutti ragazzi, volevo chiedere provando a compilare il pacchetto di k3b 0.12, mi è capitato che dando il comando ./configure, mi ha restituito una cosa strana e cioe:

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/ginstall -c
checking for -p flag to install... yes
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for kde-config... /opt/kde/bin/kde-config
checking where to install... /opt/kde (as returned by kde-config)
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 how to run the C preprocessor... /lib/cpp
configure: error: C preprocessor "/lib/cpp" fails sanity check

vi ricordo che ho la versione 2.6.15.6 di kernel pacchettizato con gcc 3.4.6-i486-1, ho provato anche a installare le versioni precedenti di gcc ma la cosa e' sempre uguale, consigli in merito??

Grazie a tutti.

Inviato: mer 5 apr 2006, 19:23
da ZeroByte
Hai provato a fare una ricerca nel forum du Slacky? Io ho trovato questo riferimento: http://www.slacky.it/forum/viewtopic.php?t=12401
Spero ti possa essere utile!
(Vedi: installazione kernel-headers ;^)
Saluti,

ZeroByte

Inviato: mer 5 apr 2006, 20:47
da [shutdown]
puo darsi che il pacchetto sia corrotto (è una ipotesi) da dove la hai scaricato?

Inviato: gio 6 apr 2006, 8:47
da albert
prova a verificare la versione del pacchetto gcc-g++ oltre che gcc

dai il comando # ls /var/log/packages/ | grep gcc e vedi cosa restituisce

ciao
Alberto.