From: Alan W. I. <ir...@be...> - 2004-01-23 02:19:13
|
On 2004-01-22 18:01-0500 Koen van der Drift wrote: > > On Jan 21, 2004, at 9:23 PM, Alan W. Irwin wrote: > > > That is most peculiar. That is a configured file (source > > test/test_python.sh.in) where @PYTHON@ is changed to what should be the > > correct python command on your system for test_python.sh. > > > > Sorry, my mistake - I tested the examples I put in ~/tmp. I failed to > update them after I rebuild plplot with the additional python package. No problem. > > I still cannot run ./test_python.sh directly, I get this error: can't > open file '/pythondemos.py'. ./test_python.sh should not be run standalone (as documented in that script and as you just found out). Instead, ./plplot_test.sh interprets its options, and sets environment variables appropriately before invoking ./test_python.sh. > Using ./plplot_test.sh works fine. Excellent. ==> Case closed (although I still think Rafael's proposed test/Makefile.am configuration change for test_python.sh is a good cleanup.) Note, if you just want to run the python examples alone with that script, try ./plplot-test.sh --front-end=python. Also, try ./plplot-test.sh --help to see other options. Alan __________________________ Alan W. Irwin email: ir...@be... phone: 250-727-2902 Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the PLplot scientific plotting software package (plplot.org), the Yorick front-end to PLplot (yplot.sf.net), the Loads of Linux Links project (loll.sf.net), and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |