Skip to content

Instantly share code, notes, and snippets.

@eliaskg
Forked from ammmir/gist:1210728
Created October 17, 2011 15:27
Show Gist options
  • Save eliaskg/1292864 to your computer and use it in GitHub Desktop.
Save eliaskg/1292864 to your computer and use it in GitHub Desktop.
Compile GraphicsMagick on Mac OS X 10.7 (Lion)
# download libpng 1.4.x (1.5 didn't work yet with GraphicsMagick 1.3.12)
./configure --prefix=$HOME/INST && make && make install
# download libjpeg
./configure --prefix=$HOME/INST && make && make install
# download GraphicsMagick
CFLAGS=-I$HOME/INST/include LDFLAGS=-L$HOME/INST/lib ./configure --prefix=$HOME/INST --disable-openmp --disable-openmp-slow && make && make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment