From: Maurice L. <mj...@ga...> - 2002-08-20 11:10:16
|
Alan W. Irwin writes: > On Mon, 19 Aug 2002, Maurice LeBrun wrote: > > where "python" for RH7.3 is python1.5. Is python1.5 no longer supported? > > We should support it for now, and thanks very much for testing that support > (which I cannot do on my Debian system which is fully converted to python 2). > > Before, I found python2 was not reliable in RH7.2 so I used python1.5 in > that case. [...] OK, I fixed sysloc.in so that I could configure with: PYTHON_INC_DIR=/usr/include/python1.5 ./configure --enable-python and get the correct Numeric arrayobject.h file. But still no go: trinity$ python ./pythondemos.py Traceback (innermost last): File "./pythondemos.py", line 15, in ? from plplot import * File "/home/mjl/dev/plplot/plpy/tmp/plplot.py", line 20, in ? from plplotc import * ImportError: /home/mjl/dev/plplot/plpy/tmp/plplotcmodule.so: undefined symbol: PySequence_Fast_GET_ITEM Turns out plplotcmodule.i relies on some things present in 2.x but not in 1.5, such as this macro define and the PySequence_Size() call. The macro define could probably just be replicated here but dunno what to do about PySequence_Size(). Grep for these in python's abstract.h file for more info. -- Maurice LeBrun mj...@ga... Research Organization for Information Science and Technology of Japan (RIST) |