mailcompiling 1.3.4 against python 2.6?


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by Jack Howarth on August 16, 2009 - 04:10:
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.



Related Messages


Powered by MHonArc, Updated Mon Aug 17 12:01:04 2009