Re: Issues while building PG in MS Windows, using MSYS2 andMinGW-w64 - Mailing list pgsql-hackers

From Andre_Mikulec
Subject Re: Issues while building PG in MS Windows, using MSYS2 andMinGW-w64
Date
Msg-id 1536014951109-0.post@n3.nabble.com
Whole thread Raw
In response to Re: Issues while building PG in MS Windows, using MSYS2 andMinGW-w64  (Andre_Mikulec <Andre_Mikulec@Hotmail.com>)
List pgsql-hackers
Reprinted with corrections.  I did everything in "MINGW64" not "MSYS"

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 MINGW64 /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' the 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 MINGW64 /w/R-3.5._/postgres/build
$ rm -f -r *

AnonymousUser@ANONYMOUST MINGW64 /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


pgsql-hackers by date:

Previous
From: Andre_Mikulec
Date:
Subject: Re: Issues while building PG in MS Windows, using MSYS2 andMinGW-w64
Next
From: Andres Freund
Date:
Subject: Re: Caching query plan costs