[NeXus-code-tickets] [NeXusCode] #270: make configure accept a HDF5 version greater than 1.8

NeXus Data Format Library and Applications noreply at nexusformat.org
Wed Jun 15 00:32:29 BST 2011


#270: make configure accept a HDF5 version greater than 1.8
---------------------------+------------------------------------------------
 Reporter:  Pedro.vicente  |       Owner:  Pedro.vicente
     Type:  defect         |      Status:  new          
 Priority:  major          |   Milestone:               
Component:  napi           |     Version:  trunk        
 Keywords:                 |  
---------------------------+------------------------------------------------
 while trying to use a HDF5 version 1.9 with --with-hdf5 configure issues
 an error

 configure: WARNING: The HDF 5 installation has not the right version
 (1.9.81-FA_a5). You need at least 1.6

 HDF5 support:  no
                 found version 1.9.81-FA_a5 (1.9.81-FA_a5)

 This is because of this check in configure.ac

 if test "$H5ROOT"; then
     H5VERSION=`grep H5_VERS_INFO ${H5ROOT}/include/H5public.h | cut -d '"'
 -f 2 | cut -d ' ' -f 4`
     case $H5VERSION in
         1.[[68]]*)

 Solution:

 change to

  case $H5VERSION in
         1.[[689]]*)

-- 
Ticket URL: <http://trac.nexusformat.org/code/ticket/270>
NeXus Data Format Library and Applications <http://www.nexusformat.org/>
NeXus Data Format Library and Applications



More information about the NeXus-code-tickets mailing list