source:
issm/oecreview/Archive/14312-15392/ISSM-15367-15368.diff
Last change on this file was 15393, checked in by , 12 years ago | |
---|---|
File size: 1.1 KB |
-
../trunk-jpl/externalpackages/gdal/install-1.6-linux64-astrid.sh
1 #!/bin/bash2 set -eu3 4 #Some cleanup5 rm -rf src6 rm -rf install7 rm -rf gdal-1.6.08 mkdir src install9 10 #Download from ISSM server11 $ISSM_DIR/scripts/DownloadExternalPackage.py 'http://issm.jpl.nasa.gov/files/externalpackages/gdal-1.6.0.tar.gz' 'gdal-1.6.0.tar.gz'12 13 #Untar14 tar -zxvf gdal-1.6.0.tar.gz15 16 #Move gdal into src directory17 mv gdal-1.6.0/* src18 rm -rf gdal-1.6.019 20 #Configure gdal21 cd src22 ./configure \23 --prefix="$ISSM_DIR/externalpackages/gdal/install" \24 --without-python \25 --without-png \26 --with-netcdf=no \27 --with-jasper=no \28 --without-ld-shared \29 --with-unix-stdio-64=no \30 --with-expat-lib=/usr/lib64/libexpat.so31 32 #Patch GDALmake.opt33 patch GDALmake.opt ../configs/GDALmake.opt.patch.astrid34 35 #Compile and install gdal36 if [ $# -eq 0 ]; then37 make38 else39 make -j $140 fi41 make install
Note:
See TracBrowser
for help on using the repository browser.