Could not find PGXS for Postgresql 8.4 on Ubuntu

I am trying to install the Contrib / unaccent package for Postgresql 8.4 in my Ubuntu field. But I got an error when I typed make:

/usr/lib/postgresql/8.4/lib/pgxs/src/makefiles/pgxs.mk: there is no such file or directory

PGXS seems to be the Postgresql framework for installing extensions, but I could not find the pgxs.mk file at all in my ubuntu block.

Following some conclusions on the internet, I tried installing libpq-dev. However, I could not find pgxs.mk even after installing libpq-dev.

What really upsets is that I can’t even find the pgxs.mk example anywhere on the Internet. How to install PGXS infrastructure?

+6
source share
1 answer

Perhaps you need to install the postgresql-server-dev-8.4 package that contains the missing makefile:

 /usr/lib/postgresql/8.4/lib/pgxs/src/makefiles/pgxs.mk 
+11
source

Source: https://habr.com/ru/post/897071/


All Articles