Skip Menu |

This queue is for tickets about the PDL-IO-HDF5 CPAN distribution.

Report information
The Basics
Id: 68149
Status: resolved
Priority: 0/
Queue: PDL-IO-HDF5

People
Owner: chm [...] cpan.org
Requestors: chm [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.63
Fixed in: 0.63



Subject: libhdf5 is not detected on cygwin
The PDL::IO::HDF5 Makefile.PL fails to detect an installed libhdf5 on
cygwin because the library is named libhdf5.dll.a and not either
libhdf5.a or libhdf5.so.  Commenting out all the detection and
hardwiring in the -lhdf5 for the library allows the module to build.

For the PDL distribution, I am working to standardize external
library and include file detection using the Devel::CheckLib module.
The approach is to test compile, link, and run test codes using the
candidate library and include paths and library link arguments.

This avoids the problem of knowing how all the types of libraries
are implemented as files on each platform---the compiler and
linker take care of that.
The module built and installed ok for the cygwin
version 1.7.17 and perl version 5.14.2.  Marking this
as resolved since the problem is no longer present.

On Thu May 12 11:48:02 2011, CHM wrote:
Show quoted text
> The PDL::IO::HDF5 Makefile.PL fails to detect an installed libhdf5 on
> cygwin because the library is named libhdf5.dll.a and not either
> libhdf5.a or libhdf5.so. Commenting out all the detection and
> hardwiring in the -lhdf5 for the library allows the module to build.
>
> For the PDL distribution, I am working to standardize external
> library and include file detection using the Devel::CheckLib module.
> The approach is to test compile, link, and run test codes using the
> candidate library and include paths and library link arguments.
>
> This avoids the problem of knowing how all the types of libraries
> are implemented as files on each platform---the compiler and
> linker take care of that.