Advertisement
goatbar

rough gdal build notes for ubuntu 14.04

Aug 28th, 2015
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.50 KB | None | 0 0
  1. https://github.com/OSGeo/gdal/blob/trunk/.travis.yml
  2.  
  3. sudo -s
  4. apt-get -y install \
  5. autoconf \
  6. g++ \
  7. libtool \
  8. python-dev \
  9. swig
  10.  
  11. apt-get -y install \
  12. curl \
  13. libcfitsio3-dev \
  14. libcurl4-gnutls-dev \
  15. libexpat1-dev \
  16. libhdf5-serial-dev \
  17. liblzma-dev \
  18. libmysqlclient-dev \
  19. libnetcdf-dev \
  20. libpoppler-cpp-dev \
  21. libpq-dev \
  22. libsqlite3-dev \
  23. libwebp-dev \
  24. libxerces-c-dev \
  25. libxml2-dev \
  26. python-numpy \
  27. unixodbc-dev
  28.  
  29. apt-get -y install \
  30. bison \
  31. flex \
  32. libfftw3-dev \
  33. libfreetype6-dev \
  34. libglu1-mesa-dev \
  35. libjpeg-dev \
  36. libncurses5-dev \
  37. libpng12-dev \
  38. libreadline-dev \
  39. libtiff4-dev \
  40. libwxgtk2.8-dev \
  41. libxmu-dev \
  42. mesa-common-dev \
  43. python-wxgtk2.8 \
  44. python-wxversion \
  45. tcl8.4-dev \
  46. tk8.4-dev
  47.  
  48. cd $BUILD_DIR
  49. tar xfo gdal-${GDAL_VERSION}.tar.xz
  50. cd gdal-${GDAL_VERSION}
  51. ./configure \
  52. --with-python \
  53. --with-libtiff=internal \
  54. --with-geotiff=internal \
  55. --with-jpeg=internal \
  56. --with-png=internal \
  57. --with-libz=internal \
  58. --with-poppler=yes \
  59. --with-kakadu=$BUILD_DIR/${KAKADU_VERSION} \
  60. --with-ecw=/usr/local \
  61. --with-mrsid=$BUILD_DIR/MrSID_DSDK-${MRSID_VERSION}-linux.x86-64.gcc44/Raster_DSDK \
  62. --with-mrsid_lidar=$BUILD_DIR/MrSID_DSDK-${MRSID_VERSION}-linux.x86-64.gcc44/Lidar_DSDK \
  63. --with-liblzma=yes \
  64. --with-spatialite \
  65. --with-mysql \
  66. --with-geos=/usr/local/bin/geos-config \
  67. --with-webp \
  68. --with-libkml \
  69. --with-curl
  70. make -j $CORES
  71. make install
  72. ldconfig
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement