简体   繁体   English

ImageMagick与自制

[英]ImageMagick with Homebrew

I am installing ImageMagick with Homebrew by doing brew install imagemagick --with-x11 . 我通过执行brew install imagemagick --with-x11与Homebrew一起brew install imagemagick --with-x11

Many of the commands like convert , display , montage work fine but animate does not work. 诸如convertdisplaymontage许多命令都convert正常工作,但是animate不起作用。

$ animate
-bash: /opt/ImageMagick/bin/animate: No such file or directory

I've tried using the --HEAD flag and also uninstalling using brew and reinstalling but the same error still persist. 我尝试使用--HEAD标志,还使用brew卸载并重新安装,但相同的错误仍然存​​在。

You should have a look at the ${FORMULA} used by your homebrew-ed installation: 您应该看一下自制软件安装所使用的${FORMULA}

brew edit imagemagick

This will open a file in a text editor listing all settings and commands used to build your homebrew-ed ImageMagick. 这将在文本编辑器中打开一个文件,其中列出了用于构建自制软件ImageMagick的所有设置和命令。

Do you discover anything in there that may disable the building of animate ? 您是否在其中发现任何可能无法建立animate


Also to check: 还要检查:

  • Did you run brew update ? 您是否运行brew update

  • Did you run brew doctor ? 你有做brew doctor吗? Did you follow all recommendations the brew-doctor told you? 您是否遵循酿酒医生告诉您的所有建议?

  • What version of homebrew do you use ( brew --version )? 您使用什么版本的自制软件( brew --version )?

  • What is the output of brew --env and brew --config ? brew --envbrew --config的输出是什么?

  • Did you install into a non-recommended directory? 您是否安装到非推荐目录中? Looks like, looking at your attempt to run /opt/ImageMagick/bin/animate ... 看起来像在看着您尝试运行/opt/ImageMagick/bin/animate尝试...

    Did you try ls -l /opt/local/ImageMagick*/bin/ | grep animate 您是否尝试过ls -l /opt/local/ImageMagick*/bin/ | grep animate ls -l /opt/local/ImageMagick*/bin/ | grep animate ? ls -l /opt/local/ImageMagick*/bin/ | grep animate

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM