[MacPorts] #60705: Error building hdf5-18
MacPorts
noreply at macports.org
Wed Jun 24 23:09:58 UTC 2020
#60705: Error building hdf5-18
----------------------------+----------------------
Reporter: sivanadarajah | Owner: eborisch
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.6.2
Resolution: | Keywords:
Port: hdf5-18 |
----------------------------+----------------------
Comment (by Dave-Allured):
@sivanadarajah, port {{{hdf5-18}}} is obsolete. It was replaced by port
{{{hdf5}}} more than two years ago. See ticket #55568. All modern ports
that used {{{hdf5-18}}} have switched over to port {{{hdf5}}}.
Can you use the current {{{hdf5}}} port for your application? It is
currently updated to upstream version number HDF5 1.10.6. This works
well; I use it all the time.
HDF5 offers a version compatibility system that allows you to compile
older code with a newer HDF5 library version, with few or no code changes.
In short, add the flag {{{-DH5_USE_18_API}}} to the compiler command line.
If you are compiling older code that worked with 1.8.x, this may be very
helpful.
https://portal.hdfgroup.org/display/HDF5/API+Compatibility+Macros
--
Ticket URL: <https://trac.macports.org/ticket/60705#comment:3>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list