r3 - 14 Jun 2007 - 00:38:28 - KeithHelfrichYou are here: TWiki >  Support Web > HowToInstallImageMagickOnRedHat > HowToInstallImageMagickOnSuse
Tags:
, create new tag

How to install Imagemagick on SuSE Linux

I could not get ImagePlugin to work. It appeared that CPAN:Image::Magick was not picked up.

Adapting the instructions from HowToInstallImageMagickOnRedHat, the only difference was that we use the YAST setup tool provided by suse to install libjpeg-devel instead of 'yum' which is specific to redhat. Otherwise, the process is identical.

Environment

TWiki version: unspecified
TWiki plugins:  
Server OS: Suse Linux
Web server: Apache
Categories: Installation, Plugins
-- KeithHelfrich - 08 Jun 2007

Answer

Adapted slightly from HowToInstallImageMagickOnRedHat :

Install libjpeg-devel (needed for ImageMagick):

$ yast2
$   software --> Install and Remove Software --> Search --> libjpeg -->
$      install libjpeg-devel

Install ImageMagick from source:

$ wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz
$ gunzip -c ImageMagick.tar.gz | tar xvf -
$ cd ImageMagick-6.?.?
$ ./configure -with-perl=/usr/bin/perl
$ make; make install

Ensure that the ImageMagick libraries will be picked up by the system.
Edit /etc/ld.so.conf and add the following line to the end of the file:

/usr/local/lib/

Then run the following command to update the library database:

$ /sbin/ldconfig

Test that PerlMagick works:

$ perl -MImage::Magick -e 1
If the output from this command is blank then all is well. If instead you get an error saying the Image::Magick module can’t be found then read Getting ImageMagick and PerlMagick working on Fedora Core.

-- KeithHelfrich - 08 Jun 2007

Uh oh... after installing CPAN:Image:Magick according to the steps above, now my server does not respond. The CPAN:Image:Magick installation was clean (I didn't notice any problems). And the perl -MImage::Magick -e 1 command came back with a blank line.

Thereafter, the performance deteriorated and now I can't get a logon prompt. It's as if it has gone into paralysis. Any ideas ?

-- KeithHelfrich - 08 Jun 2007

OK, the problems on my server were sorted out and they don't seem to be related at all to the CPAN:Image:Magick installation. So these instructions remain valid.

-- KeithHelfrich - 14 Jun 2007

 
Change status to:
Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r3 < r2 < r1 | More topic actions
 
Powered by TWiki
This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback SourceForge.net Logo