Hi ! AS5202T/PostgresQSL/pgvector

New to the forum? Introduce yourself, chit chat and chew the fat.
jlongo
Posts: 9
youtube meble na wymiar Warszawa
Joined: Tue Jan 14, 2020 9:49 pm

Hi ! AS5202T/PostgresQSL/pgvector

Post by jlongo »

Hi there...
I have at some time this NAs. So far so good... Now i'm facing a problem that is the instalation of the extension PgVector to Postgres. At doing "make" and "make install"

xxxx@xxxxxxx:/tmp/pgvector # make
make: pg_config: No such file or directory
cp sql/vector.sql sql/vector--0.7.4.sql
xxxx@xxxxxxx:/tmp/pgvector # make install
make: pg_config: No such file or directory
make: *** No rule to make target 'install'. Stop.

Have anyone tried this with success. If so, how ?
If not, any ideas ?

TIA

JL
jlongo
Posts: 9
Joined: Tue Jan 14, 2020 9:49 pm

Re: Hi ! AS5202T/PostgresQSL/pgvector

Post by jlongo »

Hi again...

Forget to mention, Postgres 16.4 (installed via App central.

TIA

JL
jlongo
Posts: 9
Joined: Tue Jan 14, 2020 9:49 pm

Re: Hi ! AS5202T/PostgresQSL/pgvector

Post by jlongo »

Hi all...

I think i solved it (with the help of maintainer pointing me the right path - thanks Steven)

We need to install the extension inside postgres docker container...

docker exec -it 55d6e4249132 bash

it will be needed a bunch of dependencies...

- ​apt update
- apt install make
- apt install git
- apt install gcc
- apt-cache search postgresql-server-dev
- apt install postgresql-server-dev-16

enter in folder /tmp

- git clone --branch v0.7.4 https://github.com/pgvector/pgvector.git
- cd pgvector
- make
- make install

restart container and test...

I hope it helps someone

Regards

JL