1

マウンテン ライオン ターミナルで brew doctor を実行すると、次のエラーが表示されます。


Warning: /usr/local/etc isn't writable.
This can happen if you "sudo make install" software that isn't managed
by Homebrew.

If a brew tries to write a file to this directory, the install will
fail during the link step.

You should probably `chown` /usr/local/etc
Warning: Some directories in /usr/local/share/man aren't writable.
This can happen if you "sudo make install" software that isn't managed
by Homebrew. If a brew tries to add locale information to one of these
directories, then the install will fail during the link step.
You should probably `chown` them:

    /usr/local/share/man/man8
Warning: Your XQuartz (2.7.2) is outdated
Please install XQuartz 2.7.4.
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/libicudata.49.1.2.dylib    /usr/local/lib/libicui18n.49.1.2.dylib    /usr/local/lib/libicuio.49.1.2.dylib    /usr/local/lib/libicule.49.1.2.dylib    /usr/local/lib/libiculx.49.1.2.dylib    /usr/local/lib/libicutest.49.1.2.dylib    /usr/local/lib/libicutu.49.1.2.dylib    /usr/local/lib/libicuuc.49.1.2.dylib
Warning: Unbrewed .pc files were found in /usr/local/lib/pkgconfig.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected .pc files:
    /usr/local/lib/pkgconfig/icu-i18n.pc    /usr/local/lib/pkgconfig/icu-io.pc    /usr/local/lib/pkgconfig/icu-le.pc    /usr/local/lib/pkgconfig/icu-lx.pc    /usr/local/lib/pkgconfig/icu-uc.pc
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/libc-client.a
Warning: Homebrew's sbin was not found in your path.
Consider amending your PATH variable so it contains:
  /usr/local/sbin

これらのエラーを修正するにはどうすればよいですか? それらを修正することは重要ですか、それとも無視してもよいですか? ありがとうございました。

4

1 に答える 1

0

テキストを注意深く読むと、実際にエラーを修正する方法が示されていることがわかります。

You should probably `chown` /usr/local/etc

You should probably `chown` them:

    /usr/local/share/man/man8

dylibs、.pc ファイル..

may need to be deleted

そのため、前述のディレクトリの所有者を自分のユーザーに変更し、不要なファイルを削除します (意図的にそこに配置していない場合)。

于 2013-03-21T15:54:30.850 に答える