Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Thu, 06 May 2010 02:29:01 GMT
Image::Magick is up to date.
And this is the bugzilla error:
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
CPAN: Storable loaded ok
Going to read /root/.cpan/Metadata
Database was generated on Thu, 06 May 2010 02:29:01 GMT
Image::Magick is up to date.
It says Image::Magick is installed and is up-to-date as well. But somehow bugzilla is not finding the modules.
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:
&Image::Magick::constant not defined. The required ImageMagick libraries are not installed or not installed properly.
END failed--call queue aborted.
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.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
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.
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
cd imageMagick
./configure
make
make install
Code:
cd PerlMagick
perl Makefile.PL
make install
All was I needed to do. Working fine now.
@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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.