Skip to content

Instantly share code, notes, and snippets.

View NamelessCoder's full-sized avatar

Claus Due NamelessCoder

View GitHub Profile
@ammmir
ammmir / gist:1210728
Created September 12, 2011 06:58
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