Subject: | can't install module |
Date: | Tue, 27 Jun 2017 17:04:12 +0100 |
To: | bug-PerlMagick [...] rt.cpan.org |
From: | Tomás Antunes <tomasantunes [...] gmail.com> |
Can't install module.
System info:
Perl 5.22.1
Ubuntu 16.04.2
Cpanm 1.7040
build log:
cpanm (App::cpanminus) 1.7040 on perl 5.022001 built for
x86_64-linux-gnu-thread-multi
Work directory is /home/tomas/.cpanm/work/1498579141.23753
You have make /usr/bin/make
You have LWP 6.15
You have /bin/tar: tar (GNU tar) 1.28
Copyright (C) 2014 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
Show quoted text
>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Written by John Gilmore and Jay Fenlason.
You have /usr/bin/unzip
Searching Image::Magick () on cpanmetadb ...
--> Working on Image::Magick
Fetching
http://www.cpan.org/authors/id/J/JC/JCRISTY/PerlMagick-6.89-1.tar.gz
-> OK
Unpacking PerlMagick-6.89-1.tar.gz
Entering PerlMagick-6.89
META.yml/json not found. Creating skeleton for it.
Configuring PerlMagick-6.89-1
Running Makefile.PL
Checking if your kit is complete...
Looks good
Generating a Unix-style Makefile
Writing Makefile for Image::Magick
Writing MYMETA.yml and MYMETA.json
-> OK
Checking dependencies from MYMETA.json ...
Checking if you have ExtUtils::MakeMaker 0 ... Yes (7.04_01)
Building and testing Image-Magick-6.89
cp Magick.pm blib/lib/Image/Magick.pm
AutoSplitting blib/lib/Image/Magick.pm (blib/lib/auto/Image/Magick)
Running Mkbootstrap for Image::Magick ()
chmod 644 "Magick.bs"
"/usr/bin/perl" "/usr/share/perl/5.22/ExtUtils/xsubpp" -typemap
"/usr/share/perl/5.22/ExtUtils/typemap" -typemap "typemap" Magick.xs >
Magick.xsc && mv Magick.xsc Magick.c
x86_64-linux-gnu-gcc -c -I/usr/local/include/ImageMagick-6
-DMAGICKCORE_HDRI_ENABLE=0 -DMAGICKCORE_QUANTUM_DEPTH=16
-I/usr/include/libxml2 -I"/usr/include/ImageMagick-6" -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=\"6.89\"
-DXS_VERSION=\"6.89\" -fPIC "-I/usr/lib/x86_64-linux-gnu/perl/5.22/CORE"
-D_LARGE_FILES=1 -DHAVE_CONFIG_H Magick.c
In file included from /usr/include/ImageMagick-6/magick/MagickCore.h:29:0,
from Magick.xs:60:
/usr/include/ImageMagick-6/magick/magick-config.h:21:38: fatal error:
magick/magick-baseconfig.h: No such file or directory
compilation terminated.
Makefile:350: recipe for target 'Magick.o' failed
make: *** [Magick.o] Error 1
-> FAIL Installing Image::Magick failed. See
/home/tomas/.cpanm/work/1498579141.23753/build.log for details. Retry with
--force to force install it.