Hello!

I have been trying to compile openbabel to work with the popular "anaconda"
python distribution on my Mac OS X Maverik unsuccessfully.  Investigation
of the generated "_openbabel.so" file with otool indicates that the default
libpython2.7.dylib is being used in the compiling process instead of the
one I specified ( http://pastebin.com/raw.php?i=caHBAnLE ).

This is the cmake command I am using:

cmake -DBUILD_GUI=OFF -DPYTHON_BINDINGS=ON
-DPYTHON_LIBRARY=/Users/owner/anaconda/lib/libpython2.7.dylib
-DPYTHON_INCLUDE_DIR=/Users/owner/anaconda/include/python2.7
"-DCMAKE_OSX_SYSROOT=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk"
"-DCMAKE_OSX_DEPLOYMENT_TARGET=10.8" ~/openbabel-2.3.2

Any ideas on how to get the installation to respect my specified .dylib
file?  Unfortunately, with the current configuration, trying to import
pybel within the anaconda environment gives me this error:

Fatal Python error: PyThreadState_Get: no current thread

aborted

Any help would be more than appreciated.

Thank you,

Trevor
------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
OpenBabel-discuss mailing list
OpenBabel-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openbabel-discuss

Reply via email to