> 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’ > ....... > etc. > > 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: make CFLAGS=-I/foo/bar/include where '/foo/bar/include' is a directory that contains mysql.h . For more details about configuring/installing see file INSTALL. _______________________________________________ Help-glpk mailing list [email protected] http://lists.gnu.org/mailman/listinfo/help-glpk
