Hi, I'm looking into this problem now. Could it be that the Python or numpy C header files (python-2.6-devel or numpy-devel) are not installed? The distribution files for 64-bit GNU/Linux I made for relax-1.3.4 were built using Python 2.6 with numpy, and this caused no problems. It looks very much like a C library or header issue (either Python or numpy). I'll see what I can find from these error messages.
Cheers, Edward On Sun, Aug 16, 2009 at 4:08 AM, Jack Howarth<[email protected]> wrote: > Edward, > I am trying to build updated relax-py packaging > for fink using the 1.3.4 release on x86_64 fink > with python2.6. Although your web page indicates > that the binaries available are built against > python 2.5 and 2.6, I am seeing build failures > when I try here with scons 1.2.0... > > /sw/bin/python2.6 /sw/bin/scons > scons: Reading SConscript files ... > scons: done reading SConscript files. > scons: Building targets ... > > > > > ########################### > # Compiling the C modules # > ########################### > > > Building the relaxation curve fitting module 'maths_fns/relax_fit.so' > > gcc -o maths_fns/c_chi2.os -c -I/sw/include/python2.6 > -I/sw/lib/python2.6/site-packages/numpy/core/include -fPIC maths_fns/c_chi2.c > gcc -o maths_fns/exponential.os -c -I/sw/include/python2.6 > -I/sw/lib/python2.6/site-packages/numpy/core/include -fPIC > maths_fns/exponential.c > gcc -o maths_fns/relax_fit.os -c -I/sw/include/python2.6 > -I/sw/lib/python2.6/site-packages/numpy/core/include -fPIC > maths_fns/relax_fit.c > gcc -o maths_fns/relax_fit.so -bundle -bundle_loader /sw/bin/python2.6 > -dynamic maths_fns/c_chi2.os maths_fns/exponential.os maths_fns/relax_fit.os > Undefined symbols: > "_PyArg_ParseTupleAndKeywords", referenced from: > _setup in relax_fit.os > "_PyErr_Print", referenced from: > _initrelax_fit in relax_fit.os > "_Py_InitModule4_64", referenced from: > _initrelax_fit in relax_fit.os > "_PyArg_ParseTuple", referenced from: > _func in relax_fit.os > _dfunc in relax_fit.os > "_PyExc_RuntimeError", referenced from: > __import_array in exponential.os > __import_array in exponential.os > __import_array in exponential.os > __import_array in relax_fit.os > __import_array in relax_fit.os > __import_array in relax_fit.os > "_PyList_New", referenced from: > _back_calc_I in relax_fit.os > "__Py_NoneStruct", referenced from: > _setup in relax_fit.os > _setup in relax_fit.os > _setup in relax_fit.os > "_PyExc_ImportError", referenced from: > _initrelax_fit in relax_fit.os > "_PyCObject_AsVoidPtr", referenced from: > __import_array in exponential.os > __import_array in relax_fit.os > "_PyCObject_Type", referenced from: > __import_array in exponential.os > __import_array in relax_fit.os > "_PyImport_ImportModule", referenced from: > __import_array in exponential.os > __import_array in relax_fit.os > "_PyErr_SetString", referenced from: > _initrelax_fit in relax_fit.os > "_PyErr_Format", referenced from: > __import_array in exponential.os > __import_array in exponential.os > __import_array in exponential.os > __import_array in relax_fit.os > __import_array in relax_fit.os > __import_array in relax_fit.os > "_PyList_SetItem", referenced from: > _back_calc_I in relax_fit.os > "_PyObject_GetAttrString", referenced from: > __import_array in exponential.os > __import_array in relax_fit.os > "_Py_BuildValue", referenced from: > _func in relax_fit.os > _d2func in relax_fit.os > _back_calc_I in relax_fit.os > ld: symbol(s) not found > > Is the 1.3.4 release really python2.6 compatible or do I need additional > patches? Thanks in advance for any information. > Jack > ps I am updating the minfx-py package to the newer 1.0.2 release of > course for the python 2.6 compatibility changes. > > _______________________________________________ > relax (http://nmr-relax.com) > > This is the relax-users mailing list > [email protected] > > To unsubscribe from this list, get a password > reminder, or change your subscription options, > visit the list information page at > https://mail.gna.org/listinfo/relax-users > _______________________________________________ relax (http://nmr-relax.com) This is the relax-users mailing list [email protected] To unsubscribe from this list, get a password reminder, or change your subscription options, visit the list information page at https://mail.gna.org/listinfo/relax-users

