2012年6月30日土曜日

brew doctor対処法 Error: Some keg-only formula are linked into the Cellar.

brew doctorを叩いて、見たこともないエラーが飛び出したので、その対処法。
Error: Some keg-only formula are linked into the Cellar.
Linking a keg-only formula, such as gettext, into the cellar with
`brew link f` will cause other formulae to detect them during the
`./configure` step. This may cause problems when compiling those
other formulae.

Binaries provided by keg-only formulae may override system binaries
with other strange results.

You may wish to `brew unlink` these brews:

    readline
なんかbrew link fをみれば、どこに原因があるかわかるようなことを、お医者さんは言ってるが、わけわからん。

てことで、
最後の一行が一番重要だった。
 $ brew unlink readline 
でもう一度brew doctorするとエラーは消えました。
このやり方で正しかったのだろうか若干疑問ですが、エラーは消えました。笑