Re: Unable to compile postgresql-18.1

From: Ibrahim Shaame <ishaame(at)gmail(dot)com>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Erik Wienhold <ewie(at)ewie(dot)name>, pgsql-admin <pgsql-admin(at)lists(dot)postgresql(dot)org>
Subject: Re: Unable to compile postgresql-18.1
Date: 2026-01-27 14:31:12
Message-ID: CAJOWwD460FCkyXjMbkE6mec46EVifeWFBU=PRnFg8Xkrw1aThQ@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hello there.
Yes it was a problem with my environment. I don't know exactly what caused
the problem. But after reinstall of the system the compilation went well
and the problem is solved.
Thank you everyone for your help
Ibrahim Shaame

On Wed, 21 Jan 2026, 18:56 Tom Lane, <tgl(at)sss(dot)pgh(dot)pa(dot)us> wrote:

> Ibrahim Shaame <ishaame(at)gmail(dot)com> writes:
> > Thank you for the response. As for LIBRARY_PATH, I have always manually
> > compiled postgresql and I don't explicitly mention the LIBRARY_PATH
> > directory. That's why I am surprised why this time with this subversion
> > doesn't work just as it worked in the last version.
>
> There is nothing in that area that we changed between 18.0 and 18.1;
> moreover, if we had broken something like that, it's highly unlikely
> that nobody but you would have noticed. You need to look at what
> changed in your build environment.
>
> gcc seems to be getting confused by the fact that src/test/isolation
> contains a subdirectory named "specs", but that's been there for
> years. The most likely explanation is that some environment variable
> is causing gcc to look in the current directory for its spec file
> (although I don't see any documentation of such a variable in the
> gcc manual). It's also plausible I guess that you have a corrupted
> gcc installation.
>
> regards, tom lane
>

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Laurenz Albe 2026-01-27 17:09:12 Re: autoanalyze did not run
Previous Message Kristjan Mustkivi 2026-01-27 12:10:07 Re: autoanalyze did not run