[英]Trying to install Imagemagick through Homebrew
Trying to install Imagemagick through Homebrew and I'm getting the following errors when I run brew doctor: 尝试通过Homebrew安装Imagemagick,运行brew doctor时出现以下错误:
Warning: "config" scripts exist outside your system or Homebrew directories. 警告:“ config”脚本存在于系统或Homebrew目录之外。
./configure
scripts often look for *-config scripts to determine if software packages are installed, and what additional flags to use when compiling and linking. ./configure
脚本通常会寻找* -config脚本来确定是否安装了软件包,以及在编译和链接时使用哪些其他标志。
Having additional scripts in your path can confuse software installed via Homebrew if the config script overrides a system or Homebrew provided script of the same name. 如果配置脚本覆盖系统或Homebrew提供的同名脚本,则在路径中包含其他脚本可能会使通过Homebrew安装的软件感到困惑。 We found the following "config" scripts:
我们发现以下“ config”脚本:
/opt/sm/pkg/active/bin/curl-config
/opt/sm/pkg/active/bin/ncurses5-config
/opt/sm/pkg/active/bin/ncursesw5-config
/opt/sm/pkg/active/bin/pkg-config
/opt/sm/pkg/active/bin/xml2-config
/opt/sm/pkg/active/bin/xslt-config
Warning: Unbrewed dylibs were found in /usr/local/lib. 警告:在/ usr / local / lib中发现了未酿酒的dylib。 If you didn't put them there on purpose they could cause problems when building Homebrew formulae, and may need to be deleted.
如果您没有故意将它们放在此处,则它们在构建Homebrew公式时可能会引起问题,并且可能需要删除。
Unexpected dylibs: /usr/local/lib/libical.0.0.0.dylib /usr/local/lib/libicalss.0.0.0.dylib /usr/local/lib/libicalvcal.0.0.0.dylib /usr/local/lib/libltdl.3.1.0.dylib 意外的dylib:/usr/local/lib/libical.0.0.0.dylib /usr/local/lib/libicalss.0.0.0.dylib /usr/local/lib/libicalvcal.0.0.0.dylib / usr / local / lib / libltdl.3.1.0.dylib
Warning: Unbrewed .la files were found in /usr/local/lib. 警告:在/ usr / local / lib中找到未酿酒的.la文件。 If you didn't put them there on purpose they could cause problems when building Homebrew formulae, and may need to be deleted.
如果您没有故意将它们放在此处,则它们在构建Homebrew公式时可能会引起问题,并且可能需要删除。
Unexpected .la files: /usr/local/lib/libical.la /usr/local/lib/libicalss.la /usr/local/lib/libicalvcal.la /usr/local/lib/libltdl.la 意外的.la文件:/usr/local/lib/libical.la /usr/local/lib/libicalss.la /usr/local/lib/libicalvcal.la /usr/local/lib/libltdl.la
Warning: Unbrewed static libraries were found in /usr/local/lib. 警告:在/ 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.
如果您没有故意将它们放在此处,则它们在构建Homebrew公式时可能会引起问题,并且可能需要删除。
Unexpected static libraries: /usr/local/lib/libdevkit.a /usr/local/lib/libical.a /usr/local/lib/libicalss.a /usr/local/lib/libicalvcal.a /usr/local/lib/libkld.a /usr/local/lib/libltdl.a /usr/local/lib/libredo_prebinding.a 意外的静态库:/usr/local/lib/libdevkit.a /usr/local/lib/libical.a /usr/local/lib/libicalss.a /usr/local/lib/libicalvcal.a / usr / local / lib /libkld.a /usr/local/lib/libltdl.a /usr/local/lib/libredo_prebinding.a
Any ideas? 有任何想法吗?
You can either remove /opt/sm/pkg/active/bin
from your PATH
and/or remove the unbrewed libraries, or ignore the warnings if you know what you doing, and accept the potential consequences of mix-and-match builds. 您可以从
PATH
删除/opt/sm/pkg/active/bin
和/或删除未完成的库,或者如果知道自己在做什么就忽略警告,并接受混合匹配构建的潜在后果。
These issues might not actually prevent you from building or installing anything. 这些问题可能实际上并不能阻止您构建或安装任何东西。 They are just advice in case something does fail.
他们只是建议,以防万一某些事情失败了。
See also https://github.com/mxcl/homebrew/issues/17934 , for instance. 例如,另请参见https://github.com/mxcl/homebrew/issues/17934 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.