in reply to Re^2: Problems installing PGPLOT.pm
in thread Problems installing PGPLOT.pm
but looking at the top line of your output of PGPLOT-2.20, it saysmakemake "wherever the source files are" linux g77_gcc
and therein lies the rub: pgplot was compiled and linked against G77, and PGPLOT-2.20 is compiling/linking against gfortran and the two are not compatible. Take a look at the Makefile.PL file in the PGPLOT-2.20 directory and UNcomment the line that reads something likeFound compiler g77 Found compiler gfortran ExtUtils::F77: Using system=Linux compiler=GFortran ... ExtUtils::F77: Compiler: gfortran
and this will force PGPLOT-2.20 to use g77 instead of gfortan like it wants to. Other suggestions on the interwebs suggest compiling pgplot itself through gfortran, but this leaves you hanging dry if you need some of the more common output types. This took a while to figure out, but it works as expected for me.#use ExtUtils::F77 qw(generic g77);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Problems installing PGPLOT.pm
by mendelrat (Initiate) on Sep 10, 2008 at 22:40 UTC | |
|
Re^4: Problems installing PGPLOT.pm
by Anonymous Monk on Jan 27, 2011 at 15:34 UTC |