[GRASS5] MySQL and PostgreSQL DBMI drivers for GRASS 5.1
Markus Neteler
neteler at itc.it
Sat Nov 23 11:01:54 EST 2002
On Sat, Nov 23, 2002 at 11:33:24AM +0000, Glynn Clements wrote:
>
> Markus Neteler wrote:
>
> > > written and uploaded at the CVS are two new DBMI drivers,
> > > one for PostgreSQL and one for MySQL. To compile them one needs grass51
> > > and 'libpq' or 'libmysqlclient', respectively.
> > >
> > > The code is at grass51/db/drivers catalog.
> >
> > Glynn, may I ask you to add a test to 'configure[.in]' for the mysql
> > libs and include directories?
>
> What should it be testing for?
>
> What is the header called, what is the library called, which other
> libraries (or sets of libraries) might be required, and which function
> should configure expect to find in that library?
According to
grass51/db/drivers/mysql/Makefile
and
grass51/db/drivers/mysql/globals.h
it needs
-L/usr/local/lib/mysql
-lmysqlclient
and
#include <mysql/mysql.h>
Markus
More information about the grass-dev
mailing list