Installing imagemagick under gnu linux

Table of Contents

Installing ImageMagick under GNU/Linux
Resources
Author
Licence

Installing imagemagick under gnu linux

Installing ImageMagick under GNU/Linux

Date: 3-Jul-2005.

OS: Linux pc 2.4.21-27.0.4.ELsmp #1 SMP $Date i686 i686 i386 GNU/Linux

Compiler: gcc V 3.2.3.

I found I could not install ImageMagick V 6.3.3 from source, due to a bug in the make file.

So, while trying that, and V 6.2.2, I made some notes.

  • Test to see which version is installed
    • This uses single quotes on the outside and doubles in the inside of the singles
    • perl -MImage::Magick -e 'print "$Image::Magick::VERSION\n"'
  • Go to ftp://mirror.aarnet.edu.au/pub/ImageMagick/
  • Download ImageMagick-6.2.2-5.tar.bz2

    Do not use V 6.3.3-3. Details below.

  • bunzip2 ImageMagick-6.2.2-5.tar.bz2
  • tar xvf ImageMagick-6.2.2-5.tar
  • cd ImageMagick-6.2.2
  • All this on one line...
    	./configure
    		--enable-shared
    		--disable-installed (so I can install in a non-system directory)
    		--with-modules
    		--with-perl-options=PERL=/home/ron
    		--prefix=/home/ron
  • make

    At this point, V 6.3.3-3 dies with: No rule to make target 'Magick++/bin/Magick++-config.1.

  • make install
  • Edit .bash_profile
    • Add

      PERL5LIB=/home/ron/lib:/home/ron/lib/perl5/site_perl

      where the dir before the : is for other local modules

      and the dir after the : is just for Image::Magick

    • Add

      export PERL5LIB

  • Source .bash_profile
  • Test, as above, with

    perl -MImage::Magick -e 'print "$Image::Magick::VERSION\n"'

    This must display: 6.2.2, i.e the version you installed, and not the version number of any previously installed version

Resources

http://www.imagemagick.org/script/advanced-unix-installation.php

Author

Ron Savage.

Home page: http://savage.net.au/index.html

This POD was converted to HTML by /Perl.html#fancy-pom2.pl

  • Version: 1.01 01-Jun-2006

    This version disguises my email address.

  • Version: 1.00 01-Jan-2005

    Original version.

Licence

Australian Copyright © 2002 Ron Savage. All rights reserved.

	All Programs of mine are 'OSI Certified Open Source Software';
	you can redistribute them and/or modify them under the terms of
	The Artistic License, a copy of which is available at:
	http://www.opensource.org/licenses/index.html
 
Top of page