繁体   English   中英

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

[英]Error installing imagemagick with 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/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.

您是否认为这可能是问题所在?

谢谢你的帮助!

编辑:

我在跑狮子。 现酿啤酒是最新的。

好吧,我昨天遇到了同样的问题,就我而言,该解决方案出人意料地导致在Mac OS X上卸载Mono之后,先卸载Mono Framework,然后删除所有放置了意外Dynlib和.pc文件的软件包(在我的情况下是与保险丝有关)。

但是,我确实按照自制软件的要求设置了PATH,并将/usr/local/bin修改为PATH环境变量。

暂无
暂无

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

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