On Wed, 2005-08-31 at 15:09 +0200, Stefano Simonucci wrote: > On Wed, 2005-08-31 at 13:55 +0200, Claudio M. wrote: > > Ciao a tutti > > Ho un problema con apt-build > > > > Ho installato questo programma ma quando provo a installare qualche cosa, > > del > > tipo "apt-build install pstotest" questo scarica l'src, comincia a > > compilare > > ma ad un certo punto si ferma e mi da questo errore > > > > gcc -g -Wall -DNEED_PROTO -O2 -c main.c > > gcc -g -Wall -DNEED_PROTO -O2 -c ptotdll.c > > gcc -g -Wall -DNEED_PROTO -O2 -o pstotext main.o bundle.o ptotdll.o -lm > > collect2: cannot find 'ld' <--------- ERRORE > > make[1]: *** [pstotext] Error 1 > > make[1]: Leaving directory `/home/apt-build/build/pstotext-1.9' > > make: *** [build-stamp] Error 2 > > ----> Cleaning up object files <----- > > etc etc etc
A proposito di apt-build io ho provato a compilare un pacchetto e mi ha subito dato un errore di questo tipo ... checking for gcc... gcc checking whether the C compiler (gcc -O2 -DDEBIAN ) works... no configure: error: installation or configuration problem: C compiler cannot create executables. make: *** [debian/stampdir/build] Error 1 Il fatto e' che questo il messaggio incriminato sembra provenire da questo pezzo di "configure" cat > conftest.$ac_ext << EOF #line 1411 "configure" #include "confdefs.h" main(){return(0);} EOF if { (eval echo configure:1416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then ac_cv_prog_cc_works=yes # If we can't run a trivial program, we are probably using a cross compiler. if (./conftest; exit) 2>/dev/null; then ac_cv_prog_cc_cross=no else ac_cv_prog_cc_cross=yes fi else echo "configure: failed program was:" >&5 cat conftest.$ac_ext >&5 ac_cv_prog_cc_works=no fi ......... if test $ac_cv_prog_cc_works = no; then { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } fi Ossia sembra che tenti di compilare un programma molto semplice (con gcc?) ma non ci riesce. Eppure ho provato a linkare /usr/bin/gcc a gcc-4.0, gcc-3.3, gcc-3.4. Ciao Stefano -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]