2012-10-02 39 views
1

嗨,已經卸載MacPorts,按照官方說明,然後重新啓動。 Spotlight確認我的系統中沒有MacPort目錄。特別是,/ opt/local /不再存在。如何說服MacPorts不再安裝的自制軟件

可是當我運行brew doctor,它說:

Warning: You have Macports or Fink installed. 
This can cause trouble. You don't have to uninstall them, but you may like to 
try temporarily moving them away, eg. 
sudo mv /opt/local ~/macports 

我該怎麼辦?

回答

2

檢查,看看是否有以下爲真:

  • which portwhich fink返回到事的路徑。
  • /sw/opt/local存在。
+0

謝謝。雖然'哪個fink'什麼都沒有返回,我手動在/ sw /中找到了fink。幾年前必須安裝它!儘管現在嘗試卸載它。 –

+1

作爲參考,這裏是Homebrew用來檢查這些庫的函數:https://github.com/mxcl/homebrew/blob/master/Library/Homebrew/macos.rb#L144。 – theunraveler

+0

@theunraveler是的,這就是我在寫這篇文章時所看到的。 :) – duskwuff