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