Thank you for kind attention and acknowledging.
After login in to docker (docker images is postgres:13.5), we are executing these installation steps:
> apt-get install pip; sudo pip install pgxnclient; pgxn install temporal_tables
Error:
pgxn install temporal_tables
INFO: best version: temporal_tables 1.2.0
INFO: saving /tmp/tmp46d4nx9e/temporal_tables-1.2.0.zip
INFO: unpacking: /tmp/tmp46d4nx9e/temporal_tables-1.2.0.zip
INFO: building extension
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wformat-security -fno-strict-aliasing -fwrapv -fexcess-precision=standard -Wno-format-truncation -Wno-stringop-truncation -g -g -O2 -fstack-protector-strong -Wformat -Werror=format-security -fno-omit-frame-pointer -fPIC -I. -I./ -I/usr/include/postgresql/13/server -I/usr/include/postgresql/internal -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2 -c -o temporal_tables.o temporal_tables.c
temporal_tables.c:9:10: fatal error: postgres.h: No such file or directory
9 | #include "postgres.h"
| ^~~~~~~~~~~~
compilation terminated.
gmake: *** [<builtin>: temporal_tables.o] Error 1
ERROR: command returned 2: gmake PG_CONFIG=/usr/bin/pg_config all
Please find the error logs in attachments
also tried a second way after cloning the repo executed below cmds but getting the same error like above
$ make
$ make install
$ make installcheck
Thanks.
Regards,
Gaurav Anand
