Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/image-processing/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Image processing image::magick未在DWImpel的perl v5.14.2中与cpan一起安装_Image Processing_Installation_Cpan - Fatal编程技术网

Image processing image::magick未在DWImpel的perl v5.14.2中与cpan一起安装

Image processing image::magick未在DWImpel的perl v5.14.2中与cpan一起安装,image-processing,installation,cpan,Image Processing,Installation,Cpan,我正在尝试在运行windows7 32位的新笔记本电脑上重建我的开发/测试环境。imageMagick是我在旧笔记本电脑上安装的(古代)版本的模块之一。我从dwimpel下载并安装了perl,dwimpel是v5.14.2,安装了几个模块,但有几个模块没有安装 cpanm映像::Magick-失败 cpanm DB_文件-失败 cpanm时间::雇用-失败 我四处搜索,发现了一个关于magick未能在v5.12上安装的讨论,但无法判断这是否应该得到修复,或者我是否需要尝试重新创建5.12中讨

我正在尝试在运行windows7 32位的新笔记本电脑上重建我的开发/测试环境。imageMagick是我在旧笔记本电脑上安装的(古代)版本的模块之一。我从dwimpel下载并安装了perl,dwimpel是v5.14.2,安装了几个模块,但有几个模块没有安装

  • cpanm映像::Magick-失败
  • cpanm DB_文件-失败
  • cpanm时间::雇用-失败
我四处搜索,发现了一个关于magick未能在v5.12上安装的讨论,但无法判断这是否应该得到修复,或者我是否需要尝试重新创建5.12中讨论的修复

我应该尝试从草莓安装perl吗?看起来它比v5.18更新了一点? 我可以调整并重新运行cpan安装吗

我首先从imagemagick安装了二进制文件,然后又从cpan安装了二进制文件,但cpan仍然失败

这是构建日志的顶部部分,它将真正转到南部并开始排除错误:

cpanm (App::cpanminus) 1.6941 on perl 5.014002 built for MSWin32-x86-multi-thread
Work directory is C:\Users\dtbaker/.cpanm/work/1377281741.8420
You have make C:\Dwimperl\c\bin\dmake.exe
You have LWP 6.03
Falling back to Archive::Tar 1.80
Searching Image::Magick on cpanmetadb ...
--> Working on Image::Magick
Fetching http://www.cpan.org/authors/id/J/JC/JCRISTY/PerlMagick-6.86.tar.gz
-> OK
Unpacking PerlMagick-6.86.tar.gz
Entering PerlMagick-6.86
META.yml/json not found. Creating skelton for it.
Configuring PerlMagick-6.86
Running 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.php#windows
#
# 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
Note (probably harmless): No library found for -lMagickCore-6.Q16
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 (6.62)
Building and testing Image-Magick-6.86
cp Magick.pm blib\lib\Image\Magick.pm
AutoSplitting blib\lib\Image\Magick.pm (blib\lib\auto\Image\Magick)
C:\Dwimperl\perl\bin\perl.exe C:\Dwimperl\perl\lib\ExtUtils\xsubpp  -typemap C:\Dwimperl\perl\lib\ExtUtils\typemap -typemap typemap  Magick.xs > Magick.xsc && C:\Dwimperl\perl\bin\perl.exe -MExtUtils::Command -e mv -- Magick.xsc Magick.c
gcc -c      -s -O2 -DWIN32  -DPERL_TEXTMODE_SCRIPTS -DUSE_SITECUSTOMIZE -DPERL_IMPLICIT_CONTEXT -DPERL_IMPLICIT_SYS -fno-strict-aliasing -mms-bitfields -s -O2    -DVERSION=\"6.86\"    -DXS_VERSION=\"6.86\"  "-IC:\Dwimperl\perl\lib\CORE"  -D_LARGE_FILES=1 -DHAVE_CONFIG_H Magick.c
Magick.xs:60:31: error: magick/MagickCore.h: No such file or directory
Magick.xs:167: error: expected specifier-qualifier-list before 'MagickRealType'
Magick.xs:188: error: expected specifier-qualifier-list before 'ImageInfo'
Magick.xs:210: error: 'MagickNoiseOptions' undeclared here (not in a function)
但是,我们无法在您的系统上找到安装的ImageMagick二进制文件

ImageMagick是否在你的道路上,正如上文所建议的那样?打开
cmd.exe
并键入
convert-v
convert.exe-v
。如果您没有看到有关Image Magick的信息(Windows有一个内置的
convert
命令),则很可能是这样


您还必须检查点1)、3)和5)。之后,请尝试通过
cpanm

再次运行安装过程。为什么安装失败,除了列出的“失败”消息之外,您还有更多信息吗?这是cpanm的生成日志:我无法粘贴到生成日志中,它太长了。。。它给出的第一个错误是。。。。未找到进入PerlMagick-6.86 META.yml/json的解包PerlMagick-6.86.tar.gz。为它创造骷髅。从35日各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各各警告似乎您正试图在MS Windows box上使用#Perl+gcc编译器(例如草莓Perl)安装Perl::Magick,但是我们在您的系统上找不到安装的ImageMagick二进制文件。。。。。。。。这很奇怪,因为我直接安装了二进制文件。编辑你的问题并在那里添加信息。请不要把它放在评论中。好的,我会尝试粘贴在日志的顶部。。。。