[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-glpk] Problems with making glpk communicate with mysql on mac
Re: [Help-glpk] Problems with making glpk communicate with mysql on mac os 10.6
Sun, 14 Nov 2010 21:26:52 +0300
> I am on Mac OS 10.6 and I have installed MySQL 5.1.52 and it works fine.
> I am trying to make glpk communicate with it, in other words, I am trying
> the --enable-mysql option in the ./configure script.
> However, when I run make, I get all sorts of errors like:
> lpsql.c:1102:20: error: my_sys.h: No such file or directory
> glpsql.c:1103:19: error: mysql.h: No such file or directory
> glpsql.c:1108: error: expected specifier-qualifier-list before ‘MYSQL’
> I think, from all the searching I have been doing, that the compiler cannot
> find the header files for MySQL???
> In this case, what can I do?
> I have used the locate command, and have found these files, but I don't know
> how to use this information.
Try the following:
where '/foo/bar/include' is a directory that contains mysql.h .
For more details about configuring/installing see file INSTALL.