我就遇到了這個問題爲好。當運行brew doctor
時,我發現路徑中有一個ncurses5-config
,這似乎是混淆的自制軟件。我卸載了chefdk,安裝了最新的xcode,運行brew doctor
以確保庫不見了,然後運行brew install vim
。
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/chefdk/embedded/bin/finstyle-config
/opt/chefdk/embedded/bin/ncurses5-config
/opt/chefdk/embedded/bin/ncursesw5-config
/opt/chefdk/embedded/bin/pkg-config
/opt/chefdk/embedded/bin/xml2-config
/opt/chefdk/embedded/bin/xslt-config
你嘗試過什麼到目前爲止,並沒有遇到什麼具體問題?也可能脫離SO的主題?不知道... –
它經常值得嘗試「brew doctor」 –