checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... /Users/jmgate/toolchain/src/pnetcdf-1.11.2/./scripts/install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... no checking for awk... awk 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... yes checking for mpicc... /Users/jmgate/toolchain/install/openmpi-4.0.1/bin/mpicc checking for gcc... /Users/jmgate/toolchain/install/openmpi-4.0.1/bin/mpicc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... configure: error: in `/Users/jmgate/toolchain/build/pnetcdf-1.11.2': configure: error: cannot run C compiled programs. If you meant to cross compile, use `--host'. See `config.log' for more details