Dear Christoph,
Partial answer: Might this have to do with you using Python 2.6?
Yours,
Rasmus
---------------------------------------------------------------------------
Dr. Rasmus H. Fogh Email: [log in to unmask]
Dept. of Biochemistry, University of Cambridge,
80 Tennis Court Road, Cambridge CB2 1GA, UK. FAX (01223)766002
On Mon, 7 Sep 2009, Christoph Brockmann wrote:
> Hi everyone,
>
> I try to compile Analysis on OSX 10.4 using fink provided python and tcltk.
> This normally works a treat. However this time, I end up with some strange
> errors:
>
> cc -L/sw/lib -bundle -bundle_loader /sw/bin/python2.6 -o BlockFile.so
> utility.o python_util.o hash_list.o hash_table.o mem_cache.o mutex.o
> py_mem_cache.o block_file.o shape_file.o int_array.o py_block_file.o
> py_shape_file.o
> /usr/libexec/gcc/i686-apple-darwin8/4.0.1/ld: Undefined symbols:
> _PyFloat_AsDouble
> _PyFloat_FromDouble
> _PyFloat_Type
> _PyInt_AsLong
> _PyInt_FromLong
> _PyList_GetItem
> _PyList_New
> _PyList_SetItem
> _PyList_Size
> _PyTuple_GetItem
> _PyTuple_Size
> _PyType_IsSubtype
> _PyArg_ParseTuple
> _PyErr_NewException
> _PyErr_Occurred
> _PyErr_SetString
> _PyModule_AddObject
> _PyObject_Free
> _PyObject_Init
> _PyObject_Malloc
> _PyType_Type
> _Py_FatalError
> _Py_FindMethod
> _Py_InitModule4
> __Py_NoneStruct
> _PyArg_ParseTupleAndKeywords
> _Py_BuildValue
> collect2: ld returned 1 exit status
> make[1]: *** [BlockFile.so] Error 1
> make: *** [global] Error 2
> rm: *.so: No such file or directory
> rm: *.so: No such file or directory
> rm: *.so: No such file or directory
> Uncommenting future import in Converters.py
> Uncommenting future import in part2/Converters2.py
> Do you want to create a bin directory (answer y unless you know otherwise) (y
> or n)? y
> Creating the bin directory
> Install latest updates (from server) (y or n)? n
> Run Analysis (as test) (y or n)? n
> Finished installation script
>
> any idea what might be wrong?
>
> thanks,
> Christoph
>
> --
> ---------------------------------------------------------
> Dr. Christoph Brockmann
> Division of Structural Studies
> MRC Laboratory of Molecular Biology
> Hills Road
> Cambridge, CB2 2QH
> phone: +44-1223-40-2261 or +44-1223-40-2042
> e-mail: [log in to unmask]
> ---------------------------------------------------------
>
|