0

运行时收到此消息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:

    /opt/local/bin/freetype-config
    /opt/local/bin/gpg-error-config
    /opt/local/bin/icu-config
...

根据我收集的一些信息SO,我.bash_profile用这个更新了我的

export PATH=/Applications/MAMP/bin/php/php5.4.4/bin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/opt/local/bin:/opt/local/sbin:/usr/local/ActivePerl-5.16/site/bin:/usr/local/ActivePerl-5.16/bin:/usr/local/mysql/bin:/sw/bin:/sw/sbin:/opt/local/bin:/opt/local/sbin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/local/git/bin:/usr/local/ant/bin:/usr/local/mongodb/bin:/Users/benchoufi/bin:/Users/mehdibenchoufi/Desktop/Sites/apache-ant/bin:/usr/local/bro/bin:/opt/bro/bin
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
export PATH="$PATH:/usr/local/sbin"
export PATH="$HOME/.rbenv/bin:$PATH"

但是运行时我仍然得到相同的输出brew doctor(我正在使用OSX

4

0 回答 0