Difficulty compiling setup.py

Permit researchers and python developers access to the OpenMM libraries.
POST REPLY
User avatar
Art Vandalay
Posts: 4
Joined: Wed Jul 14, 2010 3:17 pm

Difficulty compiling setup.py

Post by Art Vandalay » Fri Jul 16, 2010 3:22 pm

When I run python2.5 setup.py build (using snow leopard so I decided to use python2.5), I get the following output and I dont know how to fix it. Any thoughts would be greatly appreciated. Thanks.

building 'simtk.chem.openmm._openmm' extension
gcc -arch ppc -arch i386 -isysroot /Developer/SDKs/MacOSX10.4u.sdk -fno-strict-aliasing -Wno-long-double -no-cpp-precomp -mno-fused-madd -fno-common -dynamic -DNDEBUG -g -O3 -DMAJOR_VERSION=2 -DMINOR_VERSION=0 -IOpenMM/include -I/Library/Frameworks/Python.framework/Versions/2.5/include/python2.5 -c src/swig_doxygen/OpenMMSwig.cxx -o build/temp.macosx-10.3-fat-2.5/src/swig_doxygen/OpenMMSwig.o -m32
cc1plus: error: unrecognized command line option "-Wno-long-double"
cc1plus: error: unrecognized command line option "-Wno-long-double"
lipo: can't figure out the architecture type of: /var/folders/Pz/Pz4ypSmQFiCjg1nKiyZaoE++0YQ/-Tmp-//ccjhp5JD.out
error: command 'gcc' failed with exit status 1

POST REPLY