A few thoughts on what troubles you:

> I downloaded PDL 2.4.6, and following my previous install, config-ed
> the perldl.conf to build without PLPLOT and Karma but with HDF5.
>

I am 99% certain that the HDF library that comes with PDL is not HDF5 but
HDF4.  For HDF5, I found this on
CPAN<http://search.cpan.org/%7Ecerney/PDL-IO-HDF5-0.5/hdf5.pd>.
I'm not sure how the two compare, but I was led to believe that HDF4 is
quite different from HDF5.


> ===== during the Makefile process =======
> punkish ~/Projects/PDL-2.4.6$perl Makefile.PL
>
> ..
>
> Writing Makefile for PDL::IO::FITS
>   Will forcibly try and build PDL::IO::HDF on this system
> WARNING: Unknown cpu type i386! Not setting $hdf_defs. (This may not
> be a bad thing)
> Final $hdf_defs flags: ''
>   Building PDL::IO::HDF. Turn off WITH_HDF if there are any problems
>

That business about 'This may not be a bad thing' is correct in your case.
This warning message gets made in the process of attempting to set
Linux-specific compiler settings, which is not a very portable idea to begin
with.  Furthermore, this stage in the process obtains the cpu type with the
command `uname -m`, which seems to me to have portability problems written
all over it.  (In fact, it is preceeded with a comment that states "NOTE TO
SELF: The main PDL developers may not like this...")  The whole check should
probably be replaced or removed.

To work around this, edit the file IO/HDF/Makefile.PL and comment out lines
106, 107, and 109-118.  Then run perl Makefile.PL and see what you get.

Found FFTW2 double version in /usr/local/include/fftw.h !
>     Libs: 'libfftw.a', 'librfftw.a' Not Found
>     Looked in: '/lib', '/usr/lib', '/usr/local/lib'
>  Skipping build of PDL::FFTW.
> writing dummy Makefile
>

Sorry, I don't know what's going on here.  I don't know enough about FFTW2.
However, PDL has its own FFT routines, so unless you really need the
capabilities of FFTW2, I wouldn't worry much about it.  You ignore this, or
modify your configuration file appropriately.


> Skip ../../blib/lib/PDL/IO/FITS.pm (unchanged)
> Manifying ../../blib/man3/PDL::IO::FITS.3
>
make[2]: Makefile: No such file or directory
>

Well, this is strange, now isn't it?  I'm not sure quite what's going on.
Here's my recommendation to try and remedy the problem:

# Navigate over to PDL/IO/FITS in the source tarball
cd IO/FITS
perl Makefile.PL
make clean
make
cd ../..
make

Hopefully having make clean up whatever is in IO/FITS will fix the problem
for you.  Write back if it still gives trouble.

Hope that helps!

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

Reply via email to