Re: Unable to compile postgresql-18.1 - Mailing list pgsql-admin

From Erik Wienhold
Subject Re: Unable to compile postgresql-18.1
Date
Msg-id 01c5d88c-e7d7-4a52-985c-d9dabc0f670a@ewie.name
Whole thread Raw
In response to Unable to compile postgresql-18.1  (Ibrahim Shaame <ishaame@gmail.com>)
Responses Re: Unable to compile postgresql-18.1
List pgsql-admin
On 2026-01-02 19:23 +0100, Ibrahim Shaame wrote:
> I have tried to compile from source postgresql-18.1 but it fails and I get
> the following error:
> 
> gcc: fatal error: cannot read spec file ‘./specs’: Is a directory
> compilation terminated.
> make[2]: *** [<builtin>: isolationtester.o] Error 1
> make[2]: Leaving directory
> '/data/dwnlds/dwnld_slack/postgresql-18.1/src/test/isolation'
> make[1]: *** [Makefile:42: all-test/isolation-recurse] Error 2
> make[1]: Leaving directory '/data/dwnlds/dwnld_slack/postgresql-18.1/src'
> make: *** [GNUmakefile:11: all-src-recurse] Error 2
> 
> Last compilation of postgresql-18.0 worked perfectly without issue and on
> the same laptop
> Any suggestions?
> 
> I am on : Slackware64 Linux 15.0 (Current)
> Acer E5-771 laptop

What are exact build commands you've executed?

Could be that LIBRARY_PATH contains an empty path.  For example, I can
reproduce it with:

    export LIBRARY_PATH=
    make clean world-bin

-- 
Erik Wienhold



pgsql-admin by date:

Previous
From: Pierre Forstmann
Date:
Subject: Re: Is PgAudit extension database specific?
Next
From: "alexander al (leiden)"
Date:
Subject: Building and installing pg_proctab