HomeBrewでpyenvをインストールしたが、brew doctor
で怒られてしまった。
ebisennet$ brew doctor
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!
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 `sudo chown -R $(whoami)` them:
/usr/local/share/man/man8
Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and what additional flags to use when
compiling and linking.
Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew provided
script of the same name. We found the following "config" scripts:
/usr/local/var/pyenv/shims/curl-config
/usr/local/var/pyenv/shims/freetype-config
/usr/local/var/pyenv/shims/libdynd-config
/usr/local/var/pyenv/shims/libpng-config
/usr/local/var/pyenv/shims/libpng16-config
/usr/local/var/pyenv/shims/python-config
/usr/local/var/pyenv/shims/python2-config
/usr/local/var/pyenv/shims/python2.7-config
/usr/local/var/pyenv/shims/python3-config
/usr/local/var/pyenv/shims/python3.5-config
/usr/local/var/pyenv/shims/python3.5m-config
/usr/local/var/pyenv/shims/xml2-config
/usr/local/var/pyenv/shims/xslt-config
Warning: Your Homebrew is outdated.
You haven't updated for at least 24 hours. This is a long time in brewland!
To update Homebrew, run `brew update`.
#Warning1
内容は/usr/local/share/manの幾つかのディレクトリに書き込めないと言われました。
権限(permission)を変更して、書き込めるようにしましょう。
sudo chown -R $(whoami) /usr/local/share/man
または
# ユーザー名は今使っているユーザ名です。
sudo chown -R 'ユーザー名' /usr/local/share/man
実行した後もう一度 brew doctor
をすると
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry and just ignore them. Thanks!
Warning: "config" scripts exist outside your system or Homebrew directories.
`./configure` scripts often look for *-config scripts to determine if
software packages are installed, and what additional flags to use when
compiling and linking.
Having additional scripts in your path can confuse software installed via
Homebrew if the config script overrides a system or Homebrew provided
script of the same name. We found the following "config" scripts:
/usr/local/var/pyenv/shims/curl-config
/usr/local/var/pyenv/shims/freetype-config
/usr/local/var/pyenv/shims/libdynd-config
/usr/local/var/pyenv/shims/libpng-config
/usr/local/var/pyenv/shims/libpng16-config
/usr/local/var/pyenv/shims/python-config
/usr/local/var/pyenv/shims/python2-config
/usr/local/var/pyenv/shims/python2.7-config
/usr/local/var/pyenv/shims/python3-config
/usr/local/var/pyenv/shims/python3.5-config
/usr/local/var/pyenv/shims/python3.5m-config
/usr/local/var/pyenv/shims/xml2-config
/usr/local/var/pyenv/shims/xslt-config
Warning: Your Homebrew is outdated.
You haven't updated for at least 24 hours. This is a long time in brewland!
To update Homebrew, run `brew update`.
Warning1が消えました。
#Warning2
問題がこれです。
内容は、設定ファイルがシステムに存在してますと言われました。
これについてはpyenvの仕様なのでしょうがないのです。
つまり、放置してください。
詳しく知りたい場合はgithubなどで検索してください。
#Warninng3
brew update
してくださいと言われています。しましょう。