# Error occours when compiling parallel HDF5-1.14 on Ubuntu22

**URL:** <https://forum.hdfgroup.org/t/error-occours-when-compiling-parallel-hdf5-1-14-on-ubuntu22/11044>\
**Category:** HDF5 Library\
**Created:** [April 19, 2023, 1:46pm UTC](https://forum.hdfgroup.org/t/error-occours-when-compiling-parallel-hdf5-1-14-on-ubuntu22/11044 "2023-04-19T13:46:48Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![coderwang119](https://forum.hdfgroup.org/letter_avatar_proxy/v4/letter/c/d9b06d/32.png) [@coderwang119](https://forum.hdfgroup.org/u/coderwang119)\
**Post date:** [April 19, 2023, 1:46pm UTC](https://forum.hdfgroup.org/t/error-occours-when-compiling-parallel-hdf5-1-14-on-ubuntu22/11044/1 "2023-04-19T13:46:48Z")

</div>

When I run the command `CC=mpicc CXX=mpicxx ../configure --prefix=/usr/local/hdf5-1.14 --enable-parallel --enable-hl --enable-shared --enable-static --enable-fortran`, a strange error occurs as follow.

> checking for a BSD-compatible install… /usr/bin/install -c  
> checking whether build environment is sane… yes  
> checking for a thread-safe mkdir -p… /usr/bin/mkdir -p  
> checking for gawk… no  
> checking for mawk… mawk  
> checking whether make sets $(MAKE)… yes  
> checking whether make supports nested variables… yes  
> checking whether make supports nested variables… (cached) yes  
> checking whether to enable maintainer-specific portions of Makefiles… no  
> **configure: error: cannot run /bin/bash …/bin/config.sub**

---

<div class="post-metadata">

**Author:** ![coderwang119](https://forum.hdfgroup.org/letter_avatar_proxy/v4/letter/c/d9b06d/32.png) [@coderwang119](https://forum.hdfgroup.org/u/coderwang119)\
**Post date:** [April 19, 2023, 5:38pm UTC](https://forum.hdfgroup.org/t/error-occours-when-compiling-parallel-hdf5-1-14-on-ubuntu22/11044/2 "2023-04-19T17:38:07Z")

</div>

I have solved it. The error occurs just becuase I download a .zip file rather than .tar.gz file.
