On 2006-11-28 08:46+0900 Hiroyasu Yasuda wrote:

> |*|This is all taken care of in the recommended pkg-config approach that is
> |*|used with our new CMake build system. Again, look at what the installed
> |*|examples/f95/Makefile file does (for our new CMake build system), and
> |*|copy that.
>
> I would like to ask you a few questions:
> Does that mean re-installing PLplot using CMake?
> If I will re-install using CMake, are all files overwrited
> safely ?

There are three file trees of relevance here.  Here is what I suggest to
have pristine results for all of them.

(1) Source tree.

You should start by removing the plplot-5.7.1 directory (use rm -rf if you
have the courage to use that dangerous command), then unpack the
5.7.1 tarball.  That should create a pristine source tree.

(2) Build tree.

If you follow the cmake build system directions at
http://www.miscdebris.net/plplot_wiki/ you will use a build tree that is
separate from the source tree.  Be sure to start with an absolutely empty
build tree (rm -rf is again your dangerous friend), and that insures a
pristine build tree.

(3) Install tree.

"make install" installs into whatever install prefix you specify with the
cmake -DCMAKE_INSTALL_PREFIX option.  Usually, I specify something
accessible from an ordinary user account for this prefix rather than a
root-owned area. Use something unique for that install prefix for your CBS
builds and always remember to rm -rf that prefix directory before each build
to insure a clean install tree.  (If you don't set CMAKE_INSTALL_PREFIX,
then the default will be to install to /usr/local which is owned by root and
not unique so you cannot safely remove it with rm -rf).

I am sure there are other methods to assure pristine source, build, and
install trees, but these are what I use.

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-devel mailing list
Plplot-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/plplot-devel

Reply via email to