bash MagickWand ./configure 找不到 MagickWand-config
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/6162472/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
MagickWand ./configure can't find MagickWand-config
提问by earachefl
I've been trying unsuccessfully to install ImageMagick and am stuck at this point. I've dled and phpized MagickWand and am trying to run ./configure and get the error:
我一直在尝试安装 ImageMagick 没有成功,但此时我卡住了。我已经对 MagickWand 进行了 dled 和 phpized 处理,并且正在尝试运行 ./configure 并出现错误:
checking MagickWand-config in default path... configure: error: Cannot locate configuration program MagickWand-config
在默认路径中检查 MagickWand-config... 配置:错误:找不到配置程序 MagickWand-config
I've tried both export PATH=$PATH:/opt/local/bin and export PATH=$PATH:/opt/local/bin/
我试过 export PATH=$PATH:/opt/local/bin 和 export PATH=$PATH:/opt/local/bin/
and have also tried adding the paths to my .bash_profile file. I've also confirmed that there is a MagickWand-config executable in my /opt/local/bin directory.
并且还尝试将路径添加到我的 .bash_profile 文件中。我还确认在我的 /opt/local/bin 目录中有一个 MagickWand-config 可执行文件。
Suggestions?
建议?
回答by Charlie Schliesser
Try sudo apt-get install libmagickwand-devand then run ./configure. Worked for me on Ubuntu 10.04 after grabbing MagickWand 1.0.8 source from http://www.magickwand.org/download/php/.
尝试sudo apt-get install libmagickwand-dev然后运行./configure。从http://www.magickwand.org/download/php/获取 MagickWand 1.0.8 源代码后,我在 Ubuntu 10.04 上对我来说有效。
回答by senraj
- Check MagickWand-config - if it doesn't install,
- Run
sudo apt-get install libmagickwand-devin your server - Reference the MagicWand-config man pagesfor further options
- 检查 MagickWand-config - 如果没有安装,
sudo apt-get install libmagickwand-dev在你的服务器上运行- 更多选项请参考MagicWand-config 手册页

