I tried to build CS v6.0-beta on Ubuntu-16.0.4LTS. It generated an error ‘could not find a package configuration file provided by HDF5’ during configure stage of CGNS (please see the attached file). The message said needing to provide the paths for HDF5_DIR, HDF5_LIBRARIES, and HDF5_INCLUDE_DIRS. I provided them on the command line as,
export HDF5_DIR=/home/ffan/Code_Saturne/6.0-beta/hdf5-1.10.5/arch/Linux_x86_64/
export HDF5_LIBRARIES =/home/ffan/Code_Saturne/6.0-beta/hdf5-1.10.5/arch/Linux_x86_64/lib/
export HDF5_INCLUDE_DIRS= /home/ffan/Code_Saturne/6.0-beta/hdf5-1.10.5/arch/Linux_x86_64/include/
But, it still did not work and generated the same error. How do I fix the problem?
At the same time, I also tested with v5.0.10. This one built successfully, did not encounter the problem. Apparently, their install_saturne.py files were set up differently. I just wonder if this can be made automatically in v5.0.10, why not in v6.0-beta. Thanks.
I did not reproduce the error on my side (On a Debian Strech-based sysem, I have not tried on Ubuntu 16.04 LTS). In addition to the log files, there are messages in the console you run the install from, (especially the configure or cmake command used to configure each library) which can be useful. If you could copy/paste the onsole messages or better redirect to a file, that would be useful also.
Also, from you log, it is not cleat if hdf5 was installed in a previous pass or is already on the machine (and that is what is not detected correctly by CGNS).