Saturday, February 26, 2011

Compiling Imagemagick on OSX

Instructions from, reproduced here:

First get a copy of libjpeg and build it as a shared library:

    curl -O
    tar -zxf jpegsrc.v7.tar.gz
    cd jpeg-7/
    ln -s `which glibtool` ./libtool
    ./configure --enable-shared --prefix=/usr/local
    sudo make install

Now get a copy of ImageMagick:

    curl -O
    tar -zxf ImageMagick.tar.gz
    cd ImageMagick-*/
    ./configure --prefix=/usr/local
    sudo make install
Don't forget you need XCode installed.

1 comment:

Anonymous said...

Thanks - Helped me after hours of struggling!