Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Sep 2002 15:06:23 -0600
From:      "GERARDO ENRIQUE PAREDES MANCIA" <g.paredes@unitec.edu>
To:        Adam Weinberger <adam@vectors.cx>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: Qt sql drivers
Message-ID:  <200209201506.23681.g.paredes@unitec.edu>
In-Reply-To: <20020920205028.GX208@vectors.cx>
References:  <200209201456.26550.g.paredes@unitec.edu> <20020920205028.GX208@vectors.cx>

next in thread | previous in thread | raw e-mail | index | archive | help
On Friday 20 September 2002 14:50, Adam Weinberger wrote:
>  In file included from main.cpp:38:
> > ../../../../src/sql/drivers/mysql/qsql_mysql.h:49: mysql.h: No such f=
ile
> > or directory

and qsql_mysql.h is there!!!
do anyone know why is not enabled by default in the port, or at least giv=
en as=20
a choice?


On Friday 20 September 2002 14:50, Adam Weinberger wrote:
> 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.8=
K:
> >> <<
> >
> > I have tried to compile Qt-3.0.5 with sql plugin support enabled, add=
ing
> > 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 broke=
n
> > 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=3Dpentiumpro -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 f=
ile
> > or directory
> > In file included from main.cpp:38:
> > ../../../../src/sql/drivers/mysql/qsql_mysql.h:69: syntax error befor=
e
> > `*' ../../../../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/sqld=
rive
> >rs/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/sqld=
rive
> >rs' 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 <<


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?200209201506.23681.g.paredes>