首页 > 代码库 > 安装了高版本OS X 之后无法使用MacPorts的port命令
安装了高版本OS X 之后无法使用MacPorts的port命令
安装了高版本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
2.2.2. Source Install
If you installed MacPorts using the package installer, skip this section. To install MacPorts from the source code, follow the steps below.
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.bz2Afterwards, 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命令
声明:以上内容来自用户投稿及互联网公开渠道收集整理发布,本网站不拥有所有权,未作人工编辑处理,也不承担相关法律责任,若内容有误或涉及侵权可进行投诉: 投诉/举报 工作人员会在5个工作日内联系你,一经查实,本站将立刻删除涉嫌侵权内容。