# Build v6.0-beta

**URL:** <https://code-saturne.org/forum/t/build-v6-0-beta/1736>\
**Category:** Installation issues\
**Created:** [May 23, 2019, 8:24pm UTC](https://code-saturne.org/forum/t/build-v6-0-beta/1736 "2019-05-23T20:24:14Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ffan](https://code-saturne.org/forum/letter_avatar_proxy/v4/letter/f/50afbb/32.png) [@ffan](https://code-saturne.org/forum/u/ffan)\
**Post date:** [May 23, 2019, 8:24pm UTC](https://code-saturne.org/forum/t/build-v6-0-beta/1736/1 "2019-05-23T20:24:14Z")

</div>

System: Ubuntu-16.0.4LTS

Hi Code\_Saturne users and developers,

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.

Regards,

- ffan  
[v6.0-beta.txt](https://code-saturne.org/forum/uploads/short-url/wOCSOVhI0hJ6XEfZMLOPcnpxS1y.txt) (2.12 KB)

---

<div class="post-metadata">

**Author:** ![Yvan\_Fournier](https://code-saturne.org/forum/letter_avatar_proxy/v4/letter/y/4bbf92/32.png) [@Yvan\_Fournier](https://code-saturne.org/forum/u/Yvan_Fournier)\
**Post date:** [May 26, 2019, 10:38pm UTC](https://code-saturne.org/forum/t/build-v6-0-beta/1736/2 "2019-05-26T22:38:04Z")

</div>

Hello,

The versions of HDF5, MED, and CGNS are more recnt in the 6.0 installer, and some options were updated.

I’ll need to check what is not working in the CGNS install options.

Could you attach your setup.log file also ?

Regards,

Yvan

---

<div class="post-metadata">

**Author:** ![ffan](https://code-saturne.org/forum/letter_avatar_proxy/v4/letter/f/50afbb/32.png) [@ffan](https://code-saturne.org/forum/u/ffan)\
**Post date:** [May 27, 2019, 3:44am UTC](https://code-saturne.org/forum/t/build-v6-0-beta/1736/3 "2019-05-27T03:44:29Z")

</div>

Thank you Yvan. My setup and install\_saturne.log files are attached.

Fa-Gung Fan  
[install\_saturne.log](https://code-saturne.org/forum/uploads/short-url/7QMcYQkhNX9WGQOFJHCnaf0DvpS.log) (862 KB)  
[setup.log](https://code-saturne.org/forum/uploads/short-url/xYApItfZ5kAfRkhaWADblIlWair.log) (4.31 KB)

---

<div class="post-metadata">

**Author:** ![Yvan\_Fournier](https://code-saturne.org/forum/letter_avatar_proxy/v4/letter/y/4bbf92/32.png) [@Yvan\_Fournier](https://code-saturne.org/forum/u/Yvan_Fournier)\
**Post date:** [May 31, 2019, 8:15am UTC](https://code-saturne.org/forum/t/build-v6-0-beta/1736/4 "2019-05-31T08:15:49Z")

</div>

Hello,

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).

Regards,

Yvan

---

<div class="post-metadata">

**Author:** ![ffan](https://code-saturne.org/forum/letter_avatar_proxy/v4/letter/f/50afbb/32.png) [@ffan](https://code-saturne.org/forum/u/ffan)\
**Post date:** [June 1, 2019, 2:02am UTC](https://code-saturne.org/forum/t/build-v6-0-beta/1736/5 "2019-06-01T02:02:23Z")

</div>

Thanks Yvan. This is resolved now. I need to set CMAKE\_PREFIX\_PATH to HDF5 installation path.

- ffan
