Changes between Version 115 and Version 116 of ProblemHotlist


Ignore:
Timestamp:
May 30, 2014, 12:46:12 AM (10 years ago)
Author:
neverpanic (Clemens Lang)
Comment:

Retire missing #clt, MacPorts 2.3.0 checks and warns.

Legend:

Unmodified
Added
Removed
Modified
  • ProblemHotlist

    v115 v116  
    77
    88Support 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.
    9 
    10 === Command Line Tools === #clt
    11 Xcode 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.
    12 
    13 You must open Xcode, go to Preferences, and download this component from the Downloads section. You will require an Apple ID to download the component.
    149
    1510=== xcode-select === #xcode-select
     
    286281}}}
    287282}}}
     283
     284== Missing Command Line Tools == #clt
     285Xcode 4.3 and later do not include a fully working set of command line tools by default. Starting with Mavericks, shims in `/usr/bin` will check for an Xcode installation and automatically use the tools provided by it. In the first case, nothing will build, in the second case, most ports will build, but some will fail because they expect headers to be located in `/usr/include` (which is empty or doesn't exist when the command line tools aren't installed).
     286
     287On systems earlier than 10.9 you must open Xcode, go to Preferences, and download this component from the Downloads section. You will require an Apple ID to download the component. Starting with Mavericks you can install the command line tools by executing `xcode-select --install` on the command line.
     288
     289{{{#!div class="important" style="background: #99d8c9; border-color: #2ca25f; color: #00441b;"
     290'''Note:''' MacPorts 2.3.0 will print a warning if the command line tools are missing and advise you how to install them. The message will read:
     291{{{
     292The Xcode Command Line Tools don't appear to be installed; most ports will likely fail to build.
     293}}}
     294
     295The message will advise you how to install the missing tools, on 10.9:
     296{{{
     297Install them by running `xcode-select --install'.
     298}}}
     299On Mountain Lion and below:
     300{{{
     301You can install them from Xcode's Preferences in the Downloads section.
     302See http://guide.macports.org/chunked/installing.xcode.html#installing.xcode.lion.43 for more information.
     303}}}
     304}}}