Vishal,

You likely need to have the mysql-devel package installed on your system. It contains the header files need to compile libraries against the mysql API.

Howard

On Nov 6, 2007, at 11:34 PM, Vishal Nagpal wrote:

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

Reply via email to