<br><br><div class="gmail_quote">On Fri, Nov 6, 2009 at 3:34 PM, Darren Weber <span dir="ltr">&lt;<a href="mailto:dweber@macports.org">dweber@macports.org</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>I&#39;ve got a hdf5 dilemma ;-)<br><br><span style="font-family: courier new,monospace;">$ port installed hdf5*</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">The following ports are currently installed:</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">  hdf5 @1.6.9_0+threadsafe (active)</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">  hdf5-18 @1.8.3_0</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">  hdf5-18 @1.8.3_1</span><br style="font-family: courier new,monospace;"><br><span style="font-family: courier new,monospace;">$ sudo port activate hdf5-18 @1.8.3_1</span><br style="font-family: courier new,monospace;">

<span style="font-family: courier new,monospace;">---&gt;  Activating hdf5-18 @1.8.3_1</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">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 &#39;port -f activate hdf5-18&#39; to force the activation.</span><br style="font-family: courier new,monospace;">

<br>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?<br>

<br>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)?<br>
<br>A quick search on the user email list brings up a number of ports that depend on hdf5 with dependency build issues.<br><br>What is the current status of play on hdf5 and what is the recommended version to have installed?<br>

<br>Take care,<br><font color="#888888">Darren<br><br>
</font></blockquote></div><br><br>PS,<br><br><font size="1"><span style="font-family: courier new,monospace;">$ for f in `find macports.svn/dports -name Portfile`; do grep -H &quot;hdf5&quot; $f; done</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">macports.svn/dports/math/gnudatalanguage/Portfile:                            port:hdf5-18 \</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">macports.svn/dports/math/gnudatalanguage/Portfile:       reinplace &quot;s|-L\$with_hdf5/lib/hdf -L\$with_hdf5/lib/hdf5||&quot; \</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">macports.svn/dports/math/gnudatalanguage/Portfile:       reinplace &quot;s|-I\$with_hdf5/include/hdf -I\$with_hdf5/include/hdf5||&quot; \</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">macports.svn/dports/math/gnudatalanguage/Portfile:                            --with-hdf5=${prefix} \</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">macports.svn/dports/math/octave/Portfile:                    port:hdf5-18 \</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">macports.svn/dports/math/octave/Portfile:                    --with-hdf5 \</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">macports.svn/dports/math/petsc/Portfile:variant hdf5 description {build with support for HDF5 file format} {</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">macports.svn/dports/math/petsc/Portfile:    configure.args-append   --with-hdf5=1 --with-hdf5-dir=${prefix} \</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">macports.svn/dports/math/petsc/Portfile:    depends_lib-append    port:hdf5-18</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">macports.svn/dports/python/py-tables/Portfile:depends_lib-append    port:hdf5 port:py-numpy port:bzip2</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">macports.svn/dports/python/py-tables/Portfile:                --hdf5=${prefix}</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">macports.svn/dports/python/py-tables/Portfile:destroot.args    --hdf5=${prefix}</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">macports.svn/dports/python/py25-h5py/Portfile:configure.args      --api=18 --hdf5=${prefix}</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">macports.svn/dports/python/py25-h5py/Portfile:depends_lib-append  port:py25-numpy port:hdf5-18</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">macports.svn/dports/python/py25-tables/Portfile:depends_lib-append port:hdf5-18 \</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">macports.svn/dports/python/py25-tables/Portfile:                   --hdf5=${prefix} \</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">macports.svn/dports/python/py25-tables/Portfile:destroot.args      --hdf5=${prefix} \</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">macports.svn/dports/python/py26-h5py/Portfile:configure.args      --api=18 --hdf5=${prefix}</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">macports.svn/dports/python/py26-h5py/Portfile:depends_lib-append  port:py26-numpy port:hdf5-18</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">macports.svn/dports/python/py26-tables/Portfile:depends_lib-append port:hdf5-18 \</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">macports.svn/dports/python/py26-tables/Portfile:                   --hdf5=${prefix} \</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">macports.svn/dports/python/py26-tables/Portfile:destroot.args      --hdf5=${prefix} \</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">macports.svn/dports/science/cdo/Portfile:    depends_lib-append      port:hdf5-18</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">macports.svn/dports/science/cdo/Portfile:    configure.args-append   --with-hdf5=${prefix} \</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">macports.svn/dports/science/gdal/Portfile:                --without-ogdi --without-fme --without-hdf4 --without-hdf5 \</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">macports.svn/dports/science/gdal/Portfile:variant hdf5 description {Enable HDF5 file format} {</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">macports.svn/dports/science/gdal/Portfile:    depends_lib-append        port:hdf5</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">macports.svn/dports/science/gdal/Portfile:    configure.args-delete    --without-hdf5</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">macports.svn/dports/science/gdal/Portfile:    configure.args-append    --with-hdf5=${prefix}</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">macports.svn/dports/science/h4h5tools/Portfile:depends_lib-append    port:hdf5 \</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">macports.svn/dports/science/hdf5/Portfile:name                hdf5</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">macports.svn/dports/science/hdf5/Portfile:                    <a href="ftp://ftp.hdfgroup.org/HDF5/prev-releases/hdf5-${version}/src/">ftp://ftp.hdfgroup.org/HDF5/prev-releases/hdf5-${version}/src/</a></span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">macports.svn/dports/science/hdf5-18/Portfile:set realname        hdf5</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">macports.svn/dports/science/hdf5-18/Portfile:                    <a href="ftp://ftp.hdfgroup.org/HDF5/prev-releases/hdf5-${version}/src/">ftp://ftp.hdfgroup.org/HDF5/prev-releases/hdf5-${version}/src/</a></span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">macports.svn/dports/science/nco/Portfile:   depends_lib-append       port:hdf5-18 \</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">macports.svn/dports/science/netcdf/Portfile:variant netcdf4 description {compile with hdf5} {</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">macports.svn/dports/science/netcdf/Portfile:    configure.env-append    LDFLAGS=-L${prefix}/lib LIBS=&quot;-lhdf5 -lhdf5_hl&quot;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">macports.svn/dports/science/netcdf/Portfile:                            --with-hdf5=${prefix} \</span><br style="font-family: courier new,monospace;"><span style="font-family: courier new,monospace;">macports.svn/dports/science/netcdf/Portfile:                            port:hdf5-18</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">macports.svn/dports/science/vis5d/Portfile:#    reinplace &quot;s|-lnetcdf \$V5D_LIBS_AUX|-lnetcdf -lhdf5_hl -lhdf5 -lz -lcurl \$V5D_LIBS_AUX|&quot; \</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">macports.svn/dports/science/wgrib2/Portfile:                           -lgrib2c -ljasper -lnetcdf -lhdf5_hl -lhdf5 -lpng -lz\&quot; &quot;</span><br style="font-family: courier new,monospace;">
<span style="font-family: courier new,monospace;">macports.svn/dports/science/wgrib2/Portfile:    depends_lib-append  port:hdf5-18</span><br style="font-family: courier new,monospace;"></font><br><br><br>