Date: Fri, 20 Sep 2002 13:50:28 -0700 From: Adam Weinberger <adam@vectors.cx> To: GERARDO ENRIQUE PAREDES MANCIA <g.paredes@unitec.edu> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Qt sql drivers Message-ID: <20020920205028.GX208@vectors.cx> In-Reply-To: <200209201456.26550.g.paredes@unitec.edu> References: <200209201456.26550.g.paredes@unitec.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
it's not finding mysql.h, which lives in /usr/local/include/mysql. you need to hardcore -I/usr/local/include/mysql into that dir's Makefile. -Adam >> (09.20.2002 @ 1356 PST): GERARDO ENRIQUE PAREDES MANCIA said, in 1.8K: << > 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 > >> end of "Qt sql drivers" from GERARDO ENRIQUE PAREDES MANCIA << -- "Oh good, my dog found the chainsaw." -Lilo, "Lilo & Stitch" Adam Weinberger adam@vectors.cx http://vectors.cx To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020920205028.GX208>