Ticket Hash: | 4085e7ccf0ce2a350e9cabc93d37bf06a75ca8cf | |||
Title: | Fails to build with OpenJPEG 2.2.0 | |||
Status: | Closed | Type: | Build_Problem | |
Severity: | Critical | Priority: | Immediate | |
Subsystem: | Resolution: | Fixed | ||
Last Modified: | 2017-09-26 12:00:35 | |||
Version Found In: | 1.0.0-rc0 | |||
User Comments: | ||||
anonymous added on 2017-09-26 08:30:31:
As reported by Adrian Bunk in Debian Bug #876808: > https://tests.reproducible-builds.org/debian/rb-pkg/unstable/amd64/librasterlite2.html > > ... > checking openjpeg-2.0/openjpeg.h usability... no > checking openjpeg-2.0/openjpeg.h presence... no > checking for openjpeg-2.0/openjpeg.h... no > checking openjpeg-2.1/openjpeg.h usability... no > checking openjpeg-2.1/openjpeg.h presence... no > checking for openjpeg-2.1/openjpeg.h... no > configure: error: 'OpenJpeg-2' is required but the header (openjpeg.h) doesn't seem to be installed on this system https://bugs.debian.org/876808 The openjpeg-2.2 directory is not checked, and the conditional in the code only supports 2.0 or 2.1, not more than those options. This does not scale well. A solution similar to the one used in GDAL is probably a good solution: http://trac.osgeo.org/gdal/browser/tags/2.2.2/gdal/configure.ac#L2528 anonymous added on 2017-09-26 12:00:35: Support for OpenJPEG 2.2 was added in: https://www.gaia-gis.it/fossil/librasterlite2/ci/d8b9d9894ad2d72a?sbs=1 |