From 6d5580526595abdfe0d97db257cc36c01b3f8981 Mon Sep 17 00:00:00 2001 From: Stephen Vincent Mather Date: Thu, 23 Feb 2017 21:42:24 +0000 Subject: [PATCH] add ppa for gdal, remove superbuild --- SuperBuild/cmake/External-GDAL.cmake | 25 ------------------------- configure.sh | 5 +++++ 2 files changed, 5 insertions(+), 25 deletions(-) delete mode 100644 SuperBuild/cmake/External-GDAL.cmake diff --git a/SuperBuild/cmake/External-GDAL.cmake b/SuperBuild/cmake/External-GDAL.cmake deleted file mode 100644 index cd5d3d08..00000000 --- a/SuperBuild/cmake/External-GDAL.cmake +++ /dev/null @@ -1,25 +0,0 @@ -set(_proj_name pdal) -set(_SB_BINARY_DIR "${SB_BINARY_DIR}/${_proj_name}") - -ExternalProject_Add(${_proj_name} - PREFIX ${_SB_BINARY_DIR} - TMP_DIR ${_SB_BINARY_DIR}/tmp - STAMP_DIR ${_SB_BINARY_DIR}/stamp - #--Download step-------------- - DOWNLOAD_DIR ${SB_DOWNLOAD_DIR} - URL http://download.osgeo.org/gdal/2.1.3/gdal-2.1.3.tar.gz - URL_MD5 e5057f6011b720cfbbebbbbf216c0ffe - #--Update/Patch step---------- - UPDATE_COMMAND "" - #--Configure step------------- - SOURCE_DIR ${SB_SOURCE_DIR}/${_proj_name} - CMAKE_ARGS - #--Build step----------------- - BINARY_DIR ${_SB_BINARY_DIR} - #--Install step--------------- - INSTALL_DIR ${SB_INSTALL_DIR} - #--Output logging------------- - LOG_DOWNLOAD OFF - LOG_CONFIGURE OFF - LOG_BUILD OFF -) diff --git a/configure.sh b/configure.sh index 0a61be5b..d34b6d03 100755 --- a/configure.sh +++ b/configure.sh @@ -9,11 +9,16 @@ export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$RUNPATH/SuperBuild/install/lib echo "Updating the system" sudo apt-get update +sudo add-apt-repository -y ppa:ubuntugis/ppa +sudo apt-get update + echo "Installing Required Requisites" sudo apt-get install -y -qq build-essential \ git \ cmake \ python-pip \ + libgdal-dev \ + gdal-bin \ libgeotiff-dev \ pkg-config