> I'm running OSX 10.6.8, and I'm having trouble installing openbabel with
> python bindings. Any help would be appreciated

So there are two problems. First, your python version seems to be trying to 
build for Mac OS X 10.3:

> build/temp.macosx-10.3-fat-2.6/Users/PierreB/Downloads/openbabel-2.3.1/scripts/python/openbabel-python.o
...
> /usr/include/AvailabilityMacros.h:108:14: warning: #warning Building for
> Intel with Mac OS X Deployment Target < 10.4 is invalid.

Second, it looks like your libopenbabel.dylib is not built "fat":

> ld: warning: in ../lib/libopenbabel.dylib, file was built for unsupported
> file format which is not the architecture being linked (ppc)
...
> ld: warning: in ../lib/libopenbabel.dylib, file was built for unsupported
> file format which is not the architecture being linked (i386)
...
> /Users/PierreB/Downloads/openbabel-2.3.1/build/lib/libopenbabel.dylib:
> Mach-O 64-bit dynamically linked shared library x86_64

So you should probably find the "native" python, which should be 
/usr/bin/python-2.6 which should build for 10.6 (and handle x86_64) and 
consider changing the architectures for CMake / OSX for libopenbabel. (Edit the 
CMakeCache.txt   for CMAKE_OSX_ARCHITECTURES:STRING=…)

Hope that helps,
-Geoff
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
OpenBabel-scripting mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openbabel-scripting

Reply via email to