Re: Bug: mysql build configuration

Dave Seidel wrote:

> Hi,
> On my system, I have mySQL installed in /usr/mysql, so I pass
> "--with-mysql=/usr/mysql" to configure.  This causes a problem however:
> - gda-mysql-server/Makefile contains "MYSQLINCLUDES =
> /usr/mysql/include/mysql"
> - gda-mysql-types.h and gda-mysql-connection.c contain "#include
> <mysql/mysql.h>"
> This is clearly a conflict.  Either the path should be "/usr/mysql/include"
> or the $include's should reference "<mysql.h>".  I'm not sure which solution
> is better, probably the makefile generation should be fixed.

Yes, this is a conflict, which has never arised in my system because I've got
MySQL in /usr, so the MYSQLINCLUDES was set to "/usr/include/mysql" and then,
as -I/usr/include was passed to gcc in the command line, there was no conflict,
although header files are in /usr/include/mysql.

Now fixed on CVS.

Thanks for the report!

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]