Pages

めも@homebrew

2013年5月28日火曜日

$ brew doctor
を実行すると

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:

/System/Library/Frameworks/Python.framework/Versions/2.7/bin/python-config /System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2-config /System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7-config


と出る。
多分、Pythonを入れなおしたのが原因…?
ググった感じ、このwarningで困っている人が多そう。
駄菓子菓子、解決策はよくわからず…

とりあえず、
http://www.verious.com/qa/unexpected-pc-files-setting-up-home-brew/
を参考に、ファイル名を変更してみた。

$ sudo mv /System/Library/Frameworks/Python.framework/Versions/2.7/bin/python-config /System/Library/Frameworks/Python.framework/Versions/2.7/bin/python-config.old
$ sudo mv /System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2-config /System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2-config.old
$ sudo mv /System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7-config /System/Library/Frameworks/Python.framework/Versions/2.7/bin/python2.7-config.old

うーん
とりあえず解決したけど、本当に書き換えてしまって良かったのだろうか…
よくわからないです(TωT)
困った時に戻せるように、めもめも



0 コメント:

コメントを投稿