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

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

Setting MySQL optionEdit

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:


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.