のねのBlog

パソコンの問題や、ソフトウェアの開発で起きた問題など書いていきます。よろしくお願いします^^。

brew doctor

$ 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: python is symlinked to python3
This will confuse build scripts and in general lead to subtle breakage.

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:
  /opt/local/bin/curl-config
  /opt/local/bin/icu-config
  /opt/local/bin/krb5-config
  /opt/local/bin/libusb-config
  /opt/local/bin/ncurses6-config
  /opt/local/bin/ncursesw6-config
  /opt/local/bin/pcre-config
  /opt/local/bin/python2.7-config
  /opt/local/bin/sdl-config
  /opt/local/bin/xml2-config
  /Users/m_fujii/.pyenv/shims/curl-config
  /Users/m_fujii/.pyenv/shims/freetype-config
  /Users/m_fujii/.pyenv/shims/libdynd-config
  /Users/m_fujii/.pyenv/shims/libpng-config
  /Users/m_fujii/.pyenv/shims/libpng16-config
  /Users/m_fujii/.pyenv/shims/python-config
  /Users/m_fujii/.pyenv/shims/python2-config
  /Users/m_fujii/.pyenv/shims/python2.7-config
  /Users/m_fujii/.pyenv/shims/python3-config
  /Users/m_fujii/.pyenv/shims/python3.4-config
  /Users/m_fujii/.pyenv/shims/python3.4m-config
  /Users/m_fujii/.pyenv/shims/xml2-config
  /Users/m_fujii/.pyenv/shims/xslt-config

Warning: You have MacPorts or Fink installed:
  /opt/local/bin/port

This can cause trouble. You don't have to uninstall them, but you may want to
temporarily move them out of the way, e.g.

  sudo mv /opt/local ~/macports

Warning: Your Xcode (7.3.1) is too outdated.
Please update to Xcode 8.2 (or delete it).
Xcode can be updated from the App Store.


Warning: Your Xcode (7.3.1) is outdated.
Please update to Xcode 8.2 (or delete it).
Xcode can be updated from the App Store.


Warning: Some installed formula are missing dependencies.
You should `brew install` the missing dependencies:
  brew install shared-mime-info

Run `brew missing` for more details.
$ brew missing
gdk-pixbuf: shared-mime-info
gtk+: shared-mime-info
gtkglext: shared-mime-info
open-scene-graph: shared-mime-info
 $ brew install shared-mime-info
Error: Your Xcode (7.3.1) is too outdated.
Please update to Xcode 8.2 (or delete it).
Xcode can be updated from the App Store.
$ xcode-select -p
/Applications/Xcode_7.3.1.app/Contents/Developer
$ sudo xcode-select  -s /Applications/Xcode.app/
 $ brew install shared-mime-info
==> Installing dependencies for shared-mime-info: gettext, pcre, glib
==> Installing shared-mime-info dependency: gettext
==> Downloading https://homebrew.bintray.com/bottles/gettext-0.19.8.1.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring gettext-0.19.8.1.sierra.bottle.tar.gz
==> Caveats
This formula is keg-only, which means it was not symlinked into /usr/local.

macOS provides the BSD gettext library and some software gets confused if both are in the library path.

Generally there are no consequences of this for you. If you build your
own software and it requires this formula, you'll need to add to your
build variables:

    LDFLAGS:  -L/usr/local/opt/gettext/lib
    CPPFLAGS: -I/usr/local/opt/gettext/include

==> Summary
🍺  /usr/local/Cellar/gettext/0.19.8.1: 1,934 files, 16.9M
==> Installing shared-mime-info dependency: pcre
==> Downloading https://homebrew.bintray.com/bottles/pcre-8.39.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring pcre-8.39.sierra.bottle.tar.gz
🍺  /usr/local/Cellar/pcre/8.39: 203 files, 5.4M
==> Installing shared-mime-info dependency: glib
==> Downloading https://homebrew.bintray.com/bottles/glib-2.50.2.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring glib-2.50.2.sierra.bottle.tar.gz
==> Using the sandbox
🍺  /usr/local/Cellar/glib/2.50.2: 427 files, 22.4M
==> Installing shared-mime-info 
==> Downloading https://homebrew.bintray.com/bottles/shared-mime-info-1.8.sierra.bottle.tar.gz
######################################################################## 100.0%
==> Pouring shared-mime-info-1.8.sierra.bottle.tar.gz
==> /usr/local/Cellar/shared-mime-info/1.8/bin/update-mime-database /usr/local/share/mime
🍺  /usr/local/Cellar/shared-mime-info/1.8: 844 files, 6.8M
$ 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: python is symlinked to python3
This will confuse build scripts and in general lead to subtle breakage.

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:
  /opt/local/bin/curl-config
  /opt/local/bin/icu-config
  /opt/local/bin/krb5-config
  /opt/local/bin/libusb-config
  /opt/local/bin/ncurses6-config
  /opt/local/bin/ncursesw6-config
  /opt/local/bin/pcre-config
  /opt/local/bin/python2.7-config
  /opt/local/bin/sdl-config
  /opt/local/bin/xml2-config
  /Users/m_fujii/.pyenv/shims/curl-config
  /Users/m_fujii/.pyenv/shims/freetype-config
  /Users/m_fujii/.pyenv/shims/libdynd-config
  /Users/m_fujii/.pyenv/shims/libpng-config
  /Users/m_fujii/.pyenv/shims/libpng16-config
  /Users/m_fujii/.pyenv/shims/python-config
  /Users/m_fujii/.pyenv/shims/python2-config
  /Users/m_fujii/.pyenv/shims/python2.7-config
  /Users/m_fujii/.pyenv/shims/python3-config
  /Users/m_fujii/.pyenv/shims/python3.4-config
  /Users/m_fujii/.pyenv/shims/python3.4m-config
  /Users/m_fujii/.pyenv/shims/xml2-config
  /Users/m_fujii/.pyenv/shims/xslt-config

Warning: You have MacPorts or Fink installed:
  /opt/local/bin/port

This can cause trouble. You don't have to uninstall them, but you may want to
temporarily move them out of the way, e.g.

  sudo mv /opt/local ~/macports
Applications/ 02:55:57  
$ sudo mv /opt/local ~/macports
$ 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: python is symlinked to python3
This will confuse build scripts and in general lead to subtle breakage.

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:
  /Users/m_fujii/.pyenv/shims/curl-config
  /Users/m_fujii/.pyenv/shims/freetype-config
  /Users/m_fujii/.pyenv/shims/libdynd-config
  /Users/m_fujii/.pyenv/shims/libpng-config
  /Users/m_fujii/.pyenv/shims/libpng16-config
  /Users/m_fujii/.pyenv/shims/python-config
  /Users/m_fujii/.pyenv/shims/python2-config
  /Users/m_fujii/.pyenv/shims/python2.7-config
  /Users/m_fujii/.pyenv/shims/python3-config
  /Users/m_fujii/.pyenv/shims/python3.4-config
  /Users/m_fujii/.pyenv/shims/python3.4m-config
  /Users/m_fujii/.pyenv/shims/xml2-config
  /Users/m_fujii/.pyenv/shims/xslt-config