411 REFERENCE · Wikibooks
GLPK/Mac OS X
Reference material by Wikibooks contributors. This retains its source identity and is not 411 news reporting.
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 option
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.