Error installing Image::Magick via CPAN
1 Attachment(s)
Hello all,
There is this server that I have just put with Bugzilla. It needs Image::Magick module for rendering bmp or other image types to png to save some disk space and compress the images. The best way to install it is using CPAN repos. And it gives whole lot of errors. I am attaching the file for errors. But if try to install from cpan console it says Image::Magick is already the recent version. Code:
cpan> install Image::Magick Code:
The new value for convert_uncompressed_images is invalid: Error requiring Image::Magick: 'Can't load '/usr/lib/perl5/site_perl/5.8.8/i386-linux-thread-multi/auto/Image/Magick/Magick.so' for module Image::Magick: libMagickCore.so.3: cannot open shared object file: No such file or directory at /usr/lib/perl5/5.8.8/i386-linux-thread-multi/DynaLoader.pm line 230. at (eval 134) line 3 Compilation failed in require at (eval 134) line 3. '. |
|
That does not solve the issue. I already have the settings done in CPAN.pm and make has correct path. I have tried installing using yum as well.
And you are missing on this statement of mine: Code:
cpan> install Image::Magick |
These are the results for my yum installation for ImageMagick:
Code:
Package ImageMagick-6.2.8.0-4.el5_1.1.i386 already installed and latest version Code:
Package ImageMagick-perl-6.2.8.0-4.el5_1.1.i386 already installed and latest version |
Have you tried removing and re-installing it ?
What about giving a force update. |
Yes tried reinstalling everything. Still the same error. Please do not ask to reinstall bugzilla. This is another error given by bugzilla:
Code:
Software error: |
# yum install ImageMagick-perl bugzilla
bugzilla is in the EPEL repo ( and has 42 dependencies.) https://fedoraproject.org/wiki/EPEL https://fedoraproject.org/wiki/EPEL/FAQ#howtouse I don't known how you used (or installed) bugzilla ? ? May be show some command(s), you tried to use. http://tldp.org/LDP/bugzilla/Bugzilla-Guide/how.html https://landfill.bugzilla.org/bugzilla-tip/ |
I manually installed bugzilla as given in the documentation. Everything is fine. This Image::Magick is required for image compression. I have already installed ImageMagick ImageMagick-perl ImageMagick-devel. And you can see that CPAN does say that it is installed and up-to-date as well.
|
For the sake of completeness, these are the bugzilla dependencies,
when yum installs it ...... mod_perl perl-AppConfig perl-BSD-Resource perl-Convert-ASN1 perl-Convert-BinHex perl-Email-Abstract perl-Email-Address perl-Email-MIME perl-Email-MIME-Attachment-Stripper perl-Email-MIME-ContentType perl-Email-MIME-Creator perl-Email-MIME-Encodings perl-Email-MIME-Modifier perl-Email-MessageID perl-Email-Reply perl-Email-Send perl-Email-Simple perl-Email-Simple-Creator perl-File-HomeDir perl-IO-Socket-SSL perl-IO-stringy perl-LDAP perl-MIME-Lite perl-MIME-Types perl-MIME-tools perl-MailTools perl-Module-Pluggable perl-Net-SSLeay perl-Pod-POM perl-Return-Value perl-SOAP-Lite perl-TeX-Hyphen perl-Template-Toolkit perl-Text-Autoformat perl-Text-Reform perl-TimeDate perl-XML-NamespaceSupport perl-XML-Parser perl-XML-SAX perl-XML-Twig perl-version ( Most of these are from the EPEL repo.) When you tell, which actions you are taking for the error to appear, there may be a solution. Are you doing a command to compress images ? Which command ? Or is some GUI used ? → → Which Menu or button ? ? .. |
There is this option in bugzilla administration to compress the images attached to save the disk space. If I just enable it through the radio button and click Save, it gives all the errors I have pasted in the above posts.
I will try out the yum install for bugzilla on some other test machine and then let you know. But this will not solve my problem. The bugzilla is in use so it will not be possible to remove it or replace it immediately. Will see if just replacing the mysql database works for it. The page is here: Bugzilla > Administration > Parameters > Index > convert_uncompressed_images. This option can be enabled or disabled using a radio button. It makes the use of Image::Magick. |
@knudfl
Added the EPEL repository and installed all the dependencies it would install with bugzilla but the problem still persists. |
Done. I am going to mark it solved. Had to manually install the ImageMagick and PerlMagick.
Code:
wget ftp://ftp.imagemagick.org/pub/ImageMagick/ImageMagick.tar.gz Code:
cd PerlMagick @knudfl, The bugzilla version in EPEL repos is old. Testopia would not work on 3.2 version. The one I am running is 3.4.5. So installing from yum would not completely solve my problem. |
All times are GMT -5. The time now is 06:42 AM. |