Homebrew doctor: gettext found

I am trying to run homebrew to install some unix tools on the May Mac, and you are having trouble starting. I already uninstalled fink and macports and installed homebrew.

(I am running Snow Leopard 10.6.8 and Xcode 3.2.6 is installed.)

When checking the readiness of my system, the "brew doctor" command reports several errors: First:

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. 

What can I do? Or how can I remove this? thanks in advance greetings

+4
source share
1 answer

In / usr / local / Library / Homebrew / cmd / doctor.rb I found:

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

While I personally deleted everything, getting the text and libintl from under / usr / local, it is probably enough to rename libgettextlib.dylib, libintl.dylib and libintl.h to another (for example, postfix with -pre-homebrew).

+4
source

All Articles