Mapserver and MySQL

Vishal Nagpal vishu_73ns at YAHOO.COM
Tue Nov 6 21:34:10 PST 2007


I tried to install OGR with mysql support
confiure was OK 
--with-mysql=/usr/lib/mysql/mysql_config 
but I got these errors during make. I had done make clean

ogr_mysql.h:34:23: error: my_global.h: No such file or directory
ogr_mysql.h:35:19: error: mysql.h: No such file or directory
ogr_mysql.h:73: error: ISO C++ forbids declaration of 'MYSQL_RES' with no type
ogr_mysql.h:73: error: expected ';' before '*' token
ogr_mysql.h:169: error: 'MYSQL_RES' has not been declared
ogr_mysql.h:194: error: ISO C++ forbids declaration of 'MYSQL' with no type
ogr_mysql.h:194: error: expected ';' before '*' token
ogr_mysql.h:210: error: ISO C++ forbids declaration of 'MYSQL' with no type
ogr_mysql.h:210: error: expected ';' before '*' token
ogr_mysql.h:213: error: expected `;' before 'int'

mySQL is installed and running properly from command line,
OS is Fedora 6.2
Regards,
Vishal



More information about the MapServer-users mailing list