HDF5 dilemma

Darren Weber dweber at macports.org
Fri Nov 6 15:43:59 PST 2009


On Fri, Nov 6, 2009 at 3:34 PM, Darren Weber <dweber at macports.org> wrote:

>
> I've got a hdf5 dilemma ;-)
>
> $ port installed hdf5*
> The following ports are currently installed:
>   hdf5 @1.6.9_0+threadsafe (active)
>   hdf5-18 @1.8.3_0
>   hdf5-18 @1.8.3_1
>
> $ sudo port activate hdf5-18 @1.8.3_1
> --->  Activating hdf5-18 @1.8.3_1
> Error: port activate failed: Image error: /opt/local/bin/gif2h5 is being
> used by the active hdf5 port.  Please deactivate this port first, or use
> 'port -f activate hdf5-18' to force the activation.
>
> The hdf5 and hdf5-18 ports are behaving like separate ports, up to the
> point of activation conflicts.  There are two maintainers for these ports
> (in the CC list of this email); can we get together on this and work out the
> activation conflict?
>
> Is it possible to have multiple version specific libs/bins installed?  Is
> it as simple as providing some version specific file-name mangles (with
> symlinks and maybe a hdf5_select utility like the gcc_select or
> python_select utility)?
>
> A quick search on the user email list brings up a number of ports that
> depend on hdf5 with dependency build issues.
>
> What is the current status of play on hdf5 and what is the recommended
> version to have installed?
>
> Take care,
> Darren
>
>

PS,

$ for f in `find macports.svn/dports -name Portfile`; do grep -H "hdf5" $f;
done
macports.svn/dports/math/gnudatalanguage/Portfile:
port:hdf5-18 \
macports.svn/dports/math/gnudatalanguage/Portfile:       reinplace
"s|-L\$with_hdf5/lib/hdf -L\$with_hdf5/lib/hdf5||" \
macports.svn/dports/math/gnudatalanguage/Portfile:       reinplace
"s|-I\$with_hdf5/include/hdf -I\$with_hdf5/include/hdf5||" \
macports.svn/dports/math/gnudatalanguage/Portfile:
--with-hdf5=${prefix} \
macports.svn/dports/math/octave/Portfile:                    port:hdf5-18 \
macports.svn/dports/math/octave/Portfile:                    --with-hdf5 \
macports.svn/dports/math/petsc/Portfile:variant hdf5 description {build with
support for HDF5 file format} {
macports.svn/dports/math/petsc/Portfile:    configure.args-append
--with-hdf5=1 --with-hdf5-dir=${prefix} \
macports.svn/dports/math/petsc/Portfile:    depends_lib-append
port:hdf5-18
macports.svn/dports/python/py-tables/Portfile:depends_lib-append
port:hdf5 port:py-numpy port:bzip2
macports.svn/dports/python/py-tables/Portfile:
--hdf5=${prefix}
macports.svn/dports/python/py-tables/Portfile:destroot.args
--hdf5=${prefix}
macports.svn/dports/python/py25-h5py/Portfile:configure.args      --api=18
--hdf5=${prefix}
macports.svn/dports/python/py25-h5py/Portfile:depends_lib-append
port:py25-numpy port:hdf5-18
macports.svn/dports/python/py25-tables/Portfile:depends_lib-append
port:hdf5-18 \
macports.svn/dports/python/py25-tables/Portfile:
--hdf5=${prefix} \
macports.svn/dports/python/py25-tables/Portfile:destroot.args
--hdf5=${prefix} \
macports.svn/dports/python/py26-h5py/Portfile:configure.args      --api=18
--hdf5=${prefix}
macports.svn/dports/python/py26-h5py/Portfile:depends_lib-append
port:py26-numpy port:hdf5-18
macports.svn/dports/python/py26-tables/Portfile:depends_lib-append
port:hdf5-18 \
macports.svn/dports/python/py26-tables/Portfile:
--hdf5=${prefix} \
macports.svn/dports/python/py26-tables/Portfile:destroot.args
--hdf5=${prefix} \
macports.svn/dports/science/cdo/Portfile:    depends_lib-append
port:hdf5-18
macports.svn/dports/science/cdo/Portfile:    configure.args-append
--with-hdf5=${prefix} \
macports.svn/dports/science/gdal/Portfile:                --without-ogdi
--without-fme --without-hdf4 --without-hdf5 \
macports.svn/dports/science/gdal/Portfile:variant hdf5 description {Enable
HDF5 file format} {
macports.svn/dports/science/gdal/Portfile:    depends_lib-append
port:hdf5
macports.svn/dports/science/gdal/Portfile:    configure.args-delete
--without-hdf5
macports.svn/dports/science/gdal/Portfile:    configure.args-append
--with-hdf5=${prefix}
macports.svn/dports/science/h4h5tools/Portfile:depends_lib-append
port:hdf5 \
macports.svn/dports/science/hdf5/Portfile:name                hdf5
macports.svn/dports/science/hdf5/Portfile:
ftp://ftp.hdfgroup.org/HDF5/prev-releases/hdf5-${version}/src/
macports.svn/dports/science/hdf5-18/Portfile:set realname        hdf5
macports.svn/dports/science/hdf5-18/Portfile:
ftp://ftp.hdfgroup.org/HDF5/prev-releases/hdf5-${version}/src/
macports.svn/dports/science/nco/Portfile:   depends_lib-append
port:hdf5-18 \
macports.svn/dports/science/netcdf/Portfile:variant netcdf4 description
{compile with hdf5} {
macports.svn/dports/science/netcdf/Portfile:    configure.env-append
LDFLAGS=-L${prefix}/lib LIBS="-lhdf5 -lhdf5_hl"
macports.svn/dports/science/netcdf/Portfile:
--with-hdf5=${prefix} \
macports.svn/dports/science/netcdf/Portfile:
port:hdf5-18
macports.svn/dports/science/vis5d/Portfile:#    reinplace "s|-lnetcdf
\$V5D_LIBS_AUX|-lnetcdf -lhdf5_hl -lhdf5 -lz -lcurl \$V5D_LIBS_AUX|" \
macports.svn/dports/science/wgrib2/Portfile:
-lgrib2c -ljasper -lnetcdf -lhdf5_hl -lhdf5 -lpng -lz\" "
macports.svn/dports/science/wgrib2/Portfile:    depends_lib-append
port:hdf5-18
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-users/attachments/20091106/74661369/attachment.html>


More information about the macports-users mailing list