Skip to content

Instantly share code, notes, and snippets.

@ammmir
Created September 12, 2011 06:58
Show Gist options
  • Star 6 You must be signed in to star a gist
  • Fork 2 You must be signed in to fork a gist
  • Save ammmir/1210728 to your computer and use it in GitHub Desktop.
Save ammmir/1210728 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