brew doctor warning sugli script di configurazione Python

3

Qualcuno può spiegare cosa dovrei fare riguardo al seguente avviso di 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

Non sono questi i file di configurazione Python originali installati da OS X? Se è così, sicuramente non dovrei eliminarli? Sono richiesti python-config e Python2-config se utilizzo solo Python 2.7? Dovrei cambiare il mio $ PATH che è:

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

UPDATE : ho disinstallato con successo Macports e rimosso /opt/local/bin:/opt/local/sbin dal mio $ PATH, ma ricevo comunque il seguente avviso:

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

Come posso risolvere questo problema? Grazie in anticipo.

    
posta Olivier de Broqueville 28.03.2014 - 14:06
fonte

0 risposte

Leggi altre domande sui tag