#41335: openbabel 2.3.1 doesn't compile in Mavericks -------------------------+-------------------------------- Reporter: gezelter@… | Owner: mlund@… Type: update | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.2.1 Resolution: | Keywords: mavericks haspatch Port: openbabel | -------------------------+-------------------------------- Comment (by Mathias.Laurin+macports.org@…): Replying to [ticket:41335 gezelter@…]:
The openbabel 2.3.1 port depends on eigen (which doesn't compile on Mavericks), and has a few C++11 oddities in include files that prevent compilation even with eigen3. The modified port file and 5 patches fix compilation on Mavericks and bump openbabel to 2.3.2.
I have a patch-less solution. Matt Swain proposed a fix to the Open Babel mailing list on 31 Oct 2013 (he deserves the credit) and proposes that the tr1 oddities are due to the fact that Mavericks changes the default C++ library from libstdc++ to libc++ (I am quoting here). Anyway, patched Portfile attached. -- Ticket URL: <https://trac.macports.org/ticket/41335#comment:6> MacPorts <http://www.macports.org/> Ports system for OS X