From: Alan W. I. <ai...@us...> - 2003-12-26 18:12:24
|
On 2003-12-26 08:10-0500 Koen van der Drift wrote: > > On Dec 25, 2003, at 2:55 PM, Alan W. Irwin wrote: > > > I am sorry everything is in a bit of disarray with Mac OS X and > > PLplot, but > > we all three of Mac OS X, autotools, and PLplot are rapidly moving > > targets. > > Also, bug fixing is slow because no PLplot developer has direct Mac OS > > X > > access, and we must rely on indirect actions of users to help us debug > > for > > that platform as a consequence. > > I'll be glad to help - just don't have much time and resources > (knowledge). > > > > In actual truth none of the above are needed. For example, if all the > > above > > are disabled, you could (theoretically, I haven't tried this myself) > > still > > run any of the C examples from the command line using -dev psc (our > > coloured > > postscript device) or -dev ps > > > I tried this, but didn;t get it to work, due to my experience with the > command line (I don't have a unix but rather a Mac GUI background :). > What is the correct syntax to run the c examples from the command line? > > > thanks, > > - Koen. > Here is the detailed cookbook. After make install, do the following to build the examples: cd /tmp (or any other directory accessible to you as an ordinary user) copy the installed examples tree (the trailing period is important): cp -a $prefix/lib/plplot$version/examples . go into the C examples directory and build those examples: cd examples/c make x01c (or drop the x01c from the command to build all C examples) Then in that same directory to execute the built example: ./x01c -dev psc -o temp.ps which creates the result file temp.ps containing the coloured postscript plot of our example 1. BTW, you could help us out a lot (assuming you have MacOS X 10.3) to try the latest cvs snapshot version Rafael just announced. We need confirmation of a report from one user that he could not even configure the cvs version of Plplot with 10.3. Please use an install tree (e.g., --prefix=/tmp/plplot_cvs) completely independent of your 5.2.1 install tree/. You will have to put $prefix/bin first on your path so that e.g., which plplot_libtool gives you the correct version from your cvs snapshot plplot build and install. Alan __________________________ Alan W. Irwin email: ir...@be... phone: 250-727-2902 Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the 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 __________________________ |