I am trying to install Apache AGE by following the instructions provided in the documentation. However, I was only able to install it from the source code. When I attempted to install Postgres 12 from a package manager and downloaded the latest official release of AGE (version 1.1.0), I found the following error:
src/backend/age.c:20:10: fatal error: postgres.h: No such file or directory
20 | #include "postgres.h"
| ^~~~~~~~~~~~
compilation terminated.
make: *** [<builtin>: src/backend/age.o] Error 1
I am using Ubuntu 20.04.5 LTS and have followed all the steps in the documentation, including setting the PG_CONFIG
variable. Could someone please advise me on whether I am doing something incorrectly?