Unable to use the MacPorts port command after installing a high-version OS X

Source: Internet
Author: User
Tags bz2

Unable to use the MacPorts port command after installing a high-version OS X

Pod Update prompt:

Current platform "Darwin +" does not match expected platform "Darwin 13"

Need to download MacPorts source code compilation installation, the method is as follows:

From 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.

  1. Download and extract The macports 2.3.1 Tarball. Either do 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, you are done!

Unable to use the MacPorts port command after installing a high-version OS X

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.