Changes between Version 105 and Version 106 of ProblemHotlist


Ignore:
Timestamp:
Oct 22, 2013, 11:36:09 PM (10 years ago)
Author:
geekosaur
Comment:

the Xcode issues apply to versions post-4.3 as well

Legend:

Unmodified
Added
Removed
Modified
  • ProblemHotlist

    v105 v106  
    66The `port` command will remind you to install Xcode (or upgrade if you have an old version lying around from a previous installation of OS X). This is most easily accomplished using the "App Store" application on your Mac, which requires an Apple ID. Xcode 4.5 is the version currently available for Lion from the App Store.
    77
    8 However, as with Xcode 4.3 (below), the command line tools required for the build process are not installed automatically and require an additional manual step to [#clt install the tools] through Xcode's preferences.
    9 
    10 
    11 == MacPorts stops working after installing Xcode 4.3 == #xcode43
     8However, as with Xcode 4.3 and later (below), the command line tools required for the build process are not installed automatically and require an additional manual step to [#clt install the tools] through Xcode's preferences.
     9
     10
     11== MacPorts stops working after installing Xcode 4.3 or later == #xcode43
    1212
    1313Support for Xcode 4.3 was added in MacPorts 2.0.4. If you have an earlier version of MacPorts, you will need to upgrade to be able to use Xcode 4.3.
    1414
    1515=== Command Line Tools === #clt
    16 Xcode 4.3 does not include a fully working set of command line tools by default. Nothing will build without it, despite the fact that `xcode-select` and `which make` may return correct values.
     16Xcode 4.3 and later do not include a fully working set of command line tools by default. Nothing will build without it, despite the fact that `xcode-select` and `which make` may return correct values.
    1717
    1818You must open Xcode, go to Preferences, and download this component from the Downloads section. You will require an Apple ID to download the component.
     
    2020=== xcode-select === #xcode-select
    2121
    22 There have been reports of xcode-select not pointing to the new Xcode location for some users after upgrading to 4.3. If you are having problems even with the latest MacPorts version and `xcode-select -print-path` does not print `/Applications/Xcode.app/Contents/Developer` on your system, or
     22There have been reports of xcode-select not pointing to the new Xcode location for some users after upgrading from an Xcode version older than 4.3. If you are having problems even with the latest MacPorts version and `xcode-select -print-path` does not print `/Applications/Xcode.app/Contents/Developer` on your system, or
    2323{{{
    2424Warning: Xcode appears to be installed but xcodebuild is unusable; some ports will likely fail to build.
     
    2929}}}
    3030
    31 This is particularly important for people who have error messages referring to their old compiler locations after installing Xcode 4.3: you need to reinstall the package that stored the old compiler location if you see an error message like this:
     31This is particularly important for people who have error messages referring to their old compiler locations after installing Xcode later than 4.2: you need to reinstall the package that stored the old compiler location if you see an error message like this:
    3232{{{
    3333error: can't exec '/Developer/usr/bin/<compiler>' (No such file or directory)
     
    3838}}}
    3939
    40 Note you might have an older version of the xcode-select tool in case you installed Xcode 4.2 after installing the Mac OS X 10.7.3 update. If the command `xcode-select -version` returns `version 2003` this is from Xcode 4.2 and we recommend to install the update once again with the [http://support.apple.com/kb/DL1484 Mac OS X 10.7.3 combo updater]. The current xcode-select version that comes with Mac OS X 10.7.3 identifies itself as `version 2307`.
     40Note you might have an older version of the `xcode-select` tool in case you installed Xcode 4.2 after installing the Mac OS X 10.7.3 update. If the command `xcode-select -version` returns `version 2003`, this is from Xcode 4.2 and we recommend to install the update once again with the [http://support.apple.com/kb/DL1484 Mac OS X 10.7.3 combo updater]. The current `xcode-select` version that comes with Mac OS X 10.7.3 identifies itself as `version 2307`.
    4141
    4242=== Xcode License Agreement === #xcode-eula
     
    5252sudo xcodebuild -license
    5353}}}
     54
     55This will need to be repeated after any Xcode upgrade.
    5456
    5557== Error message from "port upgrade outdated": uninstall failure: "an invalid entry was passed" == #interrupteduninstall