Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- https://github.com/OSGeo/gdal/blob/trunk/.travis.yml
- sudo -s
- apt-get -y install \
- autoconf \
- g++ \
- libtool \
- python-dev \
- swig
- apt-get -y install \
- curl \
- libcfitsio3-dev \
- libcurl4-gnutls-dev \
- libexpat1-dev \
- libhdf5-serial-dev \
- liblzma-dev \
- libmysqlclient-dev \
- libnetcdf-dev \
- libpoppler-cpp-dev \
- libpq-dev \
- libsqlite3-dev \
- libwebp-dev \
- libxerces-c-dev \
- libxml2-dev \
- python-numpy \
- unixodbc-dev
- apt-get -y install \
- bison \
- flex \
- libfftw3-dev \
- libfreetype6-dev \
- libglu1-mesa-dev \
- libjpeg-dev \
- libncurses5-dev \
- libpng12-dev \
- libreadline-dev \
- libtiff4-dev \
- libwxgtk2.8-dev \
- libxmu-dev \
- mesa-common-dev \
- python-wxgtk2.8 \
- python-wxversion \
- tcl8.4-dev \
- tk8.4-dev
- cd $BUILD_DIR
- tar xfo gdal-${GDAL_VERSION}.tar.xz
- cd gdal-${GDAL_VERSION}
- ./configure \
- --with-python \
- --with-libtiff=internal \
- --with-geotiff=internal \
- --with-jpeg=internal \
- --with-png=internal \
- --with-libz=internal \
- --with-poppler=yes \
- --with-kakadu=$BUILD_DIR/${KAKADU_VERSION} \
- --with-ecw=/usr/local \
- --with-mrsid=$BUILD_DIR/MrSID_DSDK-${MRSID_VERSION}-linux.x86-64.gcc44/Raster_DSDK \
- --with-mrsid_lidar=$BUILD_DIR/MrSID_DSDK-${MRSID_VERSION}-linux.x86-64.gcc44/Lidar_DSDK \
- --with-liblzma=yes \
- --with-spatialite \
- --with-mysql \
- --with-geos=/usr/local/bin/geos-config \
- --with-webp \
- --with-libkml \
- --with-curl
- make -j $CORES
- make install
- ldconfig
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement