[gdal-dev] installing problem

Murat BEYHAN beyhan at deprem.gov.tr
Fri Feb 1 08:55:17 EST 2008


Dear friends,

I'm going to install mapserver5.0.2 to the new mandriva2008 x64 OS

I was faced a problem when I try to install gdal-1.5.0

The problem as follows.

In file included from ogrmysqldriver.cpp:30:
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
In file included from ogrmysqldriver.cpp:30:
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:170: error: 'MYSQL_RES' has not been declared
ogr_mysql.h:195: error: ISO C++ forbids declaration of 'MYSQL' with no type
ogr_mysql.h:195: error: expected ';' before '*' token
ogr_mysql.h:211: error: ISO C++ forbids declaration of 'MYSQL' with no type
ogr_mysql.h:211: error: expected ';' before '*' token
ogr_mysql.h:214: error: expected `;' before 'int'
make[3]: *** [../o/ogrmysqldriver.o] Error 1
make[3]: Leaving directory `/usr/local/gdal-1.5.0/ogr/ogrsf_frmts/mysql'
make[2]: *** [mysql-target] Error 2
make[2]: Leaving directory `/usr/local/gdal-1.5.0/ogr/ogrsf_frmts'
make[1]: *** [sublibs] Error 2
make[1]: Leaving directory `/usr/local/gdal-1.5.0/ogr'
make: *** [ogr-target] Error 2

And I strictly would like to use ogr functionality.

So How can I pass this handicap.
Regards. 
Murat


-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the gdal-dev mailing list