Symptoms
Below error occurs when installing Perl module Imagick:
Fetching http://www.cpan.org/authors/id/J/JO/JOUKE/Wx-Perl-Imagick-0.02.tar.gz ... OK
Wx-Perl-Imagick-0.02/
Wx-Perl-Imagick-0.02/Changes
Wx-Perl-Imagick-0.02/lib/
Wx-Perl-Imagick-0.02/lib/Wx/
Wx-Perl-Imagick-0.02/lib/Wx/Perl/
Wx-Perl-Imagick-0.02/lib/Wx/Perl/Imagick.pm
Wx-Perl-Imagick-0.02/Makefile.PL
Wx-Perl-Imagick-0.02/MANIFEST
Wx-Perl-Imagick-0.02/META.yml
Wx-Perl-Imagick-0.02/README
Wx-Perl-Imagick-0.02/t/
Wx-Perl-Imagick-0.02/t/00-load.t
Wx-Perl-Imagick-0.02/t/pod-coverage.t
Wx-Perl-Imagick-0.02/t/pod.t
Entering Wx-Perl-Imagick-0.02
Checking configure dependencies from META.yml
Running Makefile.PL
Warning: prerequisite Wx 0 not found.
Could not open 'lib\Wx\Perl\Imagick.pm': No such file or directory at /usr/local/share/perl5/ExtUtils/MM_Unix.pm line 2996.
Configuring Wx-Perl-Imagick-0.02 ... Checking if your kit is complete...
Looks good
! No MYMETA file is found after configure. Your toolchain is too old?
! Configure failed for Wx-Perl-Imagick-0.02. See /home/.cpanm/work/1617235064.25433/build.log for details.
N/A
cpanminus failed with non-zero exit status: 1
Description
The WHM Perl Module installer interface allows users to install Perl modules. However, when attempting to install the Imagick module, it fails because it is outdated and no longer maintained directly at CPAN for Perl modules. The correct way to address this concern is to install the YUM/RPM package for Perl-Imagemagick.
Most commonly, Perl and Pecl are confused as one is for Perl, and the other is for PHP. If you are looking to get PHP Imagick installed, see the below article.
How to Install ImageMagick for EA-PHP and ALT-PHP
Workaround
Install the YUM/RPM package and dependencies for ImageMagick-Perl.
Note: This package adds the functionality of ImageMagick to Perl. This is NOT for PHP.
yum install ImageMagick ImageMagick-c++ ImageMagick-devel ImageMagick-c++-devel ImageMagick-perl
Comments
0 comments
Article is closed for comments.