X-Git-Url: http://andersk.mit.edu/gitweb/gssapi-openssh.git/blobdiff_plain/aa9996702e902d0731e0755c8a9122b81657d576..3c2e30c8403befaf77b15fb79d1863bb95084f00:/nmi/testscript diff --git a/nmi/testscript b/nmi/testscript index 98da630..73ec7ab 100755 --- a/nmi/testscript +++ b/nmi/testscript @@ -8,6 +8,7 @@ else GT_INSTALLER_URL=http://www.globus.org/ftppub/gt4/4.0/4.0.3/installers/bin/$GT_INSTALLER fi GLOBUS_LOCATION=$_CONDOR_SCRATCH_DIR/globus +ZLIB_LOCATION=$_CONDOR_SCRATCH_DIR/zlib LOGNAME=$USER X509_CERT_DIR=$GLOBUS_LOCATION/share/certificates export GLOBUS_LOCATION LOGNAME X509_CERT_DIR @@ -36,13 +37,20 @@ cd gt*-installer ./configure --prefix=$GLOBUS_LOCATION --with-buildopts="-verbose" make gsi-openssh install . $GLOBUS_LOCATION/etc/globus-user-env.sh +cd .. +echo ================================================== +echo Building zlib-1.2.3... +ls -l +cd zlib-1.2.3 +./configure --prefix=$ZLIB_LOCATION +make +make install echo ================================================== flavor=`gpt-query -name=gsi_openssh | perl -n -e 'if (/gsi_openssh-(.*)-pgm/){print "$1\n";}'|head -1` echo GPT flavor is $flavor. Installing globus_core. gpt-build -nosrc $flavor echo ================================================== echo Building GSI-OpenSSH... -cd .. gpt-build -force -verbose gsi_openssh_bundle-*.tar.gz $flavor \ - GSI_OPENSSH_GPTMACRO="--with-zlib=/prereq/zlib-1.2.3" + GSI_OPENSSH_GPTMACRO="--with-zlib=$ZLIB_LOCATION" ) 2>&1 # we want stdout & stderr mixed in the output file