gpt4 book ai didi

gettext - Homebrew doctor : gettext found

转载 作者:行者123 更新时间:2023-12-02 14:32:38 33 4
gpt4 key购买 nike

我尝试运行 Homebrew 程序,以便在 5 月份的 mac 上安装一些 unix 工具,但开始时遇到问题。我已经删除了 fink 和 macports 并安装了 Homebrew 软件。

(我正在运行 Snow Leopard 10.6.8 并安装了 XCode 3.2.6。)

检查我的系统是否已准备好运行时,“brew doctor”命令报告了几个错误:第一个是:

Warning: gettext was detected in your PREFIX.
The gettext provided by Homebrew is "keg-only", meaning it does not
get linked into your PREFIX by default.

If you `brew link gettext` then a large number of brews that don't
otherwise have a `depends_on 'gettext'` will pick up gettext anyway
during the `./configure` step.

If you have a non-Homebrew provided gettext, other problems will happen
especially if it wasn't compiled with the proper architectures.

我该怎么办?或者我怎样才能删除这个?提前致谢干杯

最佳答案

在/usr/local/Library/Homebrew/cmd/doctor.rb 中我发现:

def check_for_gettext
if %w[lib/libgettextlib.dylib
lib/libintl.dylib
include/libintl.h ].any? { |f| File.exist? "#{HOMEBREW_PREFIX}/#{f}" }

虽然我个人从/usr/local 下删除了所有 get text 和 libintl,但将 libgettextlib.dylib、libintl.dylib 和 libintl.h 重命名为其他名称(例如带有 -pre-homebrew 的 postfix)可能就足够了。

关于gettext - Homebrew doctor : gettext found,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11870441/

33 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com