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

Reply via email to