This question about Configuration: Answered
Image::Magick Unknown version installed
I have some problems to make all dependencies for
NatSkin and dependencies running on my system.
$ perl tools/dependencies
Image::Magick Image::Magick Unknown version installed *Version 6.2.4.5 required for Used by: ImagePlugin* Image::Magick version >= 6.2.4.5 required-- installed version is 0
It's a clean official install v2.1.6 on Ubuntu 20.04
I have tried to re-install, disable/enable
ImagePlugin and also I have tried to install Image::Magic with CPAN.
Actually, I have an error installing the module with CPAN. I do not know CPAN though.
$ sudo cpan Image::Magick
Reading '/root/.cpan/Metadata'
Database was generated on Sat, 27 Feb 2021 15:17:03 GMT
Running install for module 'Image::Magick'
Checksum for /root/.cpan/sources/authors/id/J/JC/JCRISTY/PerlMagick-7.0.10.tar.gz ok
Configuring J/JC/JCRISTY/PerlMagick-7.0.10.tar.gz with Makefile.PL
Checking if your kit is complete...
Looks good
Warning (mostly harmless): No library found for -lMagickCore-7.Q16HDRI
Generating a Unix-style Makefile
Writing Makefile for Image::Magick
Writing MYMETA.yml and MYMETA.json
JCRISTY/PerlMagick-7.0.10.tar.gz
/usr/bin/perl Makefile.PL INSTALLDIRS=site -- OK
Running make for J/JC/JCRISTY/PerlMagick-7.0.10.tar.gz
cp Magick.pm blib/lib/Image/Magick.pm
AutoSplitting blib/lib/Image/Magick.pm (blib/lib/auto/Image/Magick)
Running Mkbootstrap for Magick ()
chmod 644 "Magick.bs"
"/usr/bin/perl" -MExtUtils::Command::MM -e 'cp_nonempty' -- Magick.bs blib/arch/auto/Image/Magick/Magick.bs 644
"/usr/bin/perl" "/usr/share/perl/5.30/ExtUtils/xsubpp" -typemap '/usr/share/perl/5.30/ExtUtils/typemap' -typemap '/root/.cpan/build/PerlMagick-7.0.10-1/typemap' Magick.xs > Magick.xsc
mv Magick.xsc Magick.c
x86_64-linux-gnu-gcc -c -I/usr/local/include/ImageMagick-7 -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -I/usr/include/libxml2 -I"/usr/include/ImageMagick-7" -D_REENTRANT -D_GNU_SOURCE -DDEBIAN -fwrapv -fno-strict-aliasing -
pipe -I/usr/local/include -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/include/freetype2 -g -O2 -Wall -pthread -DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16 -O2 -g -DVERSION=\"7.0.10\" -DXS_VERSION=\"7.0.10\" -fPIC "-I/
usr/lib/x86_64-linux-gnu/perl/5.30/CORE" -D_LARGE_FILES=1 -DHAVE_CONFIG_H Magick.c
Magick.xs:56:10: fatal error: MagickCore/MagickCore.h: No such file or directory
56 | #include <MagickCore/MagickCore.h>
| ^~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
make: *** [Makefile:349: Magick.o] Error 1
JCRISTY/PerlMagick-7.0.10.tar.gz
/usr/bin/make -- NOT OK
I'm out of ideas on how to make it work.
--
CieskaIzabelijus - 27 Feb 2021
Image::Magick is not installable via cpan. You'll have to download it from
here.
--
MichaelDaum - 27 Feb 2021
Best solution by today is to use Alien::ImageMagick. This downloads and compiles the most recent version automatically.
--
MichaelDaum - 26 Jul 2024