Need help installing bugzilla

ukgaz

Member
Aug 18, 2005
21
0
151
ok ive installed all but 2 modules

PerlMagick: /usr/bin/perl -MCPAN -e 'install Image::Magick'
mod_perl: /usr/bin/perl -MCPAN -e 'install mod_perl2'

i've installed ImageMagick via yum and still no luck, any suggestions?

OS: CentOS 4.4
 

WebScHoLaR

Well-Known Member
Dec 14, 2005
510
3
168
Planet Earth
ImageMagick (also known as PerlMagick) for perl uses ImageMagick libraries so the Perlmagick should be of corresponding ImageMagick version that is installed.It would be best to get a ImageMagick source and compile it manually. After installing Image::Magick you can install PerlMagick.

First of all check that at what path the existing ImageMagick is installed.

[email protected] [~]# whereis convert
convert: /usr/bin/convert

[email protected] [~]# /usr/bin/convert -version
Version: ImageMagick 6.3.2 04/04/07 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2007 ImageMagick Studio LLC
So on my server ImageMagick is installed at /usr/bin/ path so If I have to install a new ImageMagick, then it should be installed at the same path so that the existing version can be overridden and the server will be left with a single version.

In order to install a new version, I would do:

wget ftp://imagemagick.org/pub/ImageMagick/ImageMagick-6.3.5-5.tar.bz2
tar -xjvf ImageMagick-6.3.5-5.tar.bz2
cd ImageMagick-6.3.5
./configure --prefix=/usr
make
make install
So now we have ImageMagick-6.3.5-5 installed on the server. You can verify this as:

/usr/bin/convert -version

Now we will install PerlMagick:

cd PerlMagick
perl Makefile.PL
make
make install
You can verify that PerlMagick is installed as:

perl -e `use Image::Magick`
If it is properly installed then you will not receive any output otherwise an error:

Regarding mod_perl, you can download it from :

and install as mentioned at: