使用自制软件安装imagemagick时出错

使用自制软件安装imagemagick时出错,imagemagick,homebrew,Imagemagick,Homebrew,我试图通过自制软件安装imagemagick,但出现以下错误: Error: Failed executing: make install (imagemagick.rb:97) These existing issues may help you: https://github.com/mxcl/homebrew/issues/13618 Otherwise, this may help you fix or report the issue: https://github.com/mxcl/

我试图通过自制软件安装imagemagick,但出现以下错误:

Error: Failed executing: make install (imagemagick.rb:97)
These existing issues may help you:
https://github.com/mxcl/homebrew/issues/13618
Otherwise, this may help you fix or report the issue:
https://github.com/mxcl/homebrew/wiki/bug-fixing-checklist
我已经完全卸载了xcode并重新安装了它和命令行工具,它仍然抛出这个错误

brew doctor
发出一些警告:

Warning: /Library/Frameworks/Mono.framework detected
This can be picked up by CMake's build system and likely cause the build to
fail. You may need to move this file out of the way to compile CMake.
Warning: Unbrewed dylibs were found in /usr/local/lib.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected dylibs:
/usr/local/lib/libcdt.5.dylib    /usr/local/lib/libcgraph.6.dylib /usr/local/lib/libgraph.5.dylib    /usr/local/lib/libgvc.6.dylib    /usr/local/lib/libgvpr.2.dylib    /usr/local/lib/libpathplan.4.dylib     /usr/local/lib/libxdot.4.dylib
Warning: Unbrewed .pc files were found in /usr/local/lib/pkgconfig.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected .pc files:
/usr/local/lib/pkgconfig/libcdt.pc    /usr/local/lib/pkgconfig/libcgraph.pc    /usr/local/lib/pkgconfig/libgraph.pc    /usr/local/lib/pkgconfig/libgvc.pc    /usr/local/lib/pkgconfig/libgvpr.pc    /usr/local/lib/pkgconfig/libpathplan.pc    /usr/local/lib/pkgconfig/libxdot.pc
Warning: /usr/bin occurs before /usr/local/bin
This means that system-provided programs will be used instead of those
provided by Homebrew. The following tools exist at both paths:

2to3
pkg-config

Consider amending your PATH so that /usr/local/bin
occurs before /usr/bin in your PATH.
Warning: You have a non-Homebrew 'pkg-config' in your PATH:
/usr/bin/pkg-config => /Library/Frameworks/Mono.framework/Versions/2.10.9/bin/pkg-config

This was most likely created by the Mono installer. `./configure` may
have problems finding brew-installed packages using this other pkg-config.
你认为这些可能是问题所在吗

谢谢你的帮助

编辑:

我在跑狮子。
Brew是最新的。

好吧,我昨天遇到了同样的问题,在我的案例中,解决方案意外地导致卸载Mono框架,删除所有放置意外DynLib和.pc文件的包(在我的案例中是与fuse相关的)


但是,我确实按照自制的意愿设置了路径,将路径环境变量修改为
/usr/local/bin

brew doctor发出的单声道警告都不会让我担心。就我个人而言,我会解决路径一,看看你是否仍然会遇到同样的失败。@记住我该怎么做?找出~/.bashrc、~/.bash_profile、~/.profile或~/.zshrc中的哪一个,看看其中是否有涉及设置路径的语句。如果它已经在路径开头的“/usr/local/bin”中,则需要放置或移动它。因此,它最终看起来像export PATH=/usr/local/bin:$PATH,或者它可能看起来像export PATH=/usr/local/bin:/PATH/to/more/stuff(似乎无法正确设置格式=/),我不能说这有效,因为我不愿意卸载mono,但它似乎对其他人有效,所以我接受这个答案。