Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Compile latest ImageMagick version (useful for old distros)
## From
# 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$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'
make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment