Hi Matt, That did the trick. Both pgplot and PDL compiled nicely. In the perldl shell the 'demo pgplot' ran fine. However, when doing some simple piddle tests it failed with the following error:
perldl> p $a=sequence(20) Undefined subroutine &PDL::_clump_int called at /Library/Perl/5.8.8/darwin-thread-multi-2level/PDL/Core.pm line 1007. I guess there are still some lose cables somewhere ? Cheers Antonio Matthew Kenworthy wrote: > 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 > -- ----------------------------- Dr. Antonio Hales ALMA Commissioning Scientist Joint ALMA Office Av Apoquindo 3846 Piso 19 Santiago - Chile ----------------------------- (+56) 2 467 6236 (+56) 9 6 2062609 ----------------------------- _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
