> Free advice -- take it or leave it. Never touch MacPorts or Fink. Just
> don't. It messes up with your life, and really leaves misery in its
> wake.

I used to share that opinion -- very much so -- until I recently had to wipe my 
entire /usr/local after filling it up with tons of manually installed, and by 
now outdated, software without uninstallers.  Installing and uninstalling 
packages with MacPorts is so much nicer that I'm willing to waste a GiB or two 
on the extra copies of Perl, GCC, X11, ... that MacPorts insists on installing. 
 It's also become much more usable as most packages seem to offer Universal 
builds now.

> 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.

Sorry, my mistake.  I confused PGPLOT with PLplot, which I had also been trying 
to get to install (unsuccessfully), and thought that PDL checked for available 
of the PGPLOT headers and libraries during auto-configuration.  But I now see 
that's not the case, and the PGPLOT driver is always installed.  Sorry about 
the noise.

> The install should probably make a fuss if the external package is not 
> installed at time of build

Yes, that would be very useful (also so that cpan knows to auto-install it if 
we ever get to the point where building PDL with cpan or cpanp can be 
recommended).

> 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.

Except the automatic install with "cpan" doesn't work on Mac OS X, because 
Makefile.PL fails to locate my MacPorts-installed version of PGPLOT. :-(  But a 
manual install works fine and the PDL demos now run without problems.

Best,
Stefan


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

Reply via email to