On Sat, May 09, 2009 at 09:41:07PM -0700, Alan Irwin wrote:
> On 2009-05-10 12:08+0900 Hiroyasu Yasuda wrote:
> 
> > Alan:
> >
> > Thank you for the reply.
> >
> > I tried running the python examples, xw*.py, plplot_python_start.py
> > and some execute files.
> 
> Hi Hiro:
> 
> Try this:
> 
> cd examples/python
> 
> ./x01 -dev xwin
> 
> Does that work?
> 
> To explain the above, xw??.py are not standalone python scripts.  Instead,
> x?? are standalone python scripts that import xw??.py.
> 
> Hope that helps with how you should test your PLplot installation.
> 
> Currently, I just have python-2.5 installed, but I believe others here have
> used 2.6 without troubles.  Our CMake-based build system simply finds the
> latest python installation on your system and uses that (which I assume
> would be 2.6 in your case). It's possible for you to run into trouble if you
> had say a python-2.6 installation (which PLplot would use) while the python
> command itself pointed to your python-2.5 installation rather than your
> python-2.6 installation.
> 
> Let us know how it goes.

Alan, 

I think this is a cmake bug in finding python libraries. It always looks for 
libraries and include directories starting with the highest version 
available irrespective of the version of python. This means that 
different versions of python do not coexist very well. Tcl suffers the 
same problem. For Debian we get round this for tcl by explicitly forcing 
the Tcl paths rather than relying on FindTclLibs. Not a great solution.

Andrew

------------------------------------------------------------------------------
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to