#49299: akonadi build fails after qt4-mac update -------------------------+--------------------- Reporter: jwhowse4@… | Owner: nicos@… Type: defect | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.3.4 Resolution: | Keywords: Port: akonadi | -------------------------+--------------------- Comment (by jwhowse4@…): Replying to [comment:4 michaelld@…]:
Do you have MacPorts gcc48 or newer installed? I think gcc5 is pretty much the standard by now for your OS. Could you try the following: {{{ sudo port clean akonadi sudo port install akonadi configure.compiler=macports-gcc-5 }}} (or "macports-gcc-4.8" for that version).
If I recall, the default build on OS X 10.8 is to use libstdc++, which (for better or worse) when using clang as the compiler also uses Apple's installed gcc 4.2 C++ stuff. Which is not really c++0x compliant. Moving to using a reasonably modern GCC should do the trick here, I think. Should not really matter if qt4-mac was built using c++11 (+cxx11) or not.
On my system the build using macports-gcc-5 fails but a build using macports-gcc-4.9 succeeds. I do not have gcc-4.8 installed currently. If you like I can attach the error log for the gcc-5 build later today. -- Ticket URL: <https://trac.macports.org/ticket/49299#comment:6> MacPorts <https://www.macports.org/> Ports system for OS X