powa-team / powa-archivist

powa-archivist: the powa PostgreSQL extension
http://powa.readthedocs.io/
PostgreSQL License
51 stars 20 forks source link

Unable to find file " pg_stat_kcache " and " pg_qualstats " when i restart postgresql #16

Closed marieetmax closed 5 years ago

marieetmax commented 5 years ago

Hi,

install of pg_qualstats et pg_stat_kcache get those error :

You need to install postgresql-server-dev-X.Y for building a server-side extension or libpq-dev for building a client-side application.u dossier de ce type make: *** Aucune règle pour fabriquer la cible « /usr/lib/postgresql/9.6/lib/pgxs/src/makefiles/pgxs.mk ». Arrêt.

after installing libpq-dev i still get an error :

Makefile:23: /usr/lib/postgresql/9.6/lib/pgxs/src/makefiles/pgxs.mk: Aucun fichier ou dossier de ce type make: *** Aucune règle pour fabriquer la cible « /usr/lib/postgresql/9.6/lib/pgxs/src/makefiles/pgxs.mk ». Arrêt.

my data directory is /var/lib/PostgreSQL/9.6/main my conf file is in /etc/ostgresql/9.6/main/

extension files are in /home/pgsqlextensions/

i guess i forgot an options with the "make" command. someone got an idea to my problem ?

Thanks. Maxime Bourget-Mauger.