[Xapian-devel] xapian-bindings for python doesn't compile on OSX Tiger

Valentino Volonghi aka Dialtone dialtone at divmod.com
Mon Aug 1 00:41:03 BST 2005


This is the output of the 'make' command for the python bindings (0.9.2).
xapian-core compiles fine.

aiolia:~/Desktop/2005-08-01/xapian-bindings-0.9.2 dialtone$ make
make  all-recursive
Making all in python
make  all-recursive
Making all in docs
Making all in examples
make[5]: Nothing to be done for `all'.
make[5]: Nothing to be done for `all-am'.
/bin/sh ../libtool --tag=CXX --mode=link g++ -Wall -Wno-unused \
-Wno-uninitialized -g -O2 -I/usr/local/include   -o _xapian.la \
-rpath /Library/Frameworks/Python.fr [cut]
g++  -o .libs/_xapian.so -bundle  .libs/xapian_wrap.o  \
                              /usr/local/lib/libxapian.dylib
/usr/bin/ld: Undefined symbols:
_PyArg_ParseTuple
_PyCFunction_Type
_PyCObject_FromVoidPtr
_PyCObject_Import
_PyDict_GetItemString
_PyDict_SetItemString
_PyErr_Clear
_PyErr_Fetch
_PyErr_Format
_PyErr_Occurred
_PyErr_SetString
_PyExc_IOError
_PyExc_IndexError
_PyExc_MemoryError
_PyExc_NameError
_PyExc_NotImplementedError
_PyExc_OverflowError
_PyExc_RuntimeError
_PyExc_SyntaxError
_PyExc_SystemError
_PyExc_TypeError
_PyExc_ValueError
_PyExc_ZeroDivisionError
_PyFloat_FromDouble
_PyFloat_Type
_PyInstance_Type
_PyInt_AsLong
_PyInt_FromLong
_PyInt_Type
_PyList_Append
_PyList_New
_PyLong_AsDouble
_PyLong_AsLong
_PyLong_AsUnsignedLong
_PyLong_FromUnsignedLong
_PyLong_Type
_PyModule_AddObject
_PyModule_GetDict
_PyNumber_Check
_PyNumber_Int
_PyOS_snprintf
_PyObject_CallMethod
_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
_PyTuple_New
_PyTuple_SetItem
_PyType_IsSubtype
_PyType_Type
_Py_BuildValue
_Py_InitModule4
__Py_NoneStruct
__Py_TrueStruct
__Py_ZeroStruct
collect2: ld returned 1 exit status
make[4]: *** [_xapian.la] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2





More information about the Xapian-devel mailing list