From: Alan W. I. <ir...@be...> - 2002-08-20 15:12:41
|
Thanks, Maurice, for investigating the python1.5 possibility further. Gary, do you think it would be straightforward to get plplotcmodule.i working for python-1.5 or do you think we should just forget about python-1.5 support and only support python-2? From your previous messages, I notice you have gotten plplot to work for RedHat. Was that for their python2 variant? Alan email: ir...@be... phone: 250-727-2902 FAX: 250-721-7715 snail-mail: Dr. Alan W. Irwin Department of Physics and Astronomy, University of Victoria, P.O. Box 3055, Victoria, British Columbia, Canada, V8W 3P6 __________________________ Linux-powered astrophysics __________________________ On Tue, 20 Aug 2002, Maurice LeBrun wrote: > 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) > |