Thread [Image::Magick] Installation schlägt fehl (14 answers)
Opened by GUIfreund at 2017-09-09 18:26

GUIfreund
 2017-09-09 18:26
#187387 #187387
User since
2011-08-08
559 articles
BenutzerIn
[default_avatar]
Ich habe vor einigen Tagen Image::Magick installiert und auch mehrfach erfolgreich benutzt. Heute jedoch ist es aus meinem PC verschwunden - ich weiß nicht warum. Leider bricht ein erneuter Installationsversuch ab mit der Fehlermeldung fatal error: magick/MagickCore.h: No such file or directory.
Den Log des Installationsversuchs füge ich bei. Ich hoffe, jemand kann mir sagen, wie ich die Installation erneut zu einem guten Ende bringen kann.
Ich habe einen PC mit Win 7 und perl "(v5.20.2) built for MSWin32-x86-multi-thread-64int".
more (4.8kb):

cpan> install Image::Magick
Fetching with LWP:
http://cpan.strawberryperl.com/authors/01mailrc.tx...
Fetching with LWP:
http://cpan.strawberryperl.com/modules/02packages....
Fetching with LWP:
http://cpan.strawberryperl.com/modules/03modlist.d...
Database was generated on Tue, 16 Jun 2015 09:29:45 GMT

Updating database file ...
Done!
Running install for module 'Image::Magick'
Fetching with LWP:
http://cpan.strawberryperl.com/authors/id/J/JC/JCR...
Fetching with LWP:
http://cpan.strawberryperl.com/authors/id/J/JC/JCR...
Checksum for C:\STRAWB~1\cpan\sources\authors\id\J\JC\JCRISTY\PerlMagick-6.89-1.
tar.gz ok
Scanning cache C:\STRAWB~1\cpan\build for sizes
..............................................------------------------------DONE

DEL(1/4): C:\STRAWB~1\cpan\build\WWW-Mechanize-1.75-DgDkBL
DEL(2/4): C:\STRAWB~1\cpan\build\WWW-Mechanize-1.75-DgDkBL.yml
DEL(3/4): C:\STRAWB~1\cpan\build\HTML-Element-Extended-1.18-EGGRkl
DEL(4/4): C:\STRAWB~1\cpan\build\HTML-Element-Extended-1.18-EGGRkl.yml
Configuring J/JC/JCRISTY/PerlMagick-6.89-1.tar.gz with Makefile.PL
################################### WARNING! ###################################

# It seems that you are trying to install Perl::Magick on a MS Windows box with
# perl + gcc compiler (e.g. strawberry perl), however we cannot find ImageMagick

# binaries installed on your system.
#
# Please check the following prerequisites:
#
# 1) You need to have installed ImageMagick Windows binaries from
# http://www.imagemagick.org/script/binary-releases....
#
# 2) We only support dynamic (DLL) ImageMagick binaries
# note: it is not possible to mix 32/64-bit binaries of perl and ImageMagick
#
# 3) During installation select that you want to install ImageMagick's
# development files (libraries+headers)
#
# 4) You also need to have ImageMagick's directory in your PATH
# note: we are checking the presence of convert.exe and/or identify.exe tools

#
# 5) You might need Visual C++ Redistributable Package installed on your system
# see instructions on ImageMagick's Binary Release webpage
#
# We are gonna continue, but chances for successful build are very low!
################################################################################

Checking if your kit is complete...
Looks good
Warning (mostly harmless): No library found for -lMagickCore
Generating a dmake-style Makefile
Writing Makefile for Image::Magick
Writing MYMETA.yml and MYMETA.json
JCRISTY/PerlMagick-6.89-1.tar.gz
C:\Strawberry\perl\bin\perl.exe Makefile.PL -- 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 ()
"C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command -e chmod -- 644 "Magick.bs
"
"C:\Strawberry\perl\bin\perl.exe" "C:\Strawberry\perl\lib\ExtUtils\xsubpp" -typ
emap "C:\STRAWB~1\perl\lib\ExtUtils\typemap" -typemap "typemap" Magick.xs > Mag
ick.xsc && "C:\Strawberry\perl\bin\perl.exe" -MExtUtils::Command -e mv -- Magick
.xsc Magick.c
gcc -c -s -O2 -DWIN32 -DPERL_TEXTMODE_SCRIPTS -DPERL_IMPLICIT_CONTEXT
-DPERL_IMPLICIT_SYS -DUSE_PERLIO -fwrapv -fno-strict-aliasing -mms-bitfields -s
-O2 -DVERSION=\"6.89\" -DXS_VERSION=\"6.89\" "-IC:\STRAWB~1\perl\lib\C
ORE" -D_LARGE_FILES=1 -DHAVE_CONFIG_H Magick.c
Magick.xs:60:31: fatal error: magick/MagickCore.h: No such file or directory
#include <magick/MagickCore.h>
^
compilation terminated.
dmake.exe: Error code 129, while making 'Magick.o'
JCRISTY/PerlMagick-6.89-1.tar.gz
C:\STRAWB~1\c\bin\dmake.exe -- NOT OK
Stopping: 'install' failed for 'Image::Magick'.
Failed during this command:
JCRISTY/PerlMagick-6.89-1.tar.gz : make NO


cpan> q
Lockfile removed.
Gruß
GUIfreund

View full thread [Image::Magick] Installation schlägt fehl