Ok, I figured out the problem...
On Fri, Jan 15, 2010 at 8:55 AM, David Mertens <[email protected]> wrote: > 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. I'm not sure how the two compare, > but I was led to believe that HDF4 is quite different from HDF5. > >> Just as David had diagnosed, PDL comes with support for HDF4. My make was breaking not because of FITS, but just after FITS, that is, it was breaking because of HDF... it was expecting HDF4, but I didn't have HDF4. I had given it path for my HDF5 install, and that was not correct. I turned off building with HDF support, and PDL built fine. I also installed HDF5 from source, and then tried installed PDL::IO::HDF5, but that failed with the following errors.. usr/local/bin/perl /usr/local/lib/perl5/5.10.1/ExtUtils/xsubpp -typemap /usr/local/lib/perl5/5.10.1/ExtUtils/typemap -typemap /usr/local/lib/perl5/site_perl/5.10.1/darwin-thread-multi-2level/PDL/Core/typemap.pdl -typemap typemap HDF5.xs > HDF5.xsc && mv HDF5.xsc HDF5.c cc -c -I/usr/local/lib/perl5/site_perl/5.10.1/darwin-thread-multi-2level/PDL/Core -I/Users/punkish/Projects/hdf5-1.8.2/hdf5/include -g -O3 -DVERSION=\"0.5\" -DXS_VERSION=\"0.5\" "-I/usr/local/lib/perl5/5.10.1/darwin-thread-multi-2level/CORE" HDF5.c HDF5.xs: In function ‘H5errorOff’: HDF5.xs:45: warning: passing argument 1 of ‘H5Eset_auto2’ makes integer from pointer without a cast HDF5.xs:45: error: too few arguments to function ‘H5Eset_auto2’ HDF5.xs: In function ‘H5errorOn’: HDF5.xs:51: warning: passing argument 1 of ‘H5Eset_auto2’ makes integer from pointer without a cast HDF5.xs:51: warning: passing argument 2 of ‘H5Eset_auto2’ from incompatible pointer type HDF5.xs:51: error: too few arguments to function ‘H5Eset_auto2’ HDF5.xs: In function ‘XS_PDL__IO__HDF5_H5Dcreate’: HDF5.xs:1224: error: too few arguments to function ‘H5Dcreate2’ HDF5.xs: In function ‘XS_PDL__IO__HDF5_H5Dopen’: HDF5.xs:1240: error: too few arguments to function ‘H5Dopen2’ HDF5.xs: In function ‘XS_PDL__IO__HDF5_H5Gcreate’: HDF5.xs:1343: error: too few arguments to function ‘H5Gcreate2’ HDF5.xs: In function ‘XS_PDL__IO__HDF5_H5Gopen’: HDF5.xs:1359: error: too few arguments to function ‘H5Gopen2’ HDF5.xs: In function ‘XS_PDL__IO__HDF5_H5Acreate’: HDF5.xs:1455: error: too few arguments to function ‘H5Acreate2’ make: *** [HDF5.o] Error 1 punk...@lucknow ~/Projects/PDL-IO-HDF5-0.5$ I don't know if John Cerney, the author of that module, is on this list, but if he is, perhaps he can shed some light. Per the notes, the PDL::IO::HDF5 module requires HDF5 1.2.0, but I have 1.8.2, so it is likely stuff has changed since then. It was updated almost 4 years ago, so maybe it is abandoned. -- Puneet Kishor http://www.punkish.org Carbon Model http://carbonmodel.org Charter Member, Open Source Geospatial Foundation http://www.osgeo.org Science Commons Fellow, http://sciencecommons.org/about/whoweare/kishor Nelson Institute, UW-Madison http://www.nelson.wisc.edu ----------------------------------------------------------------------- Assertions are politics; backing up assertions with evidence is science ======================================================================= Sent from Madison, Wisconsin, United States _______________________________________________ Perldl mailing list [email protected] http://mailman.jach.hawaii.edu/mailman/listinfo/perldl
