brew doctor advertencia sobre los scripts de configuración de Python

3

¿Puede alguien explicarme qué debo hacer con respecto a la siguiente advertencia de Homebrew:

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/python-config
/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

¿No son estos los archivos de configuración de Python originales instalados por OS X? Si es así, seguramente no debería borrarlos. ¿Se requieren python-config y Python2-config si solo uso Python 2.7? ¿Debo cambiar mi $ PATH que es:

Oliviers-iMac:~$ echo $PATH
/opt/local/bin:/opt/local/sbin:/Library/Frameworks/Python.framework/Versions/2.7/bin:/System/Library/Frameworks/Python.framework/Versions/2.7/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/opt/X11/bin:/usr/local/MacGPG2/bin

ACTUALIZACIÓN : desinstalé Macports y eliminé /opt/local/bin:/opt/local/sbin de mi $ PATH, pero aún aparece la siguiente advertencia:

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

¿Cómo soluciono esto? Gracias de antemano.

    
pregunta Olivier de Broqueville 28.03.2014 - 14:06

0 respuestas

Lea otras preguntas en las etiquetas