"alexander al (leiden)" <alexander@scred.nl> writes:
> On Tue, 2026-01-20 at 11:28 +0100, Erik Wienhold wrote:
>> Judging by the Makefile logic, I think you need to set USE_PGXS=1.
> 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 ;)
If you normally get Postgres via a packaging system: most distros
offer an add-on package that includes our .h files and other stuff
needed to compile dependent code, typically named something like
postgresql-dev or postgresql-devel. Installing that would've saved
you some effort.
regards, tom lane