Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in Unsupported. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#31313 - [hdf5] Enable C++ and Fortran support

Attached to Project: Arch Linux
Opened by srg (srg) - Tuesday, 28 August 2012, 09:53 GMT
Last edited by Ronald van Haren (pressh) - Monday, 07 January 2013, 20:40 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Ronald van Haren (pressh)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No


Description: the current version of hdf5 package (1.8.8-1) is built without C++ and Fortran support. Both languages are popular in scientific computing community, and not being able to link programs against the default Arch package is inconvenient.

Necessary configure flags: add --enable-cxx and --enable-fortran; remove --enable-threadsafe; 'gcc-fortran' should be added in the list of the makedepends.

This task depends upon

Closed by  Ronald van Haren (pressh)
Monday, 07 January 2013, 20:40 GMT
Reason for closing:  Implemented
Additional comments about closing:  hdf5-cpp-fortran-1.8.10-1
Comment by srg (srg) - Tuesday, 28 August 2012, 12:53 GMT
As a temporary workaround I created an AUR package hdf5-cpp-fortran:

It provides 'hdf5', and as long as the version is the same as hdf5 from extra, Octave works with .h5 files without problems (I didn't test other packages which depend upon hdf5).

There is another similar AUR package, hdf5-fortran-cxx, I didn't notice it at first. It sticks to the latest version of the library, and may crash Octave (but seems to work with warning after HDF5_DISABLE_VERSION_CHECK=1).