Homebrew のエラーとその対処
何かターミナルで操作をしたら、 Homebrewで必ず何かワーニングが出ると思った方が良い。とにかくこまめにbrew doctorしておいた方が良い。
書きたかったのはそれだけ。消せと言われるのを素直に消すのはチョット勇気がいるんだけど、辿ってみたらそう気に病む事はなさそうだった。以下おまけ
Warning:Unbrewed dylibs were found in /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.Unexpected dylibs:
/usr/local/lib/libjuman.4.dylib
これが出たときは余計なファイルを削除してやればよい。
$ rm -rf /usr/local/lib/libjuman.4.dylib
Warning: Unbrewed .la files were found in /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.Unexpected .la files:
/usr/local/lib/libjuman.la
これも削除要求
$ rm -rf /usr/local/lib/libjuman.la
Warning: Unbrewed header files were found in /usr/local/include.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.Unexpected header files:
/usr/local/include/juman.h
/usr/local/include/juman_pat.h
削除
$ rm -rf /usr/local/include/juman.h
$ rm -rf /usr/local/include/juman_pat.h
Warning: Unbrewed static libraries were found in /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.Unexpected static libraries:
/usr/local/lib/libjuman.a
$ rm -rf /usr/local/lib/libjuman.a