[MacPorts] ProblemHotlist modified

MacPorts noreply at macports.org
Thu May 29 17:46:14 PDT 2014


Page "ProblemHotlist" was changed by cal at macports.org
Diff URL: <https://trac.macports.org/wiki/ProblemHotlist?action=diff&version=116>
Revision 116
Comment: Retire missing #clt, MacPorts 2.3.0 checks and warns.
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: ProblemHotlist
=========================================================================
--- ProblemHotlist (version: 115)
+++ ProblemHotlist (version: 116)
@@ -6,11 +6,6 @@
 == MacPorts stops working after installing Xcode 4.3 or later == #xcode43
 
 Support 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.
-
-=== Command Line Tools === #clt
-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.
-
-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.
 
 === xcode-select === #xcode-select
 
@@ -285,3 +280,25 @@
 See http://guide.macports.org/chunked/installing.xcode.html#installing.xcode.lion.43 for more information.
 }}}
 }}}
+
+== Missing Command Line Tools == #clt
+Xcode 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).
+
+On 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.
+
+{{{#!div class="important" style="background: #99d8c9; border-color: #2ca25f; color: #00441b;"
+'''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:
+{{{
+The Xcode Command Line Tools don't appear to be installed; most ports will likely fail to build.
+}}}
+
+The message will advise you how to install the missing tools, on 10.9:
+{{{
+Install them by running `xcode-select --install'.
+}}}
+On Mountain Lion and below:
+{{{
+You can install them from Xcode's Preferences in the Downloads section.
+See http://guide.macports.org/chunked/installing.xcode.html#installing.xcode.lion.43 for more information.
+}}}
+}}}
-------8<------8<------8<------8<------8<------8<------8<------8<--------

--
Page URL: <https://trac.macports.org/wiki/ProblemHotlist>
MacPorts <http://www.macports.org/>
Ports system for OS X

This is an automated message. Someone added your email address to be
notified of changes on 'ProblemHotlist' page.
If it was not you, please report to .


More information about the macports-changes mailing list