=============================================================================================
Trying to download
http://www.zlib.net/zlib-1.2.11.tar.gz for ZLIB
=============================================================================================
=============================================================================================
Building and installing zlib; this may take several minutes
=============================================================================================
*******************************************************************************
UNABLE to CONFIGURE with GIVEN OPTIONS (see configure.log for details):
-------------------------------------------------------------------------------
Error building/install zlib files from /gpfs/alpine/csc314/scratch/adams/petsc/arch-spock-opt-cray-kokkos/externalpackages/zlib-1.2.11/zlib to /gpfs/alpine/csc314/scratch/adams/petsc/arch-spock-opt-cray-kokkos/externalpackages/zlib-1.2.11
*******************************************************************************
And I did look in the configure log and saw these suggestions, but I was so confused by this output that I did not want to chase it down.
I will try this --download-zlib=/yourselectedlocation/zlib-1.2.11.tar.gz stuff.