Skip to content

Commit

Permalink
update build script for 16.04
Browse files Browse the repository at this point in the history
  • Loading branch information
nwagenbrenner committed Jan 2, 2017
1 parent f1b9265 commit f4437a1
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions scripts/build_deps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,9 @@
PREFIX=/usr/local
POPPLER="poppler-0.23.4"
PROJ="proj-4.8.0"
GDAL="gdal-2.0.0"
GDAL="gdal-2.0.3"


sudo apt-get install libfontconfig1-dev libcurl4-gnutls-dev libnetcdf-dev qt4-dev-tools libboost-program-options-dev libboost-date-time-dev libgeos-dev libboost-test-dev
sudo apt-get install libfontconfig1-dev libcurl4-gnutls-dev libnetcdf-dev qt4-dev-tools libqtwebkit-dev libboost-program-options-dev libboost-date-time-dev libgeos-dev libboost-test-dev

#Get and build poppler for PDF support in GDAL
wget http://poppler.freedesktop.org/$POPPLER.tar.xz
Expand All @@ -29,7 +28,7 @@ sudo cp $PREFIX/include/proj_api.h $PREFIX/lib
cd ..

#Get and build GDAL with poppler support
wget http://download.osgeo.org/gdal/2.0.0/$GDAL.tar.gz
wget http://download.osgeo.org/gdal/2.0.3/$GDAL.tar.gz
tar -xvf $GDAL.tar.gz
cd $GDAL/
./configure --prefix=$PREFIX --with-poppler=$PREFIX
Expand Down

0 comments on commit f4437a1

Please sign in to comment.