On 2013-09-12 08:22+0100 James Tappin wrote:
> pango_layout_get_baseline was not introduced until 1.22 (
> Centos, being an "enterprise" distro (based of RHEL), does not have
> up-to-date versions of fast changing libraries. I suspect your options are:
> 1) Try an older version of plplot
> 2) Use a more "cutting edge" distro.
Michael, what James has said here is correct, but I would like to
expand on it.
If you can do without the cairo devices then a better alternative to 1) is
3) Use the -DDEFAULT_NO_CAIRO_DEVICES=ON cmake option to turn off the
attempt to build the cairo devices.
On the other hand, if you want to use our cairo devices (which along
with our qt devices are pretty much the best of our devices) then a
comment on option 2) is virtually any modern Linux distribution should
satisfy the PLplot cairo needs except for the "enterprise" distros.
And even in the "enterprise" distro case, it is possible the latest
version of those might include the required cairo version, but you
will have to check that for yourself.
If you absolutely must stick with your current "enterprise" distro
version, but you also really need our cairo device driver,
then another alternative is
4) build a modern set of pango/cairo libraries and all their
dependencies for yourself. I am currently in the middle of developing
a largely independent project to automate such builds (see
cmake/build_projects), but that is an experimental project whose
current development has been largely suspended until after our
forthcoming release on September 28th because that release process is
going to consume quite a bit of my time. That said, I have gotten that
build to work on Debian so it might also work on CentOS, but there are
definitely no guarantees. Furthermore, if you try build_projects and
it does not work for you, then you will likely have to wait until
after the release to get any help from me concerning build_projects.
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); the Time
Ephemerides project (timeephem.sf.net); PLplot scientific plotting
software package (plplot.sf.net); the libLASi project
(unifont.org/lasi); the Loads of Linux Links project (loll.sf.net);
and the Linux Brochure Project (lbproject.sf.net).