我試圖從HTML5 Boilerplate運行構建腳本,我必須爲此安裝YUM。我在Mac OS Snow Leopard 10.6.8。當我做了sudo port install yum
,我收到以下錯誤。任何想法我怎麼能糾正它,並正確安裝yum?無法在MacOS中安裝YUM
---> Computing dependencies for py24-nose
---> Dependencies to be installed: py24-distribute
---> Activating py24-distribute @0.6.24_0 Error: Target org.macports.activate returned: Image error:
/opt/local/lib/python2.4/site-packages/setuptools-0.6c11-py2.4.egg-info
already exists and does not belong to a registered port. Unable to
activate port py24-distribute. Use 'port -f activate py24-distribute'
to force the activation. Error: Failed to install py24-distribute Log
for py24-distribute is at:
/opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_python_py-distribute/py24-distribute/main.log
Error: The following dependencies were not installed: py24-distribute
Error: Unable to upgrade port: 1 Error: Unable to execute port:
upgrade py24-nose failed To report a bug, see
<http://guide.macports.org/#project.tickets>
安裝YUM後以前,我是越來越Segmentation Fault
,所以我卸載,並使用的MacPorts得到上述錯誤再次安裝它。
你嘗試過'port -f activate py24-distribute'命令嗎? – bdares
我做到了,它安裝了YUM。但之後,當我做'yum安裝ant-contrib'時,它給了我'Segmentation Fault' - 與我的第一個錯誤一樣。任何想法?謝謝! – Sayanee