Skip to content

Instantly share code, notes, and snippets.

@vladvinnikov
Created March 5, 2012 16:35
Show Gist options
  • Save vladvinnikov/1979167 to your computer and use it in GitHub Desktop.
Save vladvinnikov/1979167 to your computer and use it in GitHub Desktop.
Fucking ImageMagick
wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz
> tar -xzvf ImageMagick.tar.gz
> ./configure --prefix=/usr/local --with-x=no --disable-static --with-modules --without-perl --without-magick-plus-plus --with-quantum-depth=8 --disable-openmp
> make
> sudo make install
> sudo /sbin/ldconfig /usr/local
> sudo ln -f /usr/local/bin/Magick-config /usr/bin/Magick-config
> sudo PKG_CONFIG_PATH=/usr/local/lib/pkgconfig/ gem install rmagick
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment