pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: TNMayer (@TNMayer) <noreply+TNMayer@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: [pgvector/pgvector] issue #701: Error when running make in /tmp/pgvector
Date: Mon, 28 Oct 2024 07:10:01 +0000
Message-ID: <gh-pgvector-pgvector-701@github.com> (raw)

Hi,
when running the make command in the /tmp/pgvector directory, I get the following error message:
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 -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -flto=auto -ffat-lto-objects -fstack-protector-strong -fstack-clash-protection -Wformat -Werror=format-security -fcf-protection -fno-omit-frame-pointer -march=native -ftree-vectorize -fassociative-math -fno-signed-zeros -fno-trapping-math -fPIC -fvisibility=hidden -I. -I./ -I/usr/include/postgresql/16/server -I/usr/include/postgresql/internal  -Wdate-time -D_FORTIFY_SOURCE=3 -D_GNU_SOURCE -I/usr/include/libxml2   -c -o src/bitutils.o src/bitutils.c
src/bitutils.c:1:10: fatal error: postgres.h: Datei oder Verzeichnis nicht gefunden
    1 | #include "postgres.h"
      |          ^~~~~~~~~~~~
compilation terminated.
make: *** [<eingebaut>: src/bitutils.o] Fehler 1

Operating System: Ubuntu 24.04.1 LTS

running make clean && PG_CFLAGS="-DDISABLE_DISPATCH" make results in the same error.

Could you please help me out?

Best, Thomas

view thread (3+ messages)  latest in thread

Message-ID: <gh-pgvector-pgvector-701@github.com>
Permalink:  ../gh-pgvector-pgvector-701@github.com/

 · 


This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox