Package hdf5 build failure report

Build errors
configure: error: Can't find HDF5
ERROR: configuration failed for package 'hdf5'
Build output
* checking for file 'hdf5/DESCRIPTION' ... OK
* preparing 'hdf5':
* checking DESCRIPTION meta-information ... OK
* cleaning src
* running cleanup
* checking whether 'INDEX' is up-to-date ... NO
* use '--force' to overwrite the existing 'INDEX'
* removing junk files
* checking for LF line-endings in source files
* checking for empty directories
* building binary distribution
* Installing *source* package 'hdf5' ...
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ANSI C... none needed
checking for library containing inflate... -lz
checking for library containing H5open... no
** Removing '/private/tmp/Rinst.3409/hdf5'
ERROR
* installation failed