#38311: libstdcxx +universal configure failure ------------------------+------------------- Reporter: boydb@… | Owner: mww@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: libstdcxx | ------------------------+------------------- Comment (by larryv@…): Replying to [comment:9 boydb@…]:
There is a `clang` binary on my system, the native one at `/usr/bin/clang` rather than a macports one:
{{{ $ clang -v Apple clang version 3.0 (tags/Apple/clang-210.3) (based on LLVM 3.0svn) Target: x86_64-apple-darwin10.8.0 Thread model: posix }}}
This Clang is too old. `libstdcxx` requires at least clang-425.
Installing `llvm-gcc42` didn't help the issue, and neither did `clang-3.3`, so it seems to be something more than not finding one of those on the system.
Did you specify those compilers when trying to install? {{{ sudo port install libstdcxx +universal configure.compiler=macports-llvm- gcc-4.2 sudo port install libstdcxx +universal configure.compiler=macports- clang-3.3 }}} In the current MacPorts release, the compiler fallback list for Xcode 3.2 is gcc-4.2 > clang > llvm-gcc-4.2 > gcc-4.0 > apple-gcc-4.0, so none of the compilers you tried would have gotten picked up automatically. -- Ticket URL: <https://trac.macports.org/ticket/38311#comment:10> MacPorts <http://www.macports.org/> Ports system for OS X