Hi Ben, I just tried to install libsbml-2.3-2 on Mac OS X 10.3 and upon installing the python bindings, I got the following error message: cp libsbml.py build/libsbml /sw/bin/python setup.py install --skip-build --prefix=/sw/apps/libsbml-2.3.2 running install error: $MACOSX_DEPLOYMENT_TARGET mismatch: now "" but "10.3" during configure make[3]: *** [install] Error 1 make[3]: Leaving directory `/Users/ralph/Download/libsbml-2.3.2/src/bindings/python' make[2]: *** [python-recursive] Error 2 make[2]: Leaving directory `/Users/ralph/Download/libsbml-2.3.2/src/bindings' make[1]: *** [bindings-recursive] Error 2 make[1]: Leaving directory `/Users/ralph/Download/libsbml-2.3.2/src' make: *** [src-recursive] Error 2 This happens when I use a fink installed version of python. If I try it with the python that comes with OS X, get get a list of undefined symbols. g++ -L/System/Library/Frameworks/Python.framework/Versions/2.3/lib/ python2.3/lib-dynload -bundle_loader /usr//bin/python -L/sw//lib -bundle -o _libsbml.so libsbml_wrap.o -L../.. -lsbml -lexpat -lm ld: Undefined symbols: _PyArg_ParseTuple _PyCFunction_Type _PyCObject_FromVoidPtr _PyCObject_Import _PyDict_SetItemString _PyErr_Clear _PyErr_Fetch _PyErr_Format _PyErr_Occurred _PyErr_SetString _PyExc_NameError _PyExc_NotImplementedError _PyExc_OverflowError _PyExc_TypeError _PyFloat_FromDouble _PyFloat_Type _PyInt_FromLong _PyInt_Type _PyLong_AsDouble _PyLong_AsLong _PyLong_AsUnsignedLong _PyLong_FromUnsignedLong _PyLong_Type _PyModule_AddObject _PyModule_GetDict _PyOS_snprintf _PyObject_CallObject _PyObject_Free _PyObject_GetAttr _PyObject_Init _PyObject_Malloc _PyObject_SetAttrString _PyObject_Size _PyObject_Str _PyString_AsString _PyString_FromFormat _PyString_FromString _PyString_FromStringAndSize _PyString_Type _PyTuple_GetItem _PyType_IsSubtype _PyType_Type _Py_BuildValue _Py_InitModule4 __Py_NoneStruct __Py_TrueStruct __Py_ZeroStruct make[3]: *** [_libsbml.so] Error 1 make[3]: Leaving directory `/Users/ralph/Download/libsbml-2.3.2/src/bindings/python' make[2]: *** [python-recursive] Error 2 make[2]: Leaving directory `/Users/ralph/Download/libsbml-2.3.2/src/bindings' make[1]: *** [bindings-recursive] Error 2 make[1]: Leaving directory `/Users/ralph/Download/libsbml-2.3.2/src' Has anyone sucessfully installed the python bindings on Mac OS X? Thanks Ralph
Powered by FUDforum. (Copyright Advanced Internet Designs Inc.)