Hdf5-18 version 1.8.3 - How to Download and Install on Mac OS X
Saturday the 7th of November, 2009

    hdf5-18  most recent diff


    version 1.8.3

      View the most recent changes for the hdf5-18 port at: hdf5-18.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for hdf5-18.
      The raw portfile for hdf5-18 1.8.3 is located here:
      http://hdf5-18.darwinports.com/dports/science/hdf5-18/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/hdf5-18


      # -*- coding: utf-8; mode: tcl; c-basic-offset: 4; indent-tabs-mode: nil; tab-width: 4; truncate-lines: t -*- vim:fenc=utf-8:et:sw=4:ts=4:sts=4
      The hdf5-18 Portfile 58340 2009-09-26 22:34:23Z mmoll macports.org $

      PortSystem 1.0
      PortGroup muniversal 1.0

      set realname hdf5
      Name: ${realname}-18
      Version: 1.8.3
      Revision: 1
      Category: science
      Maintainers: mmoll openmaintainer

      Description: HDF5 general purpose library and file format for storing scientific data
      Long Description: ${description}
      Homepage: http://www.hdfgroup.org/HDF5/
      Platform: darwin
      Master Sites: ftp://ftp.hdfgroup.org/HDF5/current/src/ ftp://ftp.hdfgroup.org/HDF5/prev-releases/hdf5-${version}/src/
      Checksums: md5 5ce228d860bf9e797ca40ab1a823c380 sha1 0bf66eb5d964472eae4b6c2bb26e669dcd188140 rmd160 7b279306b5458f39dc7343c14a7c7c88459823a3
      distname ${realname}-${version}
      Patch Files: patch-configure.diff
      depends_lib port:zlib port:szip
      use_parallel_build yes

      # The HDF5 configure script reorders CPPFLAGS and mangles
      # '-isysroot /Developer/SDKs/MacOSX10.5.sdk'. Luckily, we can omit it,
      # since it does not run the preprocessing phase separate from the
      # compilation phase and it leaves the CFLAGS/CXXFLAGS alone.
      configure.universal_cppflags
      configure.args --with-zlib=yes --with-szlib=yes --enable-filters=all --enable-production --disable-fortran --enable-cxx --enable-shared --enable-static

      test.run yes
      test.target check

      Variant: threadsafe description {Enable threadsafety (experimental and un-supported, disables cxx support)} {
      configure.args-delete --disable-threadsafe --enable-cxx
      configure.args-append --enable-threadsafe --disable-cxx
      }

      livecheck.type regex
      livecheck.url http://www.hdfgroup.org/HDF5/release/obtain5.html
      livecheck.regex 5-(\[0-9.\]+)

    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/hdf5-18
      % sudo port install hdf5-18
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching hdf5-18
      ---> Verifying checksum for hdf5-18
      ---> Extracting hdf5-18
      ---> Configuring hdf5-18
      ---> Building hdf5-18 with target all
      ---> Staging hdf5-18 into destroot
      ---> Installing hdf5-18
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using hdf5-18 with these commands:
      %  man hdf5-18
      % apropos hdf5-18
      % which hdf5-18
      % locate hdf5-18

     Where to find more information:

    Darwin Ports



    Lightbox this page.