Re: [Plplot-devel] [Perldl] PLPlot -- how to install?
Hi Craig: I've been using PLplot successfully for quite a while now. Originally, I switched to it because PGPLOT was such a bear to install. Unfortunately, the newest PLplot has added many dependencies, so its getting harder to install. On the plus side, its getting many new interesting features and it has an active development community that is working well together. I've never installed it on a Mac, attached is my install receipe on Linux. I'm also CCing some PLplot folks in case they have some easy solutions for Mac. Regards, Doug [EMAIL PROTECTED] Software Engineer III UCAR - COSMIC, Tel. (303) 497-2611 On Thu, 17 Apr 2008, Craig DeForest wrote: Hey, all, I've been wanting for some time to use PLPlot rather than PGPLOT, but I'm currently 0 for 4 on attempts to install it properly. To get the latest version to compile on my Mac, I had to seriously tweak the make files. I got some basic functionality (e.g. throwing up an X window) but never managed to advance to being able to generate plots. Is anyone here actively using PLPlot to make plots with PDL? If so, what's your system and how hard was it to install? I'm looking for some tips here as I'd like to migrate, but have never been able to make it work. I know Doug Hunt is a big fan, and Derek Lamb used it for a paper we published together. Who else is using it? Cheers, Craig ___ Perldl mailing list [EMAIL PROTECTED] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl Craig: Here are all the packages I install to get plplot working. Many may already be installed or are not necessary. # cmake (new build system, they are no longer using GNU tools for configuration) tar -xzf cmake-2.4.8.tar.gz cd cmake-2.4.8 ./bootstrap make make install # pkg-config (may already be installed) tar -xzf pkg-config-0.23.tar.gz cd pkg-config-0.23 ./configure make make install # glib GNOME libraries. I think this is necessary for pango/cairo, I doubt it is necessary for plplot without cairo drivers. tar -xzf glib-2.14.5.tar.gz cd glib-2.14.5 export PKG_CONFIG_PATH="/usr/lib64/pkgconfig:/usr/lib/pkgconfig" # maybe not necessary? ./configure --prefix=/ops/tools make make install # cairo (optional, needed for cairo drivers (which have nicer fonts)) tar -xzf cairo-1.4.14.tar.gz cd cairo-1.4.14 export PKG_CONFIG_PATH="/usr/lib64/pkgconfig:/usr/lib/pkgconfig" # might not be necessary? ./configure make make install # pango (optional, needed for cairo drivers (which have nicer fonts)) tar -xzf pango-1.19.3.tar.gz cd pango-1.19.3 export PKG_CONFIG_PATH="/usr/lib64/pkgconfig:/usr/lib/pkgconfig" # might not be necessary? ./configure make make install # plplot tar -xzf plplot-5.9.0.tar.gz cd plplot-5.9.0 export PKG_CONFIG_PATH ="/usr/lib64/pkgconfig:/usr/lib/pkgconfig" # might not be necessary? cmake CMakeLists.txt make make install - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel
Re: [Plplot-devel] [Perldl] PLPlot -- how to install?
On 2008-04-17 14:55-0600 Doug Hunt wrote: > Hi Craig: I've been using PLplot successfully for quite a while now. > Originally, I switched to it because PGPLOT was such a bear to install. > > Unfortunately, the newest PLplot has added many dependencies, so its getting > harder to install. On the plus side, its getting many new interesting > features and it has an active development community that is working well > together. Note, those extra dependencies are only required if you want the new PLplot features. If a dependency is missing for a user's platform, we try hard to make our CMake-based build system deal with that in a smooth way by removing the extra feature (with a WARNING message about that removal in the output from the cmake command) and continuing. Furthermore, if the dependency is there, but your platform is having some trouble with it, it is completely straightforward to configure our build system to drop particular features (normally language bindings and/or drivers) or even drop all added features by default and add back (say) our basic postscript driver (which has no external dependencies) so that you will get at least some plot output. Also, any effort to "seriously tweak the make files" is probably never going to lead to a useful conclusion (as Craig found in his specific case). Our CMake-based build system automatically generates those Makefiles so you are almost bound to generate extra errors if you start tweaking them in a major way. I suggest to Craig that he should follow the PLplot build directions (at http://www.miscdebris.net/plplot_wiki/). If he follows those directions and still has build issues, he should report those issues to either the plplot devel list or the plplot-general list where normally we are quick to respond to such reports. The statistics at http://sourceforge.net/project/showfiles.php?group_id=2915 show our latest PLplot release has been downloaded more than 1600 times since February. I don't know what fraction of those downloaders use the Mac OS X platform, but PLplot has been available for Mac OS X for many years so I assume that fraction is substantial. Anyhow, IIRC no Mac OS X build issues have been reported from any of those downloaders which I hope encourages Craig to give the PLplot build on Mac OS X another try. BTW, Doug, I am not subscribed to the PDL list so could you please forward this response to that list? TIA. 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 __ - This SF.net email is sponsored by the 2008 JavaOne(SM) Conference Don't miss this year's exciting event. There's still time to save $100. Use priority code J8TL2D2. http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone ___ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel