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

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

本文介绍了使用自制软件安装imagemagick时出错的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试通过home brew安装imagemagick并收到以下错误:

I'm trying to install imagemagick via home brew and am getting the following error:

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并重新安装了它和命令行工具,它仍然抛出了这个错误。

I've completely uninstalled xcode and reinstalled it and command line tools and its still throwing this error.

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.

你认为其中任何一个都可能是问题吗?

Do you think any of those could be the problem?

感谢您的帮助!

编辑:

我正在运行Lion。
Brew是最新的。

I am running Lion.Brew is up to date.

推荐答案

好吧,昨天我遇到了同样的问题,在我的情况下解决方案令人惊讶的是,在之后,卸载了Mono Framework ,删除所有放置意外dynlib和.pc文件的软件包(在我的例子中与保险丝相关)。

Well, I hit the same issue yesterday, and in my case the solution surprisingly resulted in a combination of uninstalling the Mono Framework following Uninstalling Mono on Mac OS X, removing all packages that placed unexpected dynlibs and .pc files (which in my case were fuse-related).

但是,我确实根据自制软件的愿望设置了PATH ,将 / usr / local / bin 修改为PATH环境变量。

However, I did have the PATH set according to homebrew's wishes, amending /usr/local/bin to the PATH environment variable.

这篇关于使用自制软件安装imagemagick时出错的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-23 20:28