Forums

F.A.Q. F.A.Q.    Register Register    Login Login    Home Home
Search Search
SBML Discussions » sbml-interoperability » python bindings of libsbml-2.3.2 on Mac OS X
Show: Today's Posts  :: Message Navigator
| Subscribe to topic 
Return to the default flat view Create a new topic Submit Reply
AuthorTopic
Ralph.Gauges


Posts: 92
Registered:
May 2004
python bindings of libsbml-2.3.2 on Mac OS X 02 Jun '05 08:05 Go to previous message

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


      

SubjectPosterDate
Read Message   python bindings of libsbml-2.3.2 on Mac OS X  Ralph.Gauges02 Jun '05 08:05
Read Message   Re: python bindings of libsbml-2.3.2 on Mac OS X Ben Bornstein02 Jun '05 08:45
Read Message   Re: python bindings of libsbml-2.3.2 on Mac OS X Ed Frank02 Jun '05 09:08
Read Message   Re: python bindings of libsbml-2.3.2 on Mac OS X Ralph.Gauges02 Jun '05 09:45
Read Message   Re: python bindings of libsbml-2.3.2 on Mac OS X Ben Bornstein02 Jun '05 09:56
Read Message   Re: python bindings of libsbml-2.3.2 on Mac OS X Mike Hucka02 Jun '05 12:54
Read Message   Re: python bindings of libsbml-2.3.2 on Mac OS X Ralph.Gauges03 Jun '05 00:01
Read Message   Re: python bindings of libsbml-2.3.2 on Mac OS X Mike Hucka03 Jun '05 00:06
Read Message   Re: python bindings of libsbml-2.3.2 on Mac OS X Ralph.Gauges03 Jun '05 00:59
Read Message   Re: python bindings of libsbml-2.3.2 on Mac OS X Mike Hucka03 Jun '05 10:37
Read Message   Re: python bindings of libsbml-2.3.2 on Mac OS X Mike Hucka31 Aug '05 15:28
Previous Topic:ASTNode_swapChildren
Next Topic:Java Bindings
Go to forum:
-=] Back to Top [=-

Powered by FUDforum. (Copyright Advanced Internet Designs Inc.)

Please use our issue tracking system for any questions or suggestions about this website.