2012-08-08 47 views
4

我試圖讓自制軟件運行,以便在may mac上安裝一些unix工具,並且無法入門。我已經刪除了fink和macports並安裝了自制軟件。homebrew doctor:gettext found

(我運行雪豹10.6.8和已安裝的XCode 3.2.6。)

當檢查我的系統是否準備好去「釀造醫生」命令報告的幾個誤區: 首先是:

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. 

我要做些什麼呢?或者我怎樣才能刪除這個? 在此先感謝 歡呼

回答

4

在/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}" } 

雖然我個人刪除一切得到的文本和的libintl從在/ usr /本地,將libgettextlib.dylib,libintl.dylib和libintl.h重命名爲其他內容(例如postfix與-pre-homebrew)可能就足夠了。