Quantcast

[gdal-dev] Binary of the latest released GDAL for travis?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
8 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[gdal-dev] Binary of the latest released GDAL for travis?

Ari Jolma-2
How could I pull into travis the binaries of the latest released GDAL
(now 2.1.3)?

There seems to be experimental debian package
https://packages.debian.org/experimental/libgdal-dev

Does anybody have experience with them?

Right now I'm pulling in the source code and building it in the overall
build but that's really slow.

Ari


_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Binary of the latest released GDAL for travis?

Sebastiaan Couwenberg
On 2017-04-11 09:30, Ari Jolma wrote:
> How could I pull into travis the binaries of the latest released GDAL
> (now 2.1.3)?
>
> There seems to be experimental debian package
> https://packages.debian.org/experimental/libgdal-dev
>
> Does anybody have experience with them?

OSGeo-Live includes these packages, (re)built for Ubuntu xenial.

> Right now I'm pulling in the source code and building it in the
> overall build but that's really slow.

The ubuntugis-unstable PPA has the GDAL 2.1.3 packages for xenial too
(from OSGeo-Live), you can add the PPA in the travis setup script and
install the packages from there.

 
https://launchpad.net/~ubuntugis/+archive/ubuntu/ubuntugis-unstable/+packages

Kind Regards,

Bas
_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Binary of the latest released GDAL for travis?

Ari Jolma-2
11.04.2017, 10:49, Bas Couwenberg kirjoitti:
On 2017-04-11 09:30, Ari Jolma wrote:
How could I pull into travis the binaries of the latest released GDAL
(now 2.1.3)?

There seems to be experimental debian package
https://packages.debian.org/experimental/libgdal-dev

Does anybody have experience with them?

OSGeo-Live includes these packages, (re)built for Ubuntu xenial.

Right now I'm pulling in the source code and building it in the
overall build but that's really slow.

The ubuntugis-unstable PPA has the GDAL 2.1.3 packages for xenial too (from OSGeo-Live), you can add the PPA in the travis setup script and install the packages from there.

What's the package name I should use?

sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable -y
gpg: keyring `/tmp/tmp2gKbLJ/secring.gpg' created
gpg: keyring `/tmp/tmp2gKbLJ/pubring.gpg' created
gpg: requesting key 314DF160 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmp2gKbLJ/trustdb.gpg: trustdb created
gpg: key 314DF160: public key "Launchpad ubuntugis-stable" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
OK

sudo apt-get update


$ sudo apt-get install libgdal-dev_2.1.3
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package libgdal-dev_2.1.3
E: Couldn't find any package by regex 'libgdal-dev_2.1.3'
Ari
  https://launchpad.net/~ubuntugis/+archive/ubuntu/ubuntugis-unstable/+packages Kind Regards, Bas _______________________________________________ gdal-dev mailing list [hidden email] https://lists.osgeo.org/mailman/listinfo/gdal-dev

_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Binary of the latest released GDAL for travis?

Angelos Tzotsos
Hi Ari,

sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable
sudo apt-get update
sudo apt-get install libgdal-dev

This should do it.

Cheers,
Angelos

On 04/11/2017 11:05 AM, Ari Jolma wrote:
11.04.2017, 10:49, Bas Couwenberg kirjoitti:
On 2017-04-11 09:30, Ari Jolma wrote:
How could I pull into travis the binaries of the latest released GDAL
(now 2.1.3)?

There seems to be experimental debian package
https://packages.debian.org/experimental/libgdal-dev

Does anybody have experience with them?

OSGeo-Live includes these packages, (re)built for Ubuntu xenial.

Right now I'm pulling in the source code and building it in the
overall build but that's really slow.

The ubuntugis-unstable PPA has the GDAL 2.1.3 packages for xenial too (from OSGeo-Live), you can add the PPA in the travis setup script and install the packages from there.

What's the package name I should use?

sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable -y
gpg: keyring `/tmp/tmp2gKbLJ/secring.gpg' created
gpg: keyring `/tmp/tmp2gKbLJ/pubring.gpg' created
gpg: requesting key 314DF160 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmp2gKbLJ/trustdb.gpg: trustdb created
gpg: key 314DF160: public key "Launchpad ubuntugis-stable" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
OK


sudo apt-get update


$ sudo apt-get install libgdal-dev_2.1.3
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libgdal-dev_2.1.3
E: Couldn't find any package by regex 'libgdal-dev_2.1.3'

Ari
https://launchpad.net/~ubuntugis/+archive/ubuntu/ubuntugis-unstable/+packages Kind Regards, Bas _______________________________________________ gdal-dev mailing list [hidden email] https://lists.osgeo.org/mailman/listinfo/gdal-dev



_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev


-- 
Angelos Tzotsos, PhD
Charter Member
Open Source Geospatial Foundation
http://users.ntua.gr/tzotsos

_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Binary of the latest released GDAL for travis?

Ari Jolma-2
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.

Ari


Cheers,
Angelos

On 04/11/2017 11:05 AM, Ari Jolma wrote:
11.04.2017, 10:49, Bas Couwenberg kirjoitti:
On 2017-04-11 09:30, Ari Jolma wrote:
How could I pull into travis the binaries of the latest released GDAL
(now 2.1.3)?

There seems to be experimental debian package
https://packages.debian.org/experimental/libgdal-dev

Does anybody have experience with them?

OSGeo-Live includes these packages, (re)built for Ubuntu xenial.

Right now I'm pulling in the source code and building it in the
overall build but that's really slow.

The ubuntugis-unstable PPA has the GDAL 2.1.3 packages for xenial too (from OSGeo-Live), you can add the PPA in the travis setup script and install the packages from there.

What's the package name I should use?

sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable -y
gpg: keyring `/tmp/tmp2gKbLJ/secring.gpg' created
gpg: keyring `/tmp/tmp2gKbLJ/pubring.gpg' created
gpg: requesting key 314DF160 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmp2gKbLJ/trustdb.gpg: trustdb created
gpg: key 314DF160: public key "Launchpad ubuntugis-stable" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
OK


sudo apt-get update


$ sudo apt-get install libgdal-dev_2.1.3
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libgdal-dev_2.1.3
E: Couldn't find any package by regex 'libgdal-dev_2.1.3'

Ari
https://launchpad.net/~ubuntugis/+archive/ubuntu/ubuntugis-unstable/+packages Kind Regards, Bas _______________________________________________ gdal-dev mailing list [hidden email] https://lists.osgeo.org/mailman/listinfo/gdal-dev



_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev


-- 
Angelos Tzotsos, PhD
Charter Member
Open Source Geospatial Foundation
http://users.ntua.gr/tzotsos


_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev


_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Binary of the latest released GDAL for travis?

Sebastiaan Couwenberg
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

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.

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.

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.

Kind Regards,

Bas
_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Binary of the latest released GDAL for travis?

Angelos Tzotsos
In reply to this post by Ari Jolma-2
In that case, you are either using a ppa mixed environment (perhaps you use the postgres ppa?) or you are using a package that still depends on the upstream gdal version.

On 04/11/2017 01:22 PM, 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.

Ari


Cheers,
Angelos

On 04/11/2017 11:05 AM, Ari Jolma wrote:
11.04.2017, 10:49, Bas Couwenberg kirjoitti:
On 2017-04-11 09:30, Ari Jolma wrote:
How could I pull into travis the binaries of the latest released GDAL
(now 2.1.3)?

There seems to be experimental debian package
https://packages.debian.org/experimental/libgdal-dev

Does anybody have experience with them?

OSGeo-Live includes these packages, (re)built for Ubuntu xenial.

Right now I'm pulling in the source code and building it in the
overall build but that's really slow.

The ubuntugis-unstable PPA has the GDAL 2.1.3 packages for xenial too (from OSGeo-Live), you can add the PPA in the travis setup script and install the packages from there.

What's the package name I should use?

sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable -y
gpg: keyring `/tmp/tmp2gKbLJ/secring.gpg' created
gpg: keyring `/tmp/tmp2gKbLJ/pubring.gpg' created
gpg: requesting key 314DF160 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmp2gKbLJ/trustdb.gpg: trustdb created
gpg: key 314DF160: public key "Launchpad ubuntugis-stable" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
OK


sudo apt-get update


$ sudo apt-get install libgdal-dev_2.1.3
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package libgdal-dev_2.1.3
E: Couldn't find any package by regex 'libgdal-dev_2.1.3'

Ari
https://launchpad.net/~ubuntugis/+archive/ubuntu/ubuntugis-unstable/+packages Kind Regards, Bas _______________________________________________ gdal-dev mailing list [hidden email] https://lists.osgeo.org/mailman/listinfo/gdal-dev



_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev


-- 
Angelos Tzotsos, PhD
Charter Member
Open Source Geospatial Foundation
http://users.ntua.gr/tzotsos


_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev




_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev


-- 
Angelos Tzotsos, PhD
Charter Member
Open Source Geospatial Foundation
http://users.ntua.gr/tzotsos

_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: Binary of the latest released GDAL for travis?

Ari Jolma-2
In reply to this post by Sebastiaan Couwenberg
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
> [hidden email]
> https://lists.osgeo.org/mailman/listinfo/gdal-dev

_______________________________________________
gdal-dev mailing list
[hidden email]
https://lists.osgeo.org/mailman/listinfo/gdal-dev
Loading...