[postgis-users] Compile error during build of 3.0.2...

Brad Dworak brad.dworak at gmail.com
Fri Oct 9 07:16:43 PDT 2020


Hello,

I'm getting the following error message when compiling...

gcc -I../liblwgeom  -Wall -Wmissing-prototypes -std=gnu99 -g -O2
-fno-math-errno -fno-signed-zeros -I/usr/include/postgresql/13/server
-fPIC -DPIC  -c -o gserialized_gist.o gserialized_gist.c
gserialized_gist.c:12:10: fatal error: postgres.h: No such file or directory
 #include "postgres.h"
          ^~~~~~~~~~~~
compilation terminated.
Makefile:65: recipe for target 'gserialized_gist.o' failed
make[1]: *** [gserialized_gist.o] Error 1

Could you kindly let me know the issue may be and what information I would
need to provide to diagnose the error? I'm running Ubuntu 18.04 and have
PostGreSQL 11, 12, and 13 (specifically postgresql-13-postgis-3) installed.
I'm currently trying to upgrade from Postgis 2.5 (with Postgres 11) to
Postgis 3.0.2 (with Postgres 13) and attempting a hard upgrade using the
dump and restore data method.

Thanks,

Brad
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20201009/a7d9aac4/attachment.html>


More information about the postgis-users mailing list