mavericks macports installed outdated

一世执手 提交于 2019-12-13 14:23:51

问题


After I upgrade to OS X Mavericks, all the installed ports become outdated. I can't use my gcc any more, please help.

The following installed ports are outdated:
bzip2                          1.0.6_0 < 1.0.6_0  (platform darwin 12 != darwin 13)  
cctools                        839_2 < 839_2  (platform darwin 12 != darwin 13)  
cctools-headers                839_0 < 839_0  (platform darwin 12 != darwin 13)  
cloog                          0.18.0_0 < 0.18.0_0  (platform darwin 12 != darwin 13)  
curl                           7.33.0_0 < 7.33.0_0  (platform darwin 12 != darwin 13)  
curl-ca-bundle                 7.33.0_0 < 7.33.0_0  (platform darwin 12 != darwin 13)  
cyrus-sasl2                    2.1.25_4 < 2.1.25_4  (platform darwin 12 != darwin 13)  
db46                           4.6.21_8 < 4.6.21_8  (platform darwin 12 != darwin 13)  
...
...

回答1:


The MacPorts crew expect to have a binary installer for Mavericks in the next few days. Updates won't work because the location of the Tcl framework has changed, breaking common port commands. However, just because a port is outdated doesn't mean it can't be used.

If you can't wait, there are instructions here on how to build from source, once you've upgraded Xcode, command line utilities, etc. It reflects the new location of the Tcl framework.




回答2:


That's not a bug, but intended behavior. See https://trac.macports.org/wiki/Migration for a guide on what to do after an OS upgrade. Note that you'll currently have to build MacPorts from source on Mavericks (but a binary installer will be available soon).

Most of your installed ports should continue to work, though, so your GCC should not be broken by this unless you start upgrading.




回答3:


If you've just upgraded your OS don't forget to:

  1. Update Xcode and
  2. Open it to agree to the licensing terms.


来源:https://stackoverflow.com/questions/19534032/mavericks-macports-installed-outdated

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!