Created
March 8, 2012 10:27
-
-
Save rgo/2000218 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 | |
wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz | |
tar xvfz ImageMagick.tar.gz | |
cd ImageMagick-6.x.x | |
# 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' | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment