From: John H. <jdh...@ac...> - 2005-11-18 03:23:07
|
>>>>> "Martin" == Martin Kuemmel <mku...@es...> writes: Martin> Dear all, an attempt to update from matplotlib-0.71 to Martin> matplotlib-0.84 on a solaris 5.8 (GCC-3.3.2, Python 2.4.2) Martin> machine failed. The error message is: Martin> In file included from src/_na_backend_agg.cpp:24: Martin> src/swig_runtime.h: In function `int Martin> SWIG_Python_ConvertPtr(PyObject*, void**, swig_type_info*, Martin> int)': src/swig_runtime.h:1128: error: `Py_False' Martin> undeclared (first use this function) Martin> src/swig_runtime.h:1128: error: (Each undeclared Martin> identifier is reported only once for each function it Martin> appears in.) src/swig_runtime.h: In function `PyObject* Martin> SWIG_Python_NewPointerObj(void*, swig_type_info*, int)': Martin> src/swig_runtime.h:1236: error: `Py_True' undeclared Martin> (first use this function) error: command 'gcc' failed with Martin> exit status 1 Try regenerating the SWIG headers on your local machine by installing *the most recent* version of SWIG and then running python makeswig.py before trying to build. This will regenerate the SWIG runtime. Alternatively, you could try with mpl 0.85 which has a new version of SWIG headers (built on a solaris box, coincidentally) JDH |