Re: Building and installing pg_proctab - Mailing list pgsql-admin

From alexander al (leiden)
Subject Re: Building and installing pg_proctab
Date
Msg-id 437545deb5676b1fea07fcd2c94cd9b2fc503df6.camel@scred.nl
Whole thread Raw
In response to Re: Building and installing pg_proctab  (Erik Wienhold <ewie@ewie.name>)
Responses Re: Building and installing pg_proctab
List pgsql-admin
On Tue, 2026-01-20 at 11:28 +0100, Erik Wienhold wrote:
> On 2026-01-20 11:01 +0100, alexander al (leiden) wrote:
> > picture:
> > i've got ubuntu 24.04 with postgresql 18 on it. Now I want to
> > install
> > pg_proctab on it for monitoring reasons.
> >
> > i downloaded it from
> >
> > https://gitlab.com/pg_proctab/pg_proctab/
> >
> > and i tried to make it.
> >
> > the docs says
> >
> > make
> > make install
> > etc.
> >
> > but when i do make in the root of pg_proctab i get the error
> >
> > "Makefile:29: /contrib/contrib-global.mk: No such file or directory
> > make: *** No rule to make target '/contrib/contrib-global.mk'. 
> > Stop."
>
> Judging by the Makefile logic, I think you need to set USE_PGXS=1.
> Without that, the Makefile expects the code to be under Postgres'
> contrib tree.
>

Yes, that was true, but than you have to feed the .h files, and those
are only available when you compile postgresql itself. So I pulled
postgresql 18.1 source, installed too much packages and compiled PG.
After this I could compile pg_proctab. Oh well, lessons learned ;)

regards,

alexander



pgsql-admin by date:

Previous
From: Ibrahim Shaame
Date:
Subject: Re: Unable to compile postgresql-18.1
Next
From: Tom Lane
Date:
Subject: Re: Building and installing pg_proctab