> 
> Question to all: Is the dependency on an external PGPLOT package really 
> intentional? It's caused by a "use PGPLOT;" in PDL::Graphics::PGPLOT::Window 
> (and perhaps other modules). If intentional, it should be tested by 
> Makefile.PL and disable PGPLOT support unless the external package is 
> installed.

Very much intentional - the PGPLOT package came first before Karl came up with 
PDL, and PDL::Graphics::PGPLOT::Window relies 100% on this for the interaction 
with pgplot (which indeed works fine on Mac OS X using either MacPorts or 
manual builds.

The install should probably make a fuss if the external package is not 
installed at time of build and certainly the PDL::Graphics::PGPLOT(::Window) 
package ought to fail gracefully when it is not available (I don't think it 
does now) but there is no strict need to disable its installation because the 
PGPLOT package can be installed separately from PDL (as you discovered). Indeed 
it would be annoying if you forgot to install the PGPLOT package when building 
PDL (I know I have done a fair few times :) and then had to rebuild it again 
after you have installed it. Now you just need to install it from CPAN which is 
easier.

        Cheers,
                J.


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

Reply via email to