Re: Issues while building PG in MS Windows, using MSYS2 and MinGW-w64

From: Andre_Mikulec <Andre_Mikulec(at)Hotmail(dot)com>
To: pgsql-hackers(at)postgresql(dot)org
Subject: Re: Issues while building PG in MS Windows, using MSYS2 and MinGW-w64
Date: 2018-09-03 22:49:11
Message-ID: 1536014951109-0.post@n3.nabble.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)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(at)ANONYMOUST MINGW64 /w/R-3.5._/postgres/build
$ rm -f -r *

AnonymousUser(at)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(at)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

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Andres Freund 2018-09-03 23:13:40 Re: Caching query plan costs
Previous Message Andre_Mikulec 2018-09-03 22:42:45 Re: Issues while building PG in MS Windows, using MSYS2 and MinGW-w64