hansarijanto$ port -v
MacPorts 2.0.3
hansarijanto$ xcodebuild -version
Xcode 4.3.2
Build version 4E2002
我正在运行上面的xcode和macport版本。在最大OS X上
当我尝试自我更新Mac端口时,出现以下错误。
hansarijanto$ sudo port selfupdate
Password:
---> Updating MacPorts base sources using rsync
MacPorts base version 2.0.3 installed,
MacPorts base version 2.0.4 downloaded.
---> Updating the ports tree
---> MacPorts base is outdated, installing new version 2.0.4
Installing new MacPorts release in /opt/local as root:admin; permissions 0755; Tcl-Package in /Library/Tcl
Error: /opt/local/bin/port: port selfupdate failed: Error installing new MacPorts base: shell command failed (see log for details)
我正在尝试更新mac端口以安装qt。
sudo port install qt4-mac-devel(error no SDK found)
我需要安装webkit-capybara
sudo gem install capybara-webkit -v '0.7.2'(error in setting up native environment)
最佳答案
您需要使用-d
选项来获取足够的信息来对此进行诊断;但请查看https://trac.macports.org/wiki/FAQ#selfupdatefails的常见问题和解决方案。
关于macports - Mac端口更新失败,我们在Stack Overflow上找到一个类似的问题:https://stackoverflow.com/questions/10165670/