[gdal-dev] installing gdal in CentOS

Markus Neteler neteler at osgeo.org
Sun Apr 7 13:06:08 PDT 2019


On Sun, Apr 7, 2019 at 9:57 PM Markus Metz
<markus.metz.giswork at gmail.com> wrote:
> On Fri, Apr 5, 2019 at 3:38 PM Markus Neteler <neteler at osgeo.org> wrote:
...
> > The current state is here
> > https://copr.fedorainfracloud.org/coprs/neteler/GDAL/build/876548/
> > - SPEC file: https://copr-be.cloud.fedoraproject.org/results/neteler/GDAL/epel-7-x86_64/00876548-gdal/gdal.spec
> > - Log file: https://copr-be.cloud.fedoraproject.org/results/neteler/GDAL/epel-7-x86_64/00876548-gdal/builder-live.log
>
> In the log, there is
>
>   File "/usr/lib/python3.6/site-packages/copr_rpmbuild/builders/mock.py", line 40, in run
>
> where is python 3.6 with /usr/lib/python3.6/site-packages/ coming from in your build environment?

That is the Fedora COPR system....

> Centos 7 comes with python 3.4 and gdal uses on Centos 7 python -> python2. Maybe you need to drop this custom python3.6 installation. I never had any problems compiling gdal 2.x on derivates of RHEL 7.

AFAIK I have no possibilities to change COPR itself but can only
modify the SPEC file and build it there.

Best,
markusN


More information about the gdal-dev mailing list