liblwgeom.h:2378:10: fatal error: lwinline.h: No such file or directory
|Reported by:||robe||Owned by:||robe|
I thought I was just seeing this error on bessie, but I'm seeing it on debbie as well when trying to build the 2.5 translation docs.
On debbie it looks like this:
In file included from generator.c:37: /var/lib/jenkins/workspace/pg/rel/pg9.6w64/include/liblwgeom.h:2378:10: fatal error: lwinline.h: No such file or directory #include "lwinline.h" ^~~~~~~~~~~~ compilation terminated.
I also noticed debbie hasn't been running her 2.5, probably because I was messing with her job, so this issue might exist in 25, especially since the 2.5 doc translation builds against 2.5
On the bessie sisters it looks like this:
01:29:43 In file included from rtpostgis.c:138: 01:29:43 In file included from ../../libpgcommon/lwgeom_pg.h:23: 01:29:43 /usr/local/include/liblwgeom.h:2378:10: fatal error: 'lwinline.h' file not found 01:29:43 #include "lwinline.h" 01:29:43 ^~~~~~~~~~~~ 01:29:44 1 error generated. 01:29:44 gmake: *** [<builtin>: rtpostgis.o] Error 1 01:29:44 gmake: Leaving directory '/usr/home/jenkins/workspace/PostGIS_Worker_Run/label/bessie/82114a683cd1eb017a7ce3bc2ea9bfa09f4f1a79/raster/rt_pg' 01:29:44 gmake: *** [Makefile:32: pglib] Error 2 01:29:44 gmake: Leaving directory '/usr/home/jenkins/workspace/PostGIS_Worker_Run/label/bessie/82114a683cd1eb017a7ce3bc2ea9bfa09f4f1a79/raster' 01:29:44 gmake: *** [GNUmakefile:16: all] Error 1 01:29:44 gmake: Leaving directory '/usr/home/jenkins/workspace/PostGIS_Worker_Run/label/bessie/82114a683cd1eb017a7ce3bc2ea9bfa09f4f1a79' 01:29:44 *** Error code 2 01:29:44
I also thought this was a 3.0.0 error but I'm seeing it in PostGIS 2.5 runs.
All these are using the wrong include file, they should be using the one in source tree and NOT the installed one.