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

2018-09-03 Thread Andre_Mikulec
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 follo

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

2018-09-03 Thread Andre_Mikulec
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 $

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

2018-05-03 Thread Pavlo Golub
Hello, insaf.k. You wrote: ik> Hello, ik> I am trying to build PG from source, in MS Windows using MSYS2 ik> and MinGW-w64. I've tried to build PG 10.0 as wells as 10.3. Just checked. All compiled in a sane way. I suppose you have some environmental problems. This is my step-by-step guide:

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

2018-05-02 Thread Alexander Lakhin
"insaf.k" wrote: I am trying to build PG from source, in MS Windows using MSYS2 and MinGW-w64. I've tried to build PG 10.0 as wells as 10.3. I've done configuring like this ./configure --prefix="/d/pg10/" And when I do "make" or "make world", I'm getting compilation error. I've attached comple

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

2018-04-30 Thread Yuriy Zhuravlev
If you have time, can you check CMake version? https://github.com/stalkerg/postgres_cmake During Mingw installation you can choose a version, it can be more MSVC like or more Unix, probably Postgres have a problem with one of mingw type. So I unpacked the source tarball within the shell itself(u

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

2018-04-30 Thread Andrew Dunstan
On 04/30/2018 02:59 PM, Tom Lane wrote: > "insaf.k" writes: >> gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement >> -Wendif-labels -Wmissing-format-attribute -Wformat-security >> -fno-strict-aliasing -fwrapv -fexcess-precision=standard -g -std=c11 >> -I../../src/por

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

2018-04-30 Thread Tom Lane
"insaf.k" writes: > gcc -Wall -Wmissing-prototypes -Wpointer-arith -Wdeclaration-after-statement > -Wendif-labels -Wmissing-format-attribute -Wformat-security > -fno-strict-aliasing -fwrapv -fexcess-precision=standard -g -std=c11 > -I../../src/port -DFRONTEND -I../../src/include -I./src/includ

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

2018-04-30 Thread insaf.k
Hi Tom Lane, Thanks for the help. I had extracted PG using WinZip outside of MSYS2, and it was causing many of the errors, may be due to some errors in file attributes. So I unpacked the source tarball within the shell itself(using gunzip and tar), and I could fix many errors. Now ne

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

2018-04-27 Thread legrand legrand
Hello, as a complement: I used MSYS2 and MinGW-w64 to build version 11devel from https://www.postgresql.org/ftp/snapshot/dev/ on my win 7 64 bit desktop. What I remember is that I found good advices in https://www.postgresql.org/docs/current/static/installation-platform-notes.html#INSTALLATION-

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

2018-04-27 Thread Tom Lane
"insaf.k" writes: > I am trying to build PG from source, in MS Windows using MSYS2 and MinGW-w64. > I've tried to build PG 10.0 as wells as 10.3. > I've done configuring like this > ./configure --prefix="/d/pg10/" > And when I do "make" or "make world", I'm getting compilation error. I've