Closed emdao closed 2 months ago
Not having the development version installed would explain the failure to find postgres.h
.
From what repository did you install the PostgreSQL package? Is there no development version also available there?
Closed waiting on reporter ... looks like a simple case of not having PostgreSQL dev package installed.
we are compiling pljva with the following command
mvn clean install
But we are getting the following error
var/lib/pgsql/pljava/pljava-so/src/main/c/Backend.c:14:10: fatal error: postgres.h: No such file or directory 14 | #include
| ^
| ^
| ^
| ^
~~~ compilation terminated. In file included from /var/lib/pgsql/pljava/pljava-so/src/main/c/DualState.c:21: /var/lib/pgsql/pljava/pljava-so/src/main/include/pljava/DualState.h:15:10: fatal error: postgres.h: No such file or directory 15 | #include~~~ compilation terminated. /var/lib/pgsql/pljava/pljava-so/src/main/c/Exception.c:15:10: fatal error: postgres.h: No such file or directory 15 | #include~~~ compilation terminated. /var/lib/pgsql/pljava/pljava-so/src/main/c/ExecutionPlan.c:15:10: fatal error: postgres.h: No such file or directory 15 | #include~~~we have installed postgres version 15 and our operating system is redhat linux version 9.
Postgres version obtained from redhat nis not the development version.