[Tech] istallazione di un programma compilando la sorgente

Enrico Guastaldi guastaldi@unisi.it
Mar 17 Nov 2009 10:27:48 CET


Ciao a tutti,
sto cercando di istallare un software da sorgente seguendo le istruzioni che trovo nel sito del programma:
http://sgems.sourceforge.net/?q=node/40

sono arrivato alle battute finale, ovvero l'ultimo make, ma ottengo questo errore:


ugolone@dell-enrico:~/SIMVoleon/GsTLAppli-qt4$ make
cd GsTLAppli/ && make -f Makefile
make[1]: ingresso nella directory «/home/ugolone/SIMVoleon/GsTLAppli-qt4/GsTLAppli»
cd utils/ && make -f Makefile
make[2]: ingresso nella directory «/home/ugolone/SIMVoleon/GsTLAppli-qt4/GsTLAppli/utils»
g++ -c -pipe -O2 -D_REENTRANT -Wall -W -fPIC -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/share/qt4/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I. -I/home/ugolone/SIMVoleon/GsTL -I/home/ugolone/SIMVoleon/GsTLAppli-qt4 -I. -o ../../lib/linux/obj/utils/clock.o clock.cpp
clock.cpp:99:23: error: qdatetime.h: Nessun file o directory
clock.cpp: In constructor ‘Qt_clock::Qt_clock()’:
clock.cpp:101: error: invalid use of incomplete type ‘struct QTime’
/home/ugolone/SIMVoleon/GsTLAppli-qt4/GsTLAppli/utils/clock.h:143: error: forward declaration of ‘struct QTime’
clock.cpp: In destructor ‘Qt_clock::~Qt_clock()’:
clock.cpp:105: warning: possible problem detected in invocation of delete operator:
clock.cpp:105: warning: invalid use of incomplete type ‘struct QTime’
/home/ugolone/SIMVoleon/GsTLAppli-qt4/GsTLAppli/utils/clock.h:143: warning: forward declaration of ‘struct QTime’
clock.cpp:105: note: neither the destructor nor the class-specific operator delete will be called, even if they are declared when the class is defined.
clock.cpp: In member function ‘void Qt_clock::start()’:
clock.cpp:109: error: invalid use of incomplete type ‘struct QTime’
/home/ugolone/SIMVoleon/GsTLAppli-qt4/GsTLAppli/utils/clock.h:143: error: forward declaration of ‘struct QTime’
clock.cpp: In member function ‘void Qt_clock::restart()’:
clock.cpp:113: error: invalid use of incomplete type ‘struct QTime’
/home/ugolone/SIMVoleon/GsTLAppli-qt4/GsTLAppli/utils/clock.h:143: error: forward declaration of ‘struct QTime’
clock.cpp: In member function ‘int Qt_clock::elapsed()’:
clock.cpp:117: error: invalid use of incomplete type ‘struct QTime’
/home/ugolone/SIMVoleon/GsTLAppli-qt4/GsTLAppli/utils/clock.h:143: error: forward declaration of ‘struct QTime’
make[2]: *** [../../lib/linux/obj/utils/clock.o] Errore 1
make[2]: uscita dalla directory «/home/ugolone/SIMVoleon/GsTLAppli-qt4/GsTLAppli/utils»
make[1]: *** [sub-utils-make_default] Errore 2
make[1]: uscita dalla directory «/home/ugolone/SIMVoleon/GsTLAppli-qt4/GsTLAppli»
make: *** [sub-GsTLAppli-make_default] Errore 2
ugolone@dell-enrico:~/SIMVoleon/GsTLAppli-qt4$



ho provato a istallare altri pacchetti di qt quali:

qt4-qmake
qt4-qtconfig libqt4-qt3support
libqt3-headers

ma lanciando il comando make nella cartella principale dove dovrei (credo) lanciare il comando.

Qualcuno saprebbe darmi una mano?
Grazie in ogni caso!
Ciao!
Enrico
-- 
Enrico Guastaldi
Centro di GeoTecnologie dell'Università degli Studi Siena,
Via Vetri Vecchi, 34, 52027 - San Giovanni Valdarno (AR), Italy

Tel.   +39 055 9119483
Fax.   +39 055 9119439 
email: guastaldi@unisi.it
url:   www.geotecnologie.unisi.it

Io uso Linux!
user #466775 counter.li.org

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Please try to avoid to send me .dwg, .doc, .xls, .ppt files.
I prefer free formats.
http://en.wikipedia.org/wiki/Open_format

Please consider the environment before printing this e-mail
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~




Maggiori informazioni sulla lista flug-tech