Page "ProblemHotlist" was changed by ryandesign@macports.org Diff URL: <https://trac.macports.org/wiki/ProblemHotlist?action=diff&version=121> Revision 121 Comment: remove no-longer-hot problems Changes: -------8<------8<------8<------8<------8<------8<------8<------8<-------- Index: ProblemHotlist ========================================================================= --- ProblemHotlist (version: 120) +++ ProblemHotlist (version: 121) @@ -34,47 +34,6 @@ The perl script attached to the ticket [ticket:34482 about this bug] fixes the registry. The direct link is [attachment:ticket:34482:macports_34482_fix here]. -== A port build fails on Snow Leopard with: "file is not of required architecture" == #wrongarch - -If you had MacPorts installed before upgrading to Snow Leopard, see [wiki:Migration]. - -== 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 (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: - -{{{ -sudo port clean foo -sudo port install foo configure.compiler=llvm-gcc-4.2 -}}} - -If that fails, try installing the apple-gcc42 port and compiling with that: - -{{{ -sudo port clean foo -sudo port install apple-gcc42 -sudo port install foo configure.compiler=apple-gcc-4.2 -}}} - -=== Xcode 4.0 and 4.1 === #xcode40 - -If a port ''foo'' fails to build and you're using Xcode 4.0 or 4.1, the default compiler is llvm-gcc-4.2; try compiling with clang instead: - -{{{ -sudo port clean foo -sudo port install foo configure.compiler=clang -}}} - -If that fails, try using gcc-4.2: - -{{{ -sudo port clean foo -sudo port install foo configure.compiler=gcc-4.2 -}}} - == install_name_tool or strip reports "malformed object (unknown load command)" == #malformed-object An error message like: -------8<------8<------8<------8<------8<------8<------8<------8<-------- -- Page URL: <https://trac.macports.org/wiki/ProblemHotlist> MacPorts <https://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 .
participants (1)
-
MacPorts