【Homebrew】brew doctorのWarning対処方法 (その2)

スポンサーリンク

久しぶりにHomebrewの更新をしようと思ったらWarningが表示されたので確認と対応をしました。

$ brew doctor


まずはXcodeのライセンスに同意しろと言ってるようです。そういえばアップデートしてから一回も開いてなかったな。

Agreeing to the Xcode/iOS license requires admin privileges, please re-run as root via sudo.

...

Warning: You have not agreed to the Xcode license.
Builds will fail! Agree to the license by opening Xcode.app or running:
    xcodebuild -license

起動するとライセンス同意の画面になるので「Agree」ボタンを押します。

f:id:tasukujp:20141119215219p:plain


次はこれ。追加されたチェックに引っかかってるそう。削除すれば消えるんだろうけど正直よくわからない。英語が読めれば…。とりあえずそのままにしておいても大丈夫な雰囲気なんでしばらく放置しておきます。 unexpected header files · Issue #32655 · Homebrew/legacy-homebrew · GitHub

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/fakemysql.h
    /usr/local/include/fakepq.h
    /usr/local/include/fakesql.h
    /usr/local/include/itcl.h
    /usr/local/include/itcl2TclOO.h
    /usr/local/include/itclDecls.h
    /usr/local/include/itclInt.h
    /usr/local/include/itclIntDecls.h
    /usr/local/include/itclMigrate2TclCore.h
    /usr/local/include/itclTclIntStubsFcn.h
    /usr/local/include/mysqlStubs.h
    /usr/local/include/odbcStubs.h
    /usr/local/include/pqStubs.h
    /usr/local/include/tcl.h
    /usr/local/include/tclDecls.h
    /usr/local/include/tclOO.h
    /usr/local/include/tclOODecls.h
    /usr/local/include/tclPlatDecls.h
    /usr/local/include/tclThread.h
    /usr/local/include/tclTomMath.h
    /usr/local/include/tclTomMathDecls.h
    /usr/local/include/tdbc.h
    /usr/local/include/tdbcDecls.h
    /usr/local/include/tdbcInt.h
    /usr/local/include/tk.h
    /usr/local/include/tkDecls.h
    /usr/local/include/tkPlatDecls.h