problema: Kdevelop compilazione c++
Inviato: mercoledì 13 dicembre 2006, 13:48
Salve a tutti questo è il mio primo post, mi sono iscritto perchè per inparare da solo a far girare linux & co. partendo da 0 conoscienze ho fatto abbondantemente la mia parte con sacrificio
e ora tocca a terzi aiutarmi hehe!
Veniamo al problema: con Kdevelop qualsiasi codice in c++ quando viene compilato viene sputato un errore, quello classico di quando non si hanno compilatori c++ installati.
Ecco il log dei messaggi:
cd '/home/barba/he' && WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" make -f Makefile.cvs && cd '/home/barba/he/debug' && CXXFLAGS="-O0 -g3" "/home/barba/he/configure" --enable-debug=full && cd '/home/barba/he/debug/src' && WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" make -k he.lo
aclocal
autoheader
automake
autoconf
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 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.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking for C++ compiler default output file name...
configure: error: C++ compiler cannot create executables
See `config.log' for more details.
*** Exited with status: 77 ***
come vedete dice che manca il compilatore per c++, cosa assolutamente falsa :-\ perchè ho gcc4.1 e g++4.1 installati, e quindi senza compilatore non può creare eseguibili.
Lo stesso errore non compare solo per applicazioni win32 ma anche per quelle in ambiente unix.
Quando trovo errori il cui motivo è una "balla" allora mi fermo perchè ci vuole ben altra conoscienza.
Che pesci devo pigliare?
Se riuscite ad aiutarmi mi accorcereste sicuramene i tempi di studio per gli esami di programmazione!
Grazie mille!
Veniamo al problema: con Kdevelop qualsiasi codice in c++ quando viene compilato viene sputato un errore, quello classico di quando non si hanno compilatori c++ installati.
Ecco il log dei messaggi:
cd '/home/barba/he' && WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" make -f Makefile.cvs && cd '/home/barba/he/debug' && CXXFLAGS="-O0 -g3" "/home/barba/he/configure" --enable-debug=full && cd '/home/barba/he/debug/src' && WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" make -k he.lo
aclocal
autoheader
automake
autoconf
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 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.exe... no
checking for FCC... no
checking for KCC... no
checking for RCC... no
checking for xlC_r... no
checking for xlC... no
checking for C++ compiler default output file name...
configure: error: C++ compiler cannot create executables
See `config.log' for more details.
*** Exited with status: 77 ***
come vedete dice che manca il compilatore per c++, cosa assolutamente falsa :-\ perchè ho gcc4.1 e g++4.1 installati, e quindi senza compilatore non può creare eseguibili.
Lo stesso errore non compare solo per applicazioni win32 ma anche per quelle in ambiente unix.
Quando trovo errori il cui motivo è una "balla" allora mi fermo perchè ci vuole ben altra conoscienza.
Che pesci devo pigliare?
Se riuscite ad aiutarmi mi accorcereste sicuramene i tempi di studio per gli esami di programmazione!
Grazie mille!