As part of checking things out for the upcoming PDL-2.4.5
release, I made an effort to install a number of the modules
with external dependencies.
Here are some notes by module of what I had to do to get
the build to work. I hope this is useful/helpful to folks.
PDL::FFTW (OK)
---------
It turns out that there are packages for fftw2 so
I only needed to:
yum install fftw2 fftw2-devel
PDL::Graphics::PGPLOT (Not Available)
---------------------
yum search pgplot did not result in any packages
so I did not try this. Manual pgplot installs have
worked in the past.
PDL::IO::HDF (Could Not Configure)
------------
I did 'yum install hdf hdf-devel' to get the HDF4
libraries but the PDL::IO::HDF module did not build.
I saw that the include files were in /usr/include/hdf
and the libraries were in /usr/lib/hdf4 but was not
able to cook up working perldl.conf lines.
It would be nice if there were a commented out example
of usage in perldl.conf as it appears that the values
need to be refs to perl arrays of directory name strings?
Also, now that HDF5 is out, maybe the install locations
I have on this system are to be expected. It would be
nice if it were picked up automatically.
One thing that was puzzling was the test messages
saying the tests were skipped because the HDF module
was not installed. I was unable to find an HDF on
CPAN. I looked at the test and the check is actually
for PDL::IO::HDF and not HDF as the warning suggests.
PDL::GIS::Proj and PDL::Transform::Proj4 (Tricky but OK)
----------------------------------------
yum install proj proj-devel
got the PROJ4 library installed but the tests failed.
Apparently the error is that some proj systems data
is not available and that results in errors. I had
to
yum install proj-nad
to get the tests to pass. I would be nice if the PDL
config process could give more helpful feedback when
the problem is due to this "stuff" missing (sorry, I'm
not sure what is missing here)
PDL::Slatec and other Fortran modules (OK)
-------------------------------------
yum install gcc-gfortran perl-ExtUtils-F77
And these modules were able to be built. I did not
find anything relating to f77 so it looks like things
have moved on to f95 as the sweet spot compile target.
PDL::IO::Dumper (OK)
---------------
This modules tests were skipped because there was no
uuencode, uudecode or Convert::UU on my system. A yum
search found what to install and
yum install sharutils
made the tests pass. I did not try with Convert::UU
It appears that the dumper module is not built/used on
win32. I'm not sure why that is the case. If it was
the lack of uuencode/uudecode, then Convert::UU would
be an alternative.
PDL::Graphics::PLplot (OK)
---------------------
yum install plplot plplot-devel
And the PLplot module was built and passed tests.
Happy PDL-ing!
Chris
_______________________________________________
Perldl mailing list
[email protected]
http://mailman.jach.hawaii.edu/mailman/listinfo/perldl