Hi,
I had this problem.
The solution is to turn off AVG anti-virus.
In the past, I could both compile PostgreSQL and keep 'AVG on' at the same
time.
The case * does not seem that way anymore *
With AVG 'antivirus on' the following occurs.
AnonymousUser@ANONYMOUST MSYS /w/R-3.5._/postgres/build
$ /w/R-3.5._/postgres/configure --host=x86_64-w64-mingw32 --prefix=$PWD
--enable-debug --disable-rpath --enable-depend --without-zlib
$ make
Detect problem ... popup window
...
Detect problem ... popup window
...
Protected you ... create exception
...
'make' then dies on the same errors mentioned above
Then I turn off the internet (for my protection)
Next, I turn off AVG anti-virus.
I do . . .
AnonymousUser@ANONYMOUST MSYS /w/R-3.5._/postgres/build
$ rm -f -r *
AnonymousUser@ANONYMOUST MSYS /w/R-3.5._/postgres/build
$ /w/R-3.5._/postgres/configure --host=x86_64-w64-mingw32 --prefix=$PWD
--enable-debug --disable-rpath --enable-depend --without-zlib
$ make
All of PostgreSQL successfully made.
Ready to install.
AnonymousUser@ANONYMOUST MINGW64 /w/R-3.5._/postgres/build
$ make install
ref
Issues while building PG in MS Windows, using MSYS2 and MinGW-w64
https://www.postgresql-archive.org/Issues-while-building-PG-in-MS-Windows-using-MSYS2-and-MinGW-w64-td6018897.html
--
Sent from: http://www.postgresql-archive.org/PostgreSQL-hackers-f1928748.html