-
-
Save btoone/3417289 to your computer and use it in GitHub Desktop.
Compile latest ImageMagick version (useful for old distros)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## From http://johannes.jarolim.com/blog/2011/11/21/extreme-slow-imagemagick-on-vps-with-ubuntu/ | |
# | |
# Execute as root | |
apt-get update | |
apt-get install build-essential | |
apt-get build-dep imagemagick | |
cd /usr/local/src | |
VERSION = "6.7.9-0" | |
wget -q http://www.imagemagick.org/download/ImageMagick-$VERSION.tar.gz | |
tar zxf ImageMagick-$VERSION.tar.gz | |
cd ImageMagick-$VERSION | |
# NOTE: The only thing I did was to remove all X11-Options (my VPS is a headless system without GUI) and adding the initially recommended –disable-openmp option. | |
# ./configure '--prefix=/usr' '--mandir=${prefix}/share/man' '--infodir=${prefix}/share/info' '--with-gs-font-dir=/usr/share/fonts/type1/gsfonts' '--with-magick-plus-plus' '--with-djvu' '--enable-shared' '--without-dps' '--without-fpx' '--with-perl-options=INSTALLDIRS=vendor' 'CFLAGS=-g -O2' 'LDFLAGS=-Wl,-Bsymbolic-functions' 'CPPFLAGS=' 'CXXFLAGS=-g -O2' '--disable-openmp' | |
./configure | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment