[glux] Errori in fase di installazione

Svilla stefano.villa@polimi.it
Wed, 09 Oct 2002 14:33:17 +0200


Dungue....
dai tuoi log mysqlnavigator linka anche gli includes di mysql;
per cui se hai una distribuzione a pacchetti (rpm) e trovi l' rpm 
sorgente di
mysqlnavigator ti devi installare prima l' rpm di mysql, mysql-devel etc 
etc....
e poi installi mysqlnavigator, se invece il tuo mysql non era un rpm 
guarda dov' e'
cerca tra le opzioni di configure e ci sara' una qualche opzione
--mysql-home=DIR o simile......
nel caso misto (mysql installato da rpm col sistema e mysqlnavigator 
disponibile
solo in .tar.gz) devi installare mysql-devel cercare dove diavolo mette 
librerie ed
includes e poi rilanciare il configure sempre che ti vada tutto bene e non
ci siano altre dipendenze.....



Simone wrote:

>Dove aver capito dove installare il programma ... ovviamente cerco di 
>installarlo ... :-)
>
>Vaod nella directory dove ho scompattato il tar.gz e seguo le istruzioni 
>contenute nel file INSTALL.
>
>Scrivo
>	./configure 
>e tutto (sembra andare bene se volete vi mando il log anche di quello)
>
>poi scrivo 
>	make
>e mi escono un sacco di errori (vedi dopo)
>
>Che si fa ?
>
>Simone
>
>----------
>
>linux:/opt/mysqlnavigator-1.4.1 # make
>make  all-recursive
>make[1]: Entering directory `/opt/mysqlnavigator-1.4.1'
>Making all in include
>make[2]: Entering directory `/opt/mysqlnavigator-1.4.1/include'
>rm -rf *.h *.cpp
>ln -s ../src/mysql/about/*.h .
>ln -s ../src/mysql/edit/*.h .
>ln -s ../src/mysql/server/*.h .
>ln -s ../src/mysql/log/*.h .
>ln -s ../src/mysql/mainwindow/*.h .
>ln -s ../src/mysql/query/*.h .
>ln -s ../src/mysql/script/*.h .
>ln -s ../src/mysql/table/*.h .
>ln -s ../src/mysql/schema/*.h .
>ln -s ../src/mysql/user/*.h .
>ln -s ../src/mysql/flush/*.h .
>ln -s ../src/mysql/process/*.h .
>ln -s ../src/mysql/xport/*.h .
>ln -s ../src/mysql/widget/*.h .
>ln -s ../src/mysql/xml/*.h .
>ln -s ../src/mysql/field/*.h .
>ln -s ../src/mysql/privilege/*.h .
>ln -s ../src/mysql/option/*.h .
>ln -s ../src/mysql/password/*.h .
>ln -s ../src/mysql/style/*.h .
>ln -s ../src/mysql/find/*.h .
>ln -s ../src/mysql/sql/*.h .
>ln -s ../src/mysql/key/*.h .
>ln -s ../src/mysql/copy/*.h .
>ln -s ../src/main/*.h .
>make[2]: Leaving directory `/opt/mysqlnavigator-1.4.1/include'
>Making all in src
>make[2]: Entering directory `/opt/mysqlnavigator-1.4.1/src'
>Making all in mysql
>make[3]: Entering directory `/opt/mysqlnavigator-1.4.1/src/mysql'
>Making all in about
>make[4]: Entering directory `/opt/mysqlnavigator-1.4.1/src/mysql/about'
>/bin/sh ../../../libtool --mode=compile c++ -DHAVE_CONFIG_H -I. -I. -I../../.. 
>-I../../../pics -I../../../include -I/usr/local/mysql/include/mysql 
>-I/usr/lib/qt3/include    -O2 -Wall -c about.cxx
>mkdir .libs
>c++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../pics -I../../../include 
>-I/usr/local/mysql/include/mysql -I/usr/lib/qt3/include -O2 -Wall 
>-Wp,-MD,.deps/about.pp -c about.cxx  -fPIC -DPIC -o .libs/about.lo
>In file included from about.cxx:9:
>about.h:12: qvariant.h: No such file or directory
>about.h:13: qdialog.h: No such file or directory
>about.cxx:11: qbuttongroup.h: No such file or directory
>about.cxx:12: qlabel.h: No such file or directory
>about.cxx:13: qpushbutton.h: No such file or directory
>about.cxx:14: qtabwidget.h: No such file or directory
>about.cxx:15: qtextview.h: No such file or directory
>about.cxx:16: qwidget.h: No such file or directory
>about.cxx:17: qlayout.h: No such file or directory
>about.cxx:18: qvariant.h: No such file or directory
>about.cxx:19: qtooltip.h: No such file or directory
>about.cxx:20: qwhatsthis.h: No such file or directory
>make[4]: *** [about.lo] Error 1
>make[4]: Leaving directory `/opt/mysqlnavigator-1.4.1/src/mysql/about'
>make[3]: *** [all-recursive] Error 1
>make[3]: Leaving directory `/opt/mysqlnavigator-1.4.1/src/mysql'
>make[2]: *** [all-recursive] Error 1
>make[2]: Leaving directory `/opt/mysqlnavigator-1.4.1/src'
>make[1]: *** [all-recursive] Error 1
>make[1]: Leaving directory `/opt/mysqlnavigator-1.4.1'
>make: *** [all-recursive-am] Error 2
>linux:/opt/mysqlnavigator-1.4.1 #
>
>------------------------
>_______________________________________________
>glux mailing list
>glux@lists.linux.it
>http://lists.linux.it/listinfo/glux
>http://www.lecco.linux.it
>  
>