From: Alan W. I. <ir...@be...> - 2008-01-22 23:02:23
|
On 2008-01-22 14:12-0800 ka...@en... wrote: > Hi All, Hi Ty: Glad to see you are finally able to post to one of our lists after some auto-bouncing. > 1) During the installation I tried to install PLplot into it's own > directory in /usr/local using '--Prefix=/usr/local/PLplot' during cmake. > However, this didn't install it into PLplot, but rather the default > location which I assume is /usr/local. Will this be a problem? (I read in > the README file that it was recommended to put PLplot in its own > directory). For installation I followed the instructions from the wiki > (http://www.miscdebris.net/plplot_wiki/index.php?title=Mac_OSX). That Mac OS X part of our wiki is just a supplement to our generic Unix instructions at http://www.miscdebris.net/plplot_wiki. Read/follow the generic instructions first, then look at the Mac OS X part of our wiki for any additional comments. In particular the generic instructions give you an example of how to set the installation prefix, and you have not followed those. Thus, you currently do have a default install location of /usr/local so I would advise starting over with clean source tree and empty build tree. Note, setting the installation prefix has no effect until you type the "make install" command so if you haven't typed that command yet, you won't have to clean out /usr/local/. > > 2) After the installation I tried to run the example files but I don't know > how. There is an example folder in /path/to/PLplot/directory as well as in > the folder I created for the build plplot-build which is in > /path/to/PLplot/directory. If I enter the example folder in the PLplot > directory and type 'make' it says makefile can't be found (there are > makefiles but end in *.in, *.am, and *.example). If I enter the example > folder in plplot-build the 'make' command executes but no executable files > are added. How can I test that the installation worked? Look for the heading "Post-cmake build, install, and build-tree and install-tree tests" in our generic instructions, where I believe you will find the answer to your question. Good luck with PLplot, and don't hesistate to post here again if you run into any other difficulty with PLplot. 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 __________________________ |