Bug#836308: librasterlite2: FTBFS: geotiff.h:35:24: fatal error: geo_config.h: No such file or directory
Sebastiaan Couwenberg
sebastic at xs4all.nl
Thu Sep 1 16:08:27 UTC 2016
Control: tags -1 pending
Hi Chris,
Thanks for reporting this issue.
The problem became clear from the full buildlog:
| #include <geotiff.h>
configure:4832: result: no
configure:4832: checking for geotiff.h
configure:4832: result: no
configure:4846: error: 'libgeotiff' is required but the header
(geotiff.h) doesn't seem to be installed on this system
This is from AC_CHECK_HEADERS(geotiff/geotiff.h) in configure.ac.
The root cause is a change in libgeotiff 1.4.2-RC4 where the includes in
geotiff.h where changed from:
#include "geo_config.h"
to:
#include <geo_config.h>
Which breaks with the custom include path (/usr/include/geotiff) used
for the Debian package. I didn't notice this earlier because I had only
rebuilt all reverse dependencies with RC2.
In in discussion with libgeotiff upstream to revert the includes back to
#include "geo_config.h", see:
http://lists.maptools.org/pipermail/geotiff/2016-September/000816.html
In the mean time I've fixed librasterlite2 by appending the include path
via DEB_CPPFLAGS_MAINT_APPEND. I'll also do another round of rebuild to
check if other libgeotiff reverse dependencies are affected by the same
issue.
Kind Regards,
Bas
--
GPG Key ID: 4096R/6750F10AE88D4AF1
Fingerprint: 8182 DE41 7056 408D 6146 50D1 6750 F10A E88D 4AF1
More information about the Pkg-grass-devel
mailing list