I've spent some time trying to update the Portfile
(https://github.com/mvgrimes/macports-p5-pdl). Unfortunately, it has
proved more difficult than expected. PDL installs just fine with
cpanm, but the installation via macports has a number of issues:
- The pdl command hangs before anything is output
- perldl works, but complains about not being able to find PDL/pdldoc.db
- These modules appear to be required (per Makefile.PL) but do not
have MacPort packages:
Convert::UU
File::Map
Module::Compile
Filter::Simple
Looking at a diff from 2.4.11
(https://metacpan.org/diff/release/CHM/PDL-2.4.11/CHM/PDL-2.006#META.json)
it appears that Filter::Simple and Module::Compile are new, but
Convert::UU and File::Map were also required in 2.4.11. Do we really
need these? Is they optional?
- Simple tests of graphics tools don't work:
pdl> demo pgplot
Undefined subroutine &PDL::Demos::PGPLOT_demo::run called at
./perldl line 455.
You can see the build log here
https://gist.github.com/mvgrimes/5534323 (jump to line 1830 for the
output of `perl Makefile.PL`). Most everything looks ok with the
following exceptions:
- OpenGL isn't found/enabled
- libsz isn't found for HDF support; note that hdf5-18 is installed
(HDF5 v1.8.10)
Lastly, I'm happy to keep working on this as time permits, but I've
realized that we need to continue using our perlbrew installed perl,
so I won't be a user of the macports PDL. That is far from ideal. It
would be better if we had an actual user of the package maintaining
it... anyone?
Thanks,
Mark
On Sat, May 4, 2013 at 1:53 PM, Chris Marshall <[email protected]> wrote:
> That would be great! I believe there already is a macports done for an
> earlier release of PDL. Updating it to the latest should be mostly tweaking
> and checking rather than writing from scratch. Sorry I can't be more
> specific but "no speak mac" :-)
>
> --Chris
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl