From owner-freebsd-questions Fri Sep 20 13:50: 6 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9A0B537B401 for ; Fri, 20 Sep 2002 13:50:01 -0700 (PDT) Received: from vectors.cx (manifold.vectors.cx [64.163.147.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9E5A143E75 for ; Fri, 20 Sep 2002 13:50:00 -0700 (PDT) (envelope-from monkey@vectors.cx) Received: from vectors.cx (ea3ff32c93565163c4cab14dd4fe58e8@localhost [127.0.0.1]) by vectors.cx (8.12.6/8.12.4) with ESMTP id g8KKoSho002740; Fri, 20 Sep 2002 13:50:28 -0700 (PDT) (envelope-from monkey@vectors.cx) Received: (from monkey@localhost) by vectors.cx (8.12.6/8.12.6/Submit) id g8KKoSec002739; Fri, 20 Sep 2002 13:50:28 -0700 (PDT) (envelope-from monkey) Date: Fri, 20 Sep 2002 13:50:28 -0700 From: Adam Weinberger To: GERARDO ENRIQUE PAREDES MANCIA Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Qt sql drivers Message-ID: <20020920205028.GX208@vectors.cx> References: <200209201456.26550.g.paredes@unitec.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200209201456.26550.g.paredes@unitec.edu> X-Editor: Vim 6.1 http://www.vim.org X-Mailer: Mutt 1.5 http://www.mutt.org X-URL: http://www.vectors.cx http://www.crackula.com User-Agent: Mutt/1.5.1i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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