Re: Can't compile PG 17 (master) from git under Msys2 autoconf - Mailing list pgsql-hackers

From Alvaro Herrera
Subject Re: Can't compile PG 17 (master) from git under Msys2 autoconf
Date
Msg-id 202404031752.tdclvfwpouuy@alvherre.pgsql
Whole thread Raw
In response to [MASSMAIL]Can't compile PG 17 (master) from git under Msys2 autoconf  ("Regina Obe" <lr@pcorp.us>)
Responses RE: Can't compile PG 17 (master) from git under Msys2 autoconf
RE: Can't compile PG 17 (master) from git under Msys2 autoconf
List pgsql-hackers
Hi Regina,

On 2024-Mar-27, Regina Obe wrote:

> The error is 
> 
> rm -f '../../src/include/storage/lwlocknames.h'
> cp -pR ../../backend/storage/lmgr/lwlocknames.h
> '../../src/include/storage/lwlocknames.h'
> cp: cannot stat '../../backend/storage/lmgr/lwlocknames.h': No such file or
> directory
> make[1]: *** [Makefile:143: ../../src/include/storage/lwlocknames.h] Error 1
> make[1]: Leaving directory '/projects/postgresql/postgresql-git/src/backend'
> make: *** [../../src/Makefile.global:382: submake-generated-headers] Error 2

Hmm, I changed these rules again in commit da952b415f44, maybe your
problem is with that one?  I wonder if changing the references to
../include/storage/lwlocklist.h to
$(topdir)/src/include/storage/lwlocklist.h (and similar things in
src/backend/storage/lmgr/Makefile) would fix it.

Do you run configure in the source directory or a separate build one?

-- 
Álvaro Herrera        Breisgau, Deutschland  —  https://www.EnterpriseDB.com/
"If it is not right, do not do it.
If it is not true, do not say it." (Marcus Aurelius, Meditations)



pgsql-hackers by date:

Previous
From: Nathan Bossart
Date:
Subject: Re: Popcount optimization using AVX512
Next
From: Jacob Champion
Date:
Subject: Re: Cutting support for OpenSSL 1.0.1 and 1.0.2 in 17~?