On 2010-02-06 18:39-0000 Leo wrote:

> Hello,
>
> I am compiling plplot on Snow Leopard. I have found it very difficult to
> get it to compile with support for different output formats. I looked at
> the wiki and tried various things suggested there but still with no
> luck. Because of my unfamiliarity with cmake (as compared to the
> standard ./configure make routine), I can't figure things out myself.
>
> At the moment I could only get the following:
>
> DRIVERS_LIST: aqt;mem;null;ps;svg;xfig;xwin
> DEVICES_LIST: aqt;mem;null;ps;svg;xfig;xwin
>
> despite having gd-2.0.35 and libharu installed and available through
>
> export 
> CMAKE_INCLUDE_PATH=/usr/local/unix/gd-2.0.35/include/:/usr/local/unix/qhull-2010.1/include/:/usr/local/unix/libharu-2.1.0/include/
> export 
> CMAKE_LIBRARY_PATH=/usr/local/unix/gd-2.0.35/lib/:/usr/local/unix/qhull-2010.1/lib/:/usr/local/unix/libharu-2.1.0/lib/
>
> Any suggestions?

Hi Leo:

Some of our devices are deprecated (the build system ignores them by
default) because of long-standing issues that nobody has been motivated to
fix and/or because there are better ways to get the same output format.  Our
gd-related devices (png, jpeg, and gif) have been deprecated for those
reasons as of PLplot-5.9.3 (see the 5.9.3 and subsequent release
announcements).  We had similar reasons for deprecating pstex, but I cannot
recall the release where that happened. As far as I can recall, our
haru-based pdf device is currently deprecated because it is still
experimental.

If you still want to try a deprecated device, you should be able to enable
them individually by using e.g., the -DPLD_png=ON, -DPLD_jpeg=ON,
-DPLD_pdf=ON, etc., cmake command-line options.

However, instead of fooling with deprecated devices, you might want to try
the large number of high-quality devices (including pngcairo, jpgqt,
pscairo, epsqt, pdfcairo and pdfqt) you get with the cairo and qt device
drivers. To enable the cairo devices, all you need to do is install the
development versions of the gtk+ stack of libraries (which includes
libpango, libcairo, the fontconfig library, etc.) and adjust PKG_CONFIG_PATH
appropriately to point to the directory where, e.g., pangocairo.pc resides.
Our build system should do the rest.  To enable the qt devices, all you need
to do is install a development version of the Qt libraries. Versions greater
than 4.5.0 are preferred. My most recent (Linux) testing is with 4.6.0, but
I now notice 4.6.1 is out so I intend to test that shortly and don't
anticipate any difficulties with it.  Once you have the Qt development
libraries installed, then put the qmake command associated with that version
on your path, and our build system should do the rest.

I develop and test on Linux and don't have access to a Mac OS X platform
myself, but we do have several developers with such access, and as far as I
know, they have no issues with cairo devices working on Mac OS X and
similarly with the qt devices if they use a modern Qt release. Thus, the
chances are good that you will have qt and cairo success as well. However,
if not, report the issues here (including your PLplot, Gtk+, Qt4, and Mac OS
X versions), and we will attempt to deal with them.

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
__________________________

------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Plplot-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to