From: Geoffrey F. <fu...@ga...> - 2002-09-02 22:05:16
|
Okay, well, I bit the bullet, and implemented a large part of the env handle object thing that I've discussed recently, and previously. So I went to test it, and as the first step, I tried to run the ps driver inside a java example (this is with dyn drivers), but without first changing ps.c to eliminate the direct linkage to plPhyRot. Curiously, it ran without difficulty. I am using JDK 1.4.0_01 on this system. Evidently, they changed the RTLD thing on this JDK. That's really funny, and maybe corroborates Alan's "they forgot it" theory. I dunno, anyway, it behaves differently than I remember. Just to confirm: Alan, you're using a JDK less than 1.4.0, and if you drop the -lplplot when linking psd_drv.so, then you can't run the ps driver inside a java example, right? So, I have done some work on this infrastructure, but I would like to see a clear before and after proof that it's being used, and working correctly. Alan (or anyone), exactly how should I configure and run to exercise the python binding with dyndrivers? -- Geoffrey Furnish fu...@ga... |
From: Geoffrey F. <fu...@ga...> - 2002-09-02 22:15:46
|
Geoffrey Furnish writes: > Alan (or anyone), exactly how should I configure and run to exercise > the python binding with dyndrivers? I configured with --enable-python, but it couldn't find arrayobject.h, so it disabled Python support. The last time I used the python binding in PLplot, I built a complete python from scratch, and installed the numeric module by hand, and did everything static. So, I know how to do it if I go that way. But I am under the impression that other PLplot developers aren't going that route. What is the state of things in the Python universe these days? For example, is there an rpm for RedHat 7.3 that I could install which adds the numeric stuff to a stock Python install? -- Geoffrey Furnish fu...@ga... |
From: Maurice L. <mj...@ga...> - 2002-09-03 17:38:03
|
Geoffrey Furnish writes: > The last time I used the python binding in PLplot, I built a complete > python from scratch, and installed the numeric module by hand, and did > everything static. So, I know how to do it if I go that way. But I > am under the impression that other PLplot developers aren't going that > route. What is the state of things in the Python universe these days? > For example, is there an rpm for RedHat 7.3 that I could install which > adds the numeric stuff to a stock Python install? I didn't find one for python2.2 when I went looking. But it builds & installs just fine from the tarball. As for python1.5, python-numpy-15.3-1.i386.rpm does the job. -- Maurice LeBrun mj...@ga... Research Organization for Information Science and Technology of Japan (RIST) |
From: Alan W. I. <ir...@be...> - 2002-09-03 18:01:07
|
On Tue, 3 Sep 2002, Maurice LeBrun wrote: > Geoffrey Furnish writes: > > The last time I used the python binding in PLplot, I built a complete > > python from scratch, and installed the numeric module by hand, and did > > everything static. So, I know how to do it if I go that way. But I > > am under the impression that other PLplot developers aren't going that > > route. What is the state of things in the Python universe these days? > > For example, is there an rpm for RedHat 7.3 that I could install which > > adds the numeric stuff to a stock Python install? > > I didn't find one for python2.2 when I went looking. For python2.2 try http://prdownloads.sf.net/numpy/Numeric-22.0-1.i386.rpm. Alan |
From: Maurice L. <mj...@ga...> - 2002-09-16 01:03:45
|
Alan W. Irwin writes: > On Tue, 3 Sep 2002, Maurice LeBrun wrote: > > > Geoffrey Furnish writes: > > > The last time I used the python binding in PLplot, I built a complete > > > python from scratch, and installed the numeric module by hand, and did > > > everything static. So, I know how to do it if I go that way. But I > > > am under the impression that other PLplot developers aren't going that > > > route. What is the state of things in the Python universe these days? > > > For example, is there an rpm for RedHat 7.3 that I could install which > > > adds the numeric stuff to a stock Python install? > > > > I didn't find one for python2.2 when I went looking. > > For python2.2 try http://prdownloads.sf.net/numpy/Numeric-22.0-1.i386.rpm. Since I generally prefer rpm installs over tarball, I took a look and found: $ rpm -qlp Numeric-22.0-1.i386.rpm /home/dubois/linux/include/python2.2/Numeric/arrayobject.h /home/dubois/linux/include/python2.2/Numeric/f2c.h /home/dubois/linux/include/python2.2/Numeric/ranlib.h /home/dubois/linux/include/python2.2/Numeric/ufuncobject.h /home/dubois/linux/lib/python2.2/site-packages/Numeric.pth /home/dubois/linux/lib/python2.2/site-packages/Numeric/ArrayPrinter.py /home/dubois/linux/lib/python2.2/site-packages/Numeric/ArrayPrinter.pyc /home/dubois/linux/lib/python2.2/site-packages/Numeric/FFT/FFT.py /home/dubois/linux/lib/python2.2/site-packages/Numeric/FFT/FFT.pyc /home/dubois/linux/lib/python2.2/site-packages/Numeric/FFT/__init__.py /home/dubois/linux/lib/python2.2/site-packages/Numeric/FFT/__init__.pyc /home/dubois/linux/lib/python2.2/site-packages/Numeric/FFT/fftpack.so /home/dubois/linux/lib/python2.2/site-packages/Numeric/LinearAlgebra.py /home/dubois/linux/lib/python2.2/site-packages/Numeric/LinearAlgebra.pyc /home/dubois/linux/lib/python2.2/site-packages/Numeric/MA/MA.py /home/dubois/linux/lib/python2.2/site-packages/Numeric/MA/MA.pyc ... Whoops. Hee hee. I guess I'll stick with the tarball. :) -- Maurice LeBrun mj...@ga... Research Organization for Information Science and Technology of Japan (RIST) |