Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Sep 2002 14:56:26 -0600
From:      "GERARDO ENRIQUE PAREDES MANCIA" <g.paredes@unitec.edu>
To:        freebsd-questions@freebsd.org
Subject:   Qt sql drivers
Message-ID:  <200209201456.26550.g.paredes@unitec.edu>

index | next in thread | raw e-mail

I have tried to compile Qt-3.0.5 with sql plugin support enabled, adding the 
following line to the Makefile:

                -plugin-sql-mysql 

which is what configure -help says, i was just wondering if they are not 
enabled by default, it maybe means, sql plugin support in Qt is broken for 
FreeBSD, am i right?, anyways, if anyone knows a fix to this here is the 
error:  qsql_mysql.h is there in 
work/qt-x11-free-3.0.5/src/sql/drivers/mysql.

Please reply to me and to the list as well since i am not subscribed.



c++ -c -pipe -fno-exceptions -I/usr/local/include -Wall -W -O -pipe 
-march=pentiumpro -fmemoize-lookups -fsave-memoized -pthread -D_THREAD_SAFE 
-fPIC  -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_PLUGIN 
-I/usr/local/include/freetype2 -I/usr/local/include 
-I/usr/ports/x11-toolkits/qt30/work/qt-x11-free-3.0.5/include 
-I.moc/release-shared-mt/ 
-I/usr/ports/x11-toolkits/qt30/work/qt-x11-free-3.0.5/mkspecs/freebsd-g++ -o 
.obj/main.o main.cpp
In file included from main.cpp:38:
../../../../src/sql/drivers/mysql/qsql_mysql.h:49: mysql.h: No such file or 
directory
In file included from main.cpp:38:
../../../../src/sql/drivers/mysql/qsql_mysql.h:69: syntax error before `*'
../../../../src/sql/drivers/mysql/qsql_mysql.h:107: syntax error before `*'
gmake[3]: *** [.obj/main.o] Error 1
gmake[3]: Leaving directory 
`/usr/ports/x11-toolkits/qt30/work/qt-x11-free-3.0.5/plugins/src/sqldrivers/mysql'
gmake[2]: *** [sub-mysql] Error 2
gmake[2]: Leaving directory 
`/usr/ports/x11-toolkits/qt30/work/qt-x11-free-3.0.5/plugins/src/sqldrivers'
gmake[1]: *** [sub-sqldrivers] Error 2
gmake[1]: Leaving directory 
`/usr/ports/x11-toolkits/qt30/work/qt-x11-free-3.0.5/plugins/src'
gmake: *** [sub-plugins] Error 2
*** Error code 2


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message



help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200209201456.26550.g.paredes>