<div dir="ltr">Hello,<div><br></div><div>I'm getting the following error message when compiling...</div><div><br></div><div>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<br>gserialized_gist.c:12:10: fatal error: postgres.h: No such file or directory<br> #include "postgres.h"<br>          ^~~~~~~~~~~~<br>compilation terminated.<br>Makefile:65: recipe for target 'gserialized_gist.o' failed<br>make[1]: *** [gserialized_gist.o] Error 1<br></div><div><br></div><div>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.</div><div><br></div><div>Thanks,</div><div><br></div><div>Brad</div></div>