Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vjcbb-001HtP-1f for pgsql-admin@arkaria.postgresql.org; Sat, 24 Jan 2026 12:19:08 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vjcaa-002hQz-2M for pgsql-admin@arkaria.postgresql.org; Sat, 24 Jan 2026 12:18:05 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1vjcaa-002hQl-1D for pgsql-admin@lists.postgresql.org; Sat, 24 Jan 2026 12:18:04 +0000 Received: from 86-93-55-120.fixed.kpn.net ([86.93.55.120] helo=mail2.scred.nl) by makus.postgresql.org with esmtp (Exim 4.96) (envelope-from ) id 1vjcaX-0024Pf-0f for pgsql-admin@lists.postgresql.org; Sat, 24 Jan 2026 12:18:03 +0000 Received: from FIT-LT00204.lan.khronos.nl ([149.11.201.58]) by mail2.scred.nl with ESMTP; Sat, 24 Jan 2026 13:17:55 +0100 Message-ID: <437545deb5676b1fea07fcd2c94cd9b2fc503df6.camel@scred.nl> Subject: Re: Building and installing pg_proctab From: "alexander al (leiden)" To: Pgsql-admin Date: Sat, 24 Jan 2026 13:17:55 +0100 In-Reply-To: References: <74911db1cbeed5636c8f36c565c5d4c9c30342d0.camel@scred.nl> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.52.3-0ubuntu1.1 MIME-Version: 1.0 List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Archived-At: Precedence: bulk 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. > >=20 > > i downloaded it from > >=20 > > https://gitlab.com/pg_proctab/pg_proctab/ > >=20 > > and i tried to make it. > >=20 > > the docs says > >=20 > > make > > make install > > etc. > >=20 > > but when i do make in the root of pg_proctab i get the error > >=20 > > "Makefile:29: /contrib/contrib-global.mk: No such file or directory > > make: *** No rule to make target '/contrib/contrib-global.mk'.=C2=A0 > > Stop." >=20 > Judging by the Makefile logic, I think you need to set USE_PGXS=3D1. > Without that, the Makefile expects the code to be under Postgres' > contrib tree. >=20 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