Changes between Version 106 and Version 107 of ProblemHotlist


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

also note Xcode 5 in the clang section, and add an entry for tclConfig.sh moving to the CLT

Legend:

Unmodified
Added
Removed
Modified
  • ProblemHotlist

    v106 v107  
    6565If you had MacPorts installed before upgrading to Snow Leopard, see [wiki:Migration].
    6666
    67 == A port fails to build when using Xcode 4 == #compiler
     67== A port fails to build when using Xcode 4/5 == #compiler
    6868
    6969gcc 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.
    7070
    71 === Xcode 4.2 and later === #xcode42
     71=== Xcode 4.2 and later (including Xcode 5) === #xcode42
    7272
    7373If 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:
     
    102102}}}
    103103
     104== Can't find Tcl configuration definitions == #tclConfig
     105
     106When installing MacPorts from source on 10.9, you may encounter the error
     107
     108{{{
     109checking for Tcl configuration... configure: error: Can't find Tcl configuration definitions
     110}}}
     111
     112The 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{{{
     115xcode-select --install
     116}}}
     117
     118after installing Xcode 5.0.1 or later.
    104119
    105120== Incompatible library version: X requires version 8.0.0 or later, but libiconv.2.dylib provides version 7.0.0 == #libiconv-version