Installing ImageMagick - how to guide

[email protected] (Peter N Lewis)
Newsgroups perl.macosx
Message-ID <p06230935c42a57d15bdf@[203.8.112.3]>
I've fought ImageMagick install a few times, and again recently (it 
is better, but still a pain).

One issue that affected me and probably would not affect others is I 
needed to keep the non-universal builds of libjpeg et al out of 
/usr/local, hence the prefix used in this, but probably not needed 
for most users.

Note the lines with [] include instructions - you can't just run this 
lot as a script.

Hopefully this is useful to someone,
    Peter.

cd
mkdir install
cd install
setenv MACOSX_DEPLOYMENT_TARGET 10.4
setenv LDFLAGS -L$HOME/unix/local/lib


[Install libtiff]

curl -O ftp://ftp.remotesensing.org/pub/libtiff/tiff-3.8.2.tar.gz
tar zxf tiff-3.8.0.tar.gz
cd tiff-3.8.2
./configure --enable-shared --prefix=$HOME/unix/local
make
make test
make install
cd ..

[Install libpng]

curl -O ftp://ftp.simplesystems.org/pub/libpng/png/src/libpng-1.2.25.tar.gz
tar zxf libpng-1.2.25.tar.gz
cd libpng-1.2.25
./configure --enable-shared --prefix=$HOME/unix/local
make
make install
make test
cd ..

[Install libjpeg]

curl -O http://www.ijg.org/files/jpegsrc.v6b.tar.gz
tar zxf jpegsrc.v6b.tar.gz
cd jpeg-6b/
[For intel, edit configure and add 'i386' to the end of the ltconfig line]
./configure --enable-shared --prefix=$HOME/unix/local
ln -s `which glibtool` ./libtool
make
make test
make install
cd ..

[Install freetype]

curl -O 
hthttp://download.savannah.gnu.org/releases/freetype/freetype-2.3.5.tar.gz
tar zxf freetype-2.3.5.tar.gz
cd freetype-2.3.5
./configure --enable-shared --prefix=$HOME/unix/local
make
make install
cd ..

[install ghostscript]

curl -O 
http://superb-west.dl.sourceforge.net/sourceforge/ghostscript/ghostscript-8.62.tar.gz
tar zxf ghostscript-8.62.tar.gz
cd ghostscript-8.62
./configure --enable-shared --prefix=$HOME/unix/local
make
[Comment out #include cups/cups.mak in Makefile]
make install
cd ..

[Install imagemagick]

curl -O  ftp://mirror.aarnet.edu.au/pub/ImageMagick/ImageMagick-6.2.5-5.tar.gz
tar zxf ImageMagick-6.2.6-1.tar.gz
cd ImageMagick-6.2.6
./configure --prefix=$HOME/unix/local
make
sudi make install
cd ..

-- 
               Keyboard Maestro 3.0 Now Available!

Keyboard Maestro <http://www.keyboardmaestro.com/> Macros for your Mac
<http://www.stairways.com/>           <http://download.stairways.com/>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.