Skip to content

Instantly share code, notes, and snippets.

@ianfieldhouse
Created November 15, 2012 12:25
Show Gist options
  • Save ianfieldhouse/4078404 to your computer and use it in GitHub Desktop.
Save ianfieldhouse/4078404 to your computer and use it in GitHub Desktop.
GDAL on containers
cd $HOME/src
curl -O http://download.osgeo.org/gdal/gdal-1.9.2.tar.gz
tar xvzf gdal-1.9.2.tar.gz
rm gdal-1.9.2.tar.gz
cd gdal-1.9.2/
CFLAGS="-I$HOME/local/include" ./configure --prefix=$HOME/local/stow/gdal-1.9.2 --with-static-proj4=$HOME/local --with-threads --with-libtiff=internal --with-geotiff=internal --with-jpeg=internal --with-gif=internal --with-png=internal --with-libz=internal
make
make install
cd $HOME/local/stow
stow -t $HOME/local gdal-1.9.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment