I see this:

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

Thanks,



On Tue, Jul 6, 2021 at 6:42 PM Barry Smith <bsmith@petsc.dev> wrote:

  Mark,

   You can try what the configure error message should be suggesting (it is not clear if that is being printed to your screen or no).

ERROR: Unable to download package ZLIB from: http://www.zlib.net/zlib-1.2.11.tar.gz
* If URL specified manually - perhaps there is a typo?
* If your network is disconnected - please reconnect and rerun ./configure
* Or perhaps you have a firewall blocking the download
* You can run with --with-packages-download-dir=/adirectory and ./configure will instruct you what packages to download manually
* or you can download the above URL manually, to /yourselectedlocation/zlib-1.2.11.tar.gz
  and use the configure option:
  --download-zlib=/yourselectedlocation/zlib-1.2.11.tar.gz

  Barry


> On Jul 6, 2021, at 4:29 PM, Mark Adams <mfadams@lbl.gov> wrote:
>
> I am getting some sort of error in build zlib on Spock at ORNL.
> Other libraries are downloaded and I am sure the network is fine.
> Any ideas?
> Thanks,
> Mark
> <configure.log>