Hi,
There has recently been a discussion on PGPLot in the PDL mailing list. As in that case I post my installation notes (ammended with the help of several users of the PDL mailing list) in case you fin them useful useful:


download, uncompress and untar in: /usr/local/src

create a directory /usr/local/pgplot

open the drivers.list file and select drivers

copy the drivers.list file to /usr/local/pgplot

change directory to /usr/local/pgplot

execute the makemake:

/usr/local/src/pgplot/makemake /usr/local/src/pgplot linux g77_gcc

Now comes the tricky part ...
In openSUSE 10.3 modify the make file to point to gfortran:
FCOMPL=gfortran
FFLAGC=-ffixed-form -ffixed-line-length-none -u -Wall -fPIC -O

Also the png driver will not compile if the following line:
pndriv.o : ./png.h ./pngconf.h ./zlib.h ./zconf.h

is not replaced by:
pndriv.o : /usr/include/png.h /usr/include/pngconf.h /usr/include/zlib.h /usr/include/zconf.h

# if the drivers.list file includes /(V)GIF, /(V)PPM, or /(V)WD,

# the source code for these drivers must be edited. Add these three steps:

cd drivers
grep -n 64-bit *
edit the listed files at the lines specified.

make
make cpg

add to bash.bashrc.local export PGPLOT_DIR=/usr/local/pgplot
export PATH=$PATH:/usr/local/pgplot
add to ld.conf.so /usr/local/pgplot
run ldconfig

In the CPAN shell, install the PGPLOT module.

In reply to Re: Anyone have problem with PGPlot under Knoppix? by hda
in thread Anyone have problem with PGPlot under Knoppix? by Chah

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.