----- Original Message ----- 
From: "perl" <[email protected]>

> Note (probably harmless): No library found for -lpgplot
> Note (probably harmless): No library found for -lcpgplot

Definitely *not* harmless.

> PGPLOT.xs:14:47: fatal error: cpgplot.h: No such file or directory
> compilation terminated.
> make: *** [PGPLOT.o] Error 1

Instead of running:

perl Makefile.PL
try
perl Makefile.PL INC="-I/directory/containing/pgplot_header" 
LIBS="-L/directory/containing/pgplot_libraries -lcpgplot -lpgplot"

I think that should work, though you might have to reverse the order 
of -lcpgplot and -lpgplot. (I can never remember which is supposed to be 
specified first ... or if it matters on nix-type systems.)

You do have the pgplot library installed somewhere ? (It's a pre-requisite.)

Cheers,
Rob


_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Reply via email to