2012-10-02 36 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