Changes between Version 106 and Version 107 of ProblemHotlist
- Timestamp:
- Oct 22, 2013, 11:47:27 PM (11 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ProblemHotlist
v106 v107 65 65 If you had MacPorts installed before upgrading to Snow Leopard, see [wiki:Migration]. 66 66 67 == A port fails to build when using Xcode 4 == #compiler67 == A port fails to build when using Xcode 4/5 == #compiler 68 68 69 69 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. 70 70 71 === Xcode 4.2 and later === #xcode4271 === Xcode 4.2 and later (including Xcode 5) === #xcode42 72 72 73 73 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: … … 102 102 }}} 103 103 104 == Can't find Tcl configuration definitions == #tclConfig 105 106 When installing MacPorts from source on 10.9, you may encounter the error 107 108 {{{ 109 checking for Tcl configuration... configure: error: Can't find Tcl configuration definitions 110 }}} 111 112 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: 113 114 {{{ 115 xcode-select --install 116 }}} 117 118 after installing Xcode 5.0.1 or later. 104 119 105 120 == Incompatible library version: X requires version 8.0.0 or later, but libiconv.2.dylib provides version 7.0.0 == #libiconv-version