[MacPorts] ProblemHotlist modified

MacPorts noreply at macports.org
Tue Oct 22 16:47:27 PDT 2013


Page "ProblemHotlist" was changed by allbery.b at gmail.com
Diff URL: <https://trac.macports.org/wiki/ProblemHotlist?action=diff&version=107>
Revision 107
Comment: also note Xcode 5 in the clang section, and add an entry for tclConfig.sh moving to the CLT
Changes:
-------8<------8<------8<------8<------8<------8<------8<------8<--------
Index: ProblemHotlist
=========================================================================
--- ProblemHotlist (version: 106)
+++ ProblemHotlist (version: 107)
@@ -64,11 +64,11 @@
 
 If you had MacPorts installed before upgrading to Snow Leopard, see [wiki:Migration].
 
-== A port fails to build when using Xcode 4 == #compiler
+== A port fails to build when using Xcode 4/5 == #compiler
 
 gcc has been the compiler collection MacPorts has used by default up until Xcode 4, in which Apple has switched to the llvm/clang compiler collection. These are new compilers and many programs have not yet been tested with them, and some ports will fail as a result. Using a different compiler may work better for a particular port. If the below workarounds enable you to install a port that failed with its default compiler, file a ticket and let us know so we can fix it. Portfile authors, see wiki:PortfileRecipes#compiler.
 
-=== Xcode 4.2 and later === #xcode42
+=== Xcode 4.2 and later (including Xcode 5) === #xcode42
 
 If a port ''foo'' fails to build and you're using Xcode 4.2 or later, the default compiler is clang; try compiling with llvm-gcc-4.2 instead:
 
@@ -101,6 +101,21 @@
 sudo port install foo configure.compiler=gcc-4.2
 }}}
 
+== Can't find Tcl configuration definitions == #tclConfig
+
+When installing MacPorts from source on 10.9, you may encounter the error
+
+{{{
+checking for Tcl configuration... configure: error: Can't find Tcl configuration definitions
+}}}
+
+The file `tclConfig.sh` was included in the Mac OS X base in earlier releases, but was moved to the Xcode Command Line Tools in 10.9; these are normally installed the first time you run `clang` after accepting the Xcode license, but running the `configure` script doesn't run `clang` until after the Tcl check. The easiest way to force installation is to run:
+
+{{{
+xcode-select --install
+}}}
+
+after installing Xcode 5.0.1 or later.
 
 == Incompatible library version: X requires version 8.0.0 or later, but libiconv.2.dylib provides version 7.0.0 == #libiconv-version
 
-------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