Re: [gdal-dev] Is there any RHEL repo for relatively new GDAL versions?

2024-01-30 Thread Markus Neteler via gdal-dev
Hi Jukka,

On Tue, Jan 30, 2024 at 4:50 PM Even Rouault via gdal-dev
 wrote:
>
> Hi Jukka,
>
> this is a unfortunate move. You may have to create a custom package, possibly 
> inspired from src.rpm from recent Fedora 
> (https://src.fedoraproject.org/rpms/gdal).

I was about to send this link but Even was faster :-)

> I see Markus Neteler did one for GDAL 3.0.4 for RHEL 7 in 
> https://copr.fedorainfracloud.org/coprs/neteler/GDAL/

I can (try to) build a fresher version in COPR.

[...]
> By our agency’s IT policy compiling GDAL by ourselves is not possible. Can 
> anyone suggest other acceptable means for getting at least GDAL 3.7 for RHEL 
> 8?

Let me try to compile it.

Best,
Markus

-- 
Markus Neteler, PhD
https://www.mundialis.de - company
https://grass.osgeo.org - FOSS
https://neteler.org - blog & freelancing
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev


Re: [gdal-dev] Is there any RHEL repo for relatively new GDAL versions?

2024-01-30 Thread Even Rouault via gdal-dev

Hi Jukka,

this is a unfortunate move. You may have to create a custom package, 
possibly inspired from src.rpm from recent Fedora 
(https://src.fedoraproject.org/rpms/gdal). I see Markus Neteler did one 
for GDAL 3.0.4 for RHEL 7 in 
https://copr.fedorainfracloud.org/coprs/neteler/GDAL/


Or I assume that you may install it also from conda-forge. I believe 
their Linux binaries should run on RHEL 8.


Actually, quickly checking with AlmaLinux 8, a free clone of RHEL 8:

# docker run --rm -it almalinux:8

# dnf install wget
# wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh
# sh Miniconda3-latest-Linux-x86_64.sh   # answer to default questions 
with [Enter]

# source /root/miniconda3/bin/activate
# conda install -c conda-forge gdal
# gdalinfo --version
GDAL 3.8.3, released 2024/01/04

Or if you only use command line utilities, use Docker images

PS: IT policies are weird. It is paradoxical to trust more an outside 
source for binaries rather than building your own from source...


Even

Le 30/01/2024 à 16:09, Rahkonen Jukka via gdal-dev a écrit :


Hi,

The newest GDAL in the official RHEL repo is 3.4.3, released 
2022-04-22. There used to be GDAL 3.7 available from the PostgreSQL 
repo https://yum.postgresql.org/repopackages/ and we have been using 
that, but the version was removed recently. Some other user was 
unhappy as well and created a bug


Bug #7943: Providers missing from pgdg-common for GDAL 3.7 
(RHEL/CentOS/AlmaLinux 8) - PostgreSQL YUM Repository - Redmine - 
PostgreSQL community 


That user got this feedback:
“Why did you install GDAL 3.7? The packages are in the repo, but they 
were never required by any released GIS suite. I even removed them 
from git a couple of weeks ago:
https://git.postgresql.org/gitweb/?p=pgrpms.git;a=commitdiff;h=059f17f664ab093af35389dc7ec7b62c5a9f3fe2 

Commit comment: gdal35 and gdal37: Remove from the repo. Not used in 
any packages.


By our agency’s IT policy compiling GDAL by ourselves is not possible. 
Can anyone suggest other acceptable means for getting at least GDAL 
3.7 for RHEL 8?


-Jukka Rahkonen-


___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev


--
http://www.spatialys.com
My software is free, but my time generally not.
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev


[gdal-dev] Is there any RHEL repo for relatively new GDAL versions?

2024-01-30 Thread Rahkonen Jukka via gdal-dev
Hi,

The newest GDAL in the official RHEL repo is 3.4.3, released 2022-04-22. There 
used to be GDAL 3.7 available from the PostgreSQL repo 
https://yum.postgresql.org/repopackages/ and we have been using that, but the 
version was removed recently. Some other user was unhappy as well and created a 
bug
Bug #7943: Providers missing from pgdg-common for GDAL 3.7 
(RHEL/CentOS/AlmaLinux 8) - PostgreSQL YUM Repository - Redmine - PostgreSQL 
community

That user got this feedback:
"Why did you install GDAL 3.7? The packages are in the repo, but they were 
never required by any released GIS suite. I even removed them from git a couple 
of weeks ago:
https://git.postgresql.org/gitweb/?p=pgrpms.git;a=commitdiff;h=059f17f664ab093af35389dc7ec7b62c5a9f3fe2
Commit comment: gdal35 and gdal37: Remove from the repo. Not used in any 
packages.

By our agency's IT policy compiling GDAL by ourselves is not possible. Can 
anyone suggest other acceptable means for getting at least GDAL 3.7 for RHEL 8?

-Jukka Rahkonen-



___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev