[gdal-dev] installing gdal in CentOS

Markus Neteler neteler at osgeo.org
Mon Apr 1 08:38:45 PDT 2019


On Mon, Apr 1, 2019 at 2:36 PM Even Rouault <even.rouault at spatialys.com> wrote:
> On lundi 1 avril 2019 13:10:37 CEST Markus Neteler wrote:
> > While Fedora EPEL7 only offers a GDAL 1.x package, I am trying to
> > compile GDAL 2.3 in order to provide it as a RPM package:
> >
> > https://copr.fedorainfracloud.org/coprs/neteler/GDAL/
> >
> > However, compilation is still struggling with the pdf/ driver:
>
> Hum, your GDAL 2.3.2 is definitely a patched version from the official one
[...]
> It looks like your GDAL copy might have some special patch that was designed
> to support for a later version of Poppler on recent Fedora than the one you're
> using (0.26) on RHEL7, but dropping support for older versions as well.
> Perhaps you should just drop that specific patch for the RHEL7 context.

Right, this helped. The use of the poppler patch is now
conditionalized (Fedora only).

Now I am stuck at
...

     [exec]   adding: java/org/gdal/gdal/BuildVRTOptions.html (deflated 78%)
     [exec]   adding: java/org/gdal/gdal/Band.html (deflated 90%)
     [copy] Copying 1 file to
/builddir/build/BUILD/gdal-2.3.2-fedora/swig/java/build/maven
     [copy] Copying 1 file to
/builddir/build/BUILD/gdal-2.3.2-fedora/swig/java/build/maven
      [jar] Building jar:
/builddir/build/BUILD/gdal-2.3.2-fedora/swig/java/build/maven/gdal-2.3.2-javadoc.jar
      [jar] Building jar:
/builddir/build/BUILD/gdal-2.3.2-fedora/swig/java/build/maven/gdal-2.3.2-sources.jar

BUILD SUCCESSFUL
Total time: 10 seconds
+ popd
+ %mvn_artifact swig/java/build/maven/gdal-2.3.2.pom
swig/java/build/maven/gdal-2.3.2.jar
~/build/BUILD/gdal-2.3.2-fedora
/var/tmp/rpm-tmp.R4QpDm: line 139: fg: no job control
error: Bad exit status from /var/tmp/rpm-tmp.R4QpDm (%build)
....

Unfortunately I am not familiar with swig/java/ - help would be
appreciated. This is the new log:

https://copr-be.cloud.fedoraproject.org/results/neteler/GDAL/epel-7-x86_64/00876255-gdal/builder-live.log

thanks
Markus


More information about the gdal-dev mailing list