Subject: | fatal error: magick/magick-baseconfig.h: No such file or directory |
$ cpan Image::MagickLoading internal null logger. Install Log::Log4perl for logging messages
Reading '/home/user/.cpan/Metadata'
Database was generated on Tue, 12 Apr 2016 16:17:02 GMT
Running install for module 'Image::Magick'
Checksum for /home/user/.cpan/sources/authors/id/J/JC/JCRISTY/PerlMagick-6.89-1.tar.gz ok
Configuring J/JC/JCRISTY/PerlMagick-6.89-1.tar.gz with 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
JCRISTY/PerlMagick-6.89-1.tar.gz
/usr/bin/perl Makefile.PL INSTALLDIRS=site -- OK
Running make for J/JC/JCRISTY/PerlMagick-6.89-1.tar.gz
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:349: recipe for target 'Magick.o' failed
make: *** [Magick.o] Error 1
JCRISTY/PerlMagick-6.89-1.tar.gz
/usr/bin/make -- NOT OK
user@ubuntu-1604-amd64-setupru:~/work/setup.ru/site/app/lib/SC/Site$ find /usr/include/x86_64-linux-gnu/ImageMagick-6/
/usr/include/x86_64-linux-gnu/ImageMagick-6/
/usr/include/x86_64-linux-gnu/ImageMagick-6/magick
/usr/include/x86_64-linux-gnu/ImageMagick-6/magick/magick-baseconfig.h