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

Request Tracker grass-bugs at intevation.de
Sat Jun 12 22:34:50 EDT 2004

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 at charter.net

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

More information about the grass-dev mailing list