On 2008-12-11 00:57-0500 Alexy Khrabrov wrote:

> I've checked plplot out of svn, and followed instructions from the
> wiki at
>
> http://www.miscdebris.net/plplot_wiki/index.php?title=Building_PLplot
>
> Now there's no plplot_cmake at the top level of the svn distro.  If I
> just specify the plplot directory, cmake does generate a Makefile --
> in the source directory.  Trying to run it form a separate build
> directory doesn't work.

The last option of the svn checkout command is the name of the (initially
empty) directory where you want the source tree to be downloaded.  So it
appears from above that you specified plplot rather than plplot_cmake, but
you can use any name you desire.

Then to build in an initially empty build tree do the following

1. Create the empty build directory and cd to it.

N.B. the "build_dir" name is arbitrary and you can use anything for that so
long as you are consistent and you don't mind the directory being initially
destroyed by the rm -rf command.

rm -rf build_dir
mkdir build_dir
cd build_dir

2. Do the configuration, build, and install.

# Replace ../plplot_cmake with whatever you have named your svn checkout
# directory.  -Doptions can be a lot of things mentioned in the wiki.
cmake -Doptions ../plplot_cmake

make

#ctest is optional and requires -DBUILD_TEST=ON cmake option above
ctest

# Installs in prefix directory you specify by appropriate -D option for
# above cmake command.
make install

Hope this overview helps.

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 libLASi project (unifont.org/lasi); the Loads of
Linux Links project (loll.sf.net); and the Linux Brochure Project
(lbproject.sf.net).
__________________________

Linux-powered Science
__________________________

------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
Plplot-general mailing list
Plplot-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to