Unable to get MacPort functionality after installing Xcode 4.3

后端 未结 17 1995
野趣味
野趣味 2021-01-29 21:51

I am having trouble getting MacPorts to function properly. I just installed OSX Lion 10.7.3 I downloaded and installed MacPorts first, and then after reading the requirements, I

17条回答
  •  旧巷少年郎
    2021-01-29 22:39

    Please see the MacPorts migration instructions for Xcode 4.3.

    The instructions are pretty involved. You need to run xcode-select to set a new tools path, update developer_dir in macports.conf (as described by Henk Poley), re-install MacPorts (ouch), and finally uninstall and re-install all of your ports (double ouch).

    Edit: libpvx still wouldn't install after the above. Two extra steps were required:

    1. sudo ln -s /Developer /
    2. sudo ln -s /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs /SDKs

    YMMV if you have different ports installed!

提交回复
热议问题