Edward,
I think I see the problem. The link line is missing a linkage on either
/sw/lib/python2.6/config/libpython2.6.a or
/sw/lib/python2.6/config/libpython2.6,dylib.
What do you have for the linkage of maths_fns/relax_fit.so on linux? Does
that build explicitly link in the python library?
Jack
On Mon, Aug 17, 2009 at 11:50:10AM +0200, Edward d'Auvergne wrote:
> Hi,
>
> Thank you for building these packages (or at least attempting for now
> ;). I'm still looking into the problem, but it's looking like the
> Python header files are missing or are from an old version. Do you
> know if this could be the issue, that the Python development packages
> are out of date or are missing?
>
> 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