LoginSignup
4
4

More than 5 years have passed since last update.

brewでpyenvを導入したが、brew doctorで怒られた!

Posted at

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してくださいと言われています。しましょう。

4
4
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
4