On 2007-01-30 19:26-0800 Kamae, Tsuneyoshi (Tune) wrote:

> Dear PLplot experts,
>
> I have been using Plplot with python binding for 3 years. I want to install a 
> new version onto my RHEL4 64bit version. I have two versions of python 
> installed: Python 2.4.4 and 2.5.
>
> My questions are:
> 1) cmake --help does not explain how '--enable-python' should be specified.
>   Shall I type in 'cmake --enable-python .'?

It is turned on by default.  But swig is used to build our python interface,
and there has been a post-5.7.2 fix in the cvs version to make finding swig
a _lot_ easier.  (Basically, swig just has to be on the PATH in the latest
version, and it is much more complicated than that for the 5.7.2 version.)
Thus, I suggest you use the cvs version of PLplot for now.

> 2) Will PLplot work with Python2.5 on a 64bit linux (AMD64x2)?

dunno.

> 3) Can user switch between 2 python versions without redoing cmake?

I suggest you simply create two different installs of PLplot
with different install prefixes to keep the installed versions separate.
(Our wiki at http://www.miscdebris.net/plplot_wiki/index.php?title=Main_Page
shows you how to specify the install prefix and a whole lot more with
cmake.) Also, the two separate builds would somehow have to specify your
two separate python versions.  Our configuration now simply looks for the
python executable so I guess you could shift between your two versions of
python by fooling around with a python symlink that points to one or the
other.  Note the two separate builds and installs would only have to be
done once.  At python time, you could easily choose which kind of PLplot
module you wanted by specifying the appropriate install location.

Two separate install locations sounds a bit complicated though, so you may
be better off just doing your plotting with a single plplot version using
the standard python version you get with the "python" command.

Alan
__________________________
Alan W. Irwin

Astronomical research affiliation with Department of Physics and Astronomy,
University of Victoria (astrowww.phys.uvic.ca).

Programming affiliations with the FreeEOS equation-of-state implementation
for stellar interiors (freeeos.sf.net); 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
__________________________

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to