首页 > 系统服务 > 详细

安装了高版本OS X 之后无法使用MacPorts的port命令

时间:2015-02-03 22:45:31      阅读:545      评论:0      收藏:0      [点我收藏+]

安装了高版本OS X 之后无法使用MacPorts的port命令

pod update提示:

Current platform "darwin 14" does not match expected platform "darwin 13"

需要下载MacPorts源码编译安装,方法如下:

来自 https://www.macports.org/guide/#installing.macports.source

 

If you installed MacPorts using the package installer, skip this section. To install MacPorts from the source code, follow the steps below.

  1. Download and extract the MacPorts 2.3.1 tarball. Either do so using your browser and the Finder, or use the given commands in a terminal window.

    $ curl -O https://distfiles.macports.org/MacPorts/MacPorts-2.3.1.tar.bz2
    $ tar xf MacPorts-2.3.1.tar.bz2
  2. Afterwards, perform the commands shown in the terminal window. If you wish to use a path other than /opt/local, follow the instructions forinstalling multiple copies of MacPorts instead.

    $ cd MacPorts-2.3.1/
    $ ./configure
    $ make
    $ sudo make install

ok,大功告成!

安装了高版本OS X 之后无法使用MacPorts的port命令

原文:http://www.cnblogs.com/y500/p/4271135.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!