[GRASS5] [bug #2481] (grass) mysql includes not found in expected location

this bug's URL: http://intevation.de/rt/webrt?serial_num=2481
-------------------------------------------------------------------------

Subject: mysql includes not found in expected location

Platform: other
grass obtained from: CVS
grass binary for platform: Compiled from Sources
GRASS Version: 5.7exp 2004-6-12

Based on a standard install package from mysql.com of the binaries (v3.23, v4.0 and v4.1) for Mac
OS X, GRASS is making wrong assumptions on where the includes are. Both configure and db/
drivers/mysql/globals.h try to find mysql.h and mysqld_error.h in mysql/ from the include search
path, even if an include dir was specified for mysql in configure.

ie, standard Mac OS X mysql install is /usr/local/mysql (not /usr/local), much like a grass install. I
specify --with-mysql-includes=/usr/local/mysql/include. configure looks for /usr/local/mysql/
include/mysql/mysql.h, not /usr/local/mysql/include/mysql.h.

William Kyngesburye
kyngchaos@charter.net

-------------------------------------------- Managed by Request Tracker

I have removed mysql/ from header file names in configure and globals.h.

Radim

On Sunday 13 June 2004 04:34, Request Tracker wrote:

this bug's URL: http://intevation.de/rt/webrt?serial_num=2481
-------------------------------------------------------------------------

Subject: mysql includes not found in expected location

Platform: other
grass obtained from: CVS
grass binary for platform: Compiled from Sources
GRASS Version: 5.7exp 2004-6-12

Based on a standard install package from mysql.com of the binaries (v3.23,
v4.0 and v4.1) for Mac OS X, GRASS is making wrong assumptions on where the
includes are. Both configure and db/ drivers/mysql/globals.h try to find
mysql.h and mysqld_error.h in mysql/ from the include search path, even if
an include dir was specified for mysql in configure.

ie, standard Mac OS X mysql install is /usr/local/mysql (not /usr/local),
much like a grass install. I specify
--with-mysql-includes=/usr/local/mysql/include. configure looks for
/usr/local/mysql/ include/mysql/mysql.h, not
/usr/local/mysql/include/mysql.h.

William Kyngesburye
kyngchaos@charter.net

-------------------------------------------- Managed by Request Tracker

_______________________________________________
grass5 mailing list
grass5@grass.itc.it
http://grass.itc.it/mailman/listinfo/grass5