For the general instruction for compiling see the GLPK/Linux OS.

Clipboard

To do:
A Mac OS X user might like to add material on compiling GLPK under this operating system


Setting MySQL option

edit

If you want to enable MySQL for access to database tables from GLPK, it is likely you will have to set the MySQL include directory (the one with mysql.h in it). On the Mac, it is often found in:

/usr/local/mysql/include

So, when configuring use:

./configure --enable-dl --enable-mysql CPPFLAGS=-I/usr/local/mysql/include

Your make job should then pick up the correct directory set in Makefile.