pguri
pguri copied to clipboard
Missing Dependency in readme:
Hi,
when building on Debian 11 you also need to install postgresql-server-dev-13 otherwise the build will fail due to missing postgres.h:
make
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 uri.o uri.c
uri.c:1:10: fatal error: postgres.h: Datei oder Verzeichnis nicht gefunden
1 | #include <postgres.h>
| ^~~~~~~~~~~~
compilation terminated.
make: *** [<eingebaut>: uri.o] Fehler 1