Ok... so now it works (to compile) by putting in my dependencies list libsqlite3-dev (wich i will not use ever!)<br>Why is necesary to install libmysqlclient-dev AND libsqlite3-dev if i just need mysql?<br>
<br>
But now when execute the app that needs mysql module... does not start never... and i have to kill it.<br><br>In my laptop i have Kubuntu gutsy (which is the next development version) works perfect, but i've installed
pyqt4.3 from repoitories...<br><br>Cheers....<br><br><div><span class="gmail_quote">2007/9/2, Andreas Pakulat <<a href="mailto:apaku@gmx.de">apaku@gmx.de</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On 02.09.07 19:54:57, Gustavo A. Díaz wrote:<br>> Ok, first:<br><br>Thanks, that looks good.<br><br>> Second (i believe this is what you asked...):<br><br>Yes.<br><br>> Checking to see if the QtSql module should be built...
<br>> g++ -DQT_NO_DEBUG -DQT_SQL_LIB -I. -I/usr/mkspecs/linux-g++<br>> -I/usr/include/qt4/QtSql -I/usr/include/qt4/QtGui -I/usr/include/qt4<br>> -I/usr/X11R6/include -pipe -O2 -w -D_REENTRANT cfgtest_QtSql.cpp -o
<br>> cfgtest_QtSql -L/usr/lib -L/usr/X11R6/lib -Wl,-rpath,/usr/lib -lQtSql<br>> -L/usr/lib -L/usr/lib -lpq -L/usr/lib/mysql -lmysqlclient_r -lsqlite<br>> -lsqlite3 -lQtCore -L/usr/lib -lfontconfig -lz -lm -pthread -
lgthread-2.0-lrt -<br>> lglib-2.0 -lpthread -ldl -lQtGui -L/usr/lib -L/usr/X11R6/lib -laudio -lXt<br>> -lpng -lSM -lICE -lQtCore -L/usr/lib -lz -pthread -lgthread-2.0 -lrt -<br>> lglib-2.0 -lpthread -lXi -lXrender -lXrandr -lXfixes -lXcursor -lXinerama
<br>> -lfreetype -lfontconfig -lXext -lX11 -lm -ldl -lXext -lX11 -lm -lpthread<br>> /usr/bin/ld: cannot find -lsqlite3<br>> collect2: ld devolvió el estado de salida 1<br>><br>> Fro some reason now that changed, it shows -lsqlite3
<br><br>Are you sure that changed, without you installing something extra (like<br>a mysqlclient-dev package)? Anyway, see below.<br><br>>, but i would not use sqlite module...<br>> i just need mysql module. Still, does not enable mysql module for
<br>> compile...<br><br>Well, that you don't want the sqlite support doesn't matter here.<br>Installing the sqlite-dev packages will make it link.<br><br>The question is why sqlite3, sqlite and mysqlclient show up in that
<br>linker line at all. Usually a program linking to QtSql shouldn't need to<br>link against the depencies of QtSql explicitly, so I guess the configure<br>script does a bit "too much" here. Phil?<br><br>Another way to reduce the deps of your QtSql module would be by building
<br>Qt4 yourself and disabling sqlite support completely.<br><br>Andreas<br><br>--<br>You have the body of a 19 year old. Please return it before it gets wrinkled.<br>_______________________________________________<br>PyQt mailing list
<a href="mailto:PyQt@riverbankcomputing.com">PyQt@riverbankcomputing.com</a><br><a href="http://www.riverbankcomputing.com/mailman/listinfo/pyqt">http://www.riverbankcomputing.com/mailman/listinfo/pyqt</a><br></blockquote>
</div><br><br clear="all"><br>-- <br>Gustavo A. Díaz<br>GDNet Projects<br><a href="http://www.gdnet.com.ar">www.gdnet.com.ar</a>