[gdal-dev] bug report -- cpl_config.h should not be installed
Carnë Draug
carandraug+dev at gmail.com
Wed Jan 27 09:42:19 PST 2016
Hello
I am using an email instead of your bug tracker because the later requires
yet another account on another site (osgeo.org).
The bug is that cpl_config.h is installed and included from other gdal
public headers (at least cpl_port.h, not sure if also from others).
Why this is an issue is an autotools FAQ "Why should config.h not be
installed?" [1] which also explains how to fix it. Unfortunately, the
link to the page that also explains why that is an issue is dead but it
can still be seen from the web archive [2].
You may not be affected by this issue until you try to make gdal work
with another project that has the same bug. Then definitions start to
collide.
Also, note that this was originally reported 9 years ago [3] and closed
as fixed (that doesn't look right to me). The bug is still present.
The autoconf FAQ suggests a fix.
Carnë
[1] http://www.gnu.org/software/automake/faq/autotools-faq.html#Why-should-config_002eh-not-be-installed_003f
[2] http://web.archive.org/web/20100414095144/http://inaugust.com/post/68
[3] https://trac.osgeo.org/gdal/ticket/1589
More information about the gdal-dev
mailing list