Ari, I had similar problems. The problem is that an old version of gdal is installed by travis by default (!) adding before-install: - sudo apt-get remove -y libgdal1
fixed this for me on trusty (and on precise, but you will still not get the latest version). Kind Regards, Johan On Tue, Apr 11, 2017 at 12:48 PM, Ari Jolma <ari.jo...@gmail.com> wrote: > 11.04.2017, 13:28, Bas Couwenberg kirjoitti: >> >> On 2017-04-11 12:22, Ari Jolma wrote: >>> >>> 11.04.2017, 13:05, Angelos Tzotsos kirjoitti: >>>> >>>> Hi Ari, >>>> >>>> sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable >>>> sudo apt-get update >>>> sudo apt-get install libgdal-dev >>>> >>>> This should do it. >>> >>> >>> No. I tried that before (found it in my .travis.yml file...) and it >>> pulls in older version 1.10.0. >> >> >> You can install the 2.1.3 version explicitly with: >> >> sudo apt-get install libgdal-dev=2.1.3+dfsg-1~xenial2 > > > It seems it did not even try this. Probably because it is precise? > >> >> But this will fail when the version is updated in the PPA. >> >> Is the travis environment using Ubuntu xenial, and not an older LTS like >> trusty or precise? It's probably trusty since that ships with GDAL 1.10.1. > > > It is precise. Trusty build environment is in beta. > > >> >> For those older LTS releases the UbuntuGIS packages haven't been updated >> yet. Depending on manpower and motivation we may be able to updated the >> trusty packages in the near future. > > > It would save a lot of build time at least for me. > > The reason for me is that many of my project use the GDAL Perl bindings and > for the tests I pull in the latest from CPAN, which is based on the latest > released GDAL. > >> >> Ideally the travis environment is upgraded to xenial for which the best >> support is available and the default packages in Ubuntu itself are much more >> current. > > > ok > > Thanks, > > Ari > > >> >> Kind Regards, >> >> Bas >> _______________________________________________ >> gdal-dev mailing list >> gdal-dev@lists.osgeo.org >> https://lists.osgeo.org/mailman/listinfo/gdal-dev > > > _______________________________________________ > gdal-dev mailing list > gdal-dev@lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/gdal-dev _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev