Skip to content

Missing postgres.h #44

@joergfaubel

Description

@joergfaubel

Hi all,

when I run 'PATH="/usr/local/pgsql/bin:$PATH" make USE_PGXS=1' under Debian bookworm the postgres.h is not found.

$ PATH="/usr/local/pgsql/bin:$PATH" make USE_PGXS=1
"Platform is: linux"
gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement -Werror=vla -Wendif-labels -Wmissing-format-attribute -Wimplicit-fallthrough=3 -Wcast-function-type -Wshadow=compatible-local -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 -fvisibility=hidden -I. -I./ -I/usr/include/postgresql/17/server -I/usr/include/postgresql/internal -Wdate-time -D_FORTIFY_SOURCE=2 -D_GNU_SOURCE -I/usr/include/libxml2 -c -o system_stats.o system_stats.c
system_stats.c:13:10: fatal error: postgres.h: Datei oder Verzeichnis nicht gefunden
13 | #include "postgres.h"
| ^~~~~~~~~~~~
compilation terminated.

the include of postgres.h is in system_stats.c

BR

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions