I think the error is in the specification of /user/local/pgplot in the
second line below - I think it should be:
/usr/local/pgplot

> Please specify prototyping behavior for PGPLOT.xs (see perlxs manual)
> cc -c  -I/user/local/pgplot/ -fno-common -DPERL_DARWIN -no-cpp-precomp 
> -fno-strict-aliasing -pipe
> -I/usr/local/include -O3   -DVERSION=\"2.20\" -DXS_VERSI
> ON=\"2.20\"  "-I/Users/ahales/myperl/lib/5.8.9/darwin-2level/CORE"   PGPLOT.c
> PGPLOT.xs:14:47: error: cpgplot.h: No such file or directory


...and because it has the wrong directory (/user instead of /usr) then
it dies trying to find pgplot.h

First, check that you have the .h file:

ls /usr/local/pgplot

...and cpgplot.h should pop up.

I'm not sure how to specify the correct library directory into a CPAN
loaded module - try:

PGPLOT_DIR=/usr/local/pgplot ./bin/perl -MCPAN -e 'install PGPLOT;'

and let me know how you get on.

Matt

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

Reply via email to