#37 enhance pgplot/plplot/gnuplot/prima buildability


I recently had to go through a full, clean install for PDL on cygwin
and ran into a couple of issues relating to getting PGPLOT up:

(1) Had to build the patched pgplot which I needed to hand
edit to add PNG support to the build

(2) Then I needed to use the patched PGPLOT-2.19-CD.tar.gz
rather than the stock PGPLOT release.

I would like to see the patches to the pgplot library
updated so these fixes aren't required and for the
modifications needed for rgbi support folded into
the main PGPLOT module tree (in such a way that
it would work with or without the patched pgplot

At that point, it should be possible to implement
an Alien::PGPLOT module to take care of the
patching and building.


  • Tim Jenness

    Tim Jenness - 2011-01-24

    The Starlink release solves some of these problems since it uses autoconf and will build PNG support automatically. It's also an avenue for adding thirdparty patches to the release. The problem is that PGPLOT is private software and it's impossible to get patches into the official distribution. Starlink gets away with it because they did a deal with Tim Pearson about 20 years ago to allow redistribution of PGPLOT in the Starlink software.

  • Chris Marshall

    Chris Marshall - 2011-01-28

    I would like to see external dependencies for PDL
    not to require unix developers framework to build.
    Ideally, it would only use perl and the compiler.
    For Alien::PGPLOT, a source build could go as

    (1) get pgplot official source
    (2) get pgplot patch to source
    (3) appy pgplot patch to source
    (4) build/test/install pgplot
    (5) done!

    Alien::PNG could be used to determine
    if there was a libpng available to link against.

  • Chris Marshall

    Chris Marshall - 2013-02-20
    • summary: enhance PGPLOT/pgplot buildability --> enhance pgplot/plplot/gnuplot/prima buildability
    • priority: 3 --> 1
  • Chris Marshall

    Chris Marshall - 2013-02-20

    Improving ease of install is important for the success of PDL.
    Adjusting priority but leaving open as a reminder for
    development going forward.


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.

No, thanks