On Oct 26, 2013, at 9:24 AM, David Hall <[email protected]> wrote:
> 'm fairly confident this isn't a compiler problem, but a libc++ problem. > > CXXFLAGS="-stdlib=libstdc++" cmake .. > gets you past the current problem. But if boost is built against libc++ , it > doesn't link, so I also built boost against libstdc++ and everything built. Thanks very much for this. It didn’t ultimately solve my problem (even after rebuilding boost), but it got me a lot further, and to a kludge, which then lead to a solution. Using libstdc++ got me to the point in compiling RDkit where I previously found I could get using fink’s g++4.8 compiler, but it still failed linking the boost libraries. I do not know why. Applying a sort of idiot-logic analogy, I decided to try building boost with fink’s g++-4.8 compiler, which required doing this edit to boost’s tools (I couldn’t get it to take from the command invocation): perl -pi -e 's|g\+\+|g++-4|' tools/build/v2/tools/darwin.jam That change, and using fink’s g++4.8 again with RDkit gets it to compile on OS X 10.9. I’m not competent enough to claim that it IS the compiler, but it looks that way to me. (It may have fortuitously changed something else). In any case, thanks for the help. Hopefully at some point I will figure out how to fix it (and/or boost) properly. — Bill ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk _______________________________________________ Rdkit-discuss mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/rdkit-discuss

