[PATCH] Fix PostgreSQL 12.1 server build and install problems under MSYS2

Started by Guram Dukaover 6 years ago5 messageshackers
Jump to latest
#1Guram Duka
guram.duka@gmail.com

Hi hackers.

I made a patch fixing build and install problems under MSYS2, including
llvmjit.

I have tested this in my environment and it works, of course need more
extensive testing.
Attached is a patch that fixes it. Tag REL_12_1.

--
Best regards.
Guram Duka.

Attachments:

postgresql-12.1-msys2-v1.patchapplication/octet-stream; name=postgresql-12.1-msys2-v1.patchDownload+104-47
#2Michael Paquier
michael@paquier.xyz
In reply to: Guram Duka (#1)
Re: [PATCH] Fix PostgreSQL 12.1 server build and install problems under MSYS2

On Wed, Dec 04, 2019 at 10:46:39AM +0300, Guram Duka wrote:

I made a patch fixing build and install problems under MSYS2, including
llvmjit.

I have tested this in my environment and it works, of course need more
extensive testing.
Attached is a patch that fixes it. Tag REL_12_1.

Do you have the same problems if you compile the code from the latest
branch of the master branch?

Could you register this patch to the upcoming commit fest? Here is a
link to it:
https://commitfest.postgresql.org/26/

Thanks,
--
Michael

#3Guram Duka
guram.duka@gmail.com
In reply to: Michael Paquier (#2)
Re: [PATCH] Fix PostgreSQL 12.1 server build and install problems under MSYS2

Master branch got error in configure stage and then compiling like 12.1
branch.

checking how to link an embedded Python application... configure: error:

could not find shared library for Python
You might have to rebuild your Python installation. Refer to the
documentation for details. Use --without-python to disable building
PL/Python.

I registered the patch.

ср, 4 дек. 2019 г. в 11:05, Michael Paquier <michael@paquier.xyz>:

On Wed, Dec 04, 2019 at 10:46:39AM +0300, Guram Duka wrote:

I made a patch fixing build and install problems under MSYS2, including
llvmjit.

I have tested this in my environment and it works, of course need more
extensive testing.
Attached is a patch that fixes it. Tag REL_12_1.

Do you have the same problems if you compile the code from the latest
branch of the master branch?

Could you register this patch to the upcoming commit fest? Here is a
link to it:
https://commitfest.postgresql.org/26/

Thanks,
--
Michael

--
Best regards.
Guram Duka.

#4Peter Eisentraut
peter_e@gmx.net
In reply to: Guram Duka (#3)
Re: [PATCH] Fix PostgreSQL 12.1 server build and install problems under MSYS2

On 2019-12-04 11:32, Guram Duka wrote:

Master branch got error in configure stage and then compiling like 12.1
branch.

checking how to link an embedded Python application... configure:
error: could not find shared library for Python
You might have to rebuild your Python installation.  Refer to the
documentation for details.  Use --without-python to disable building
PL/Python.

I registered the patch.

As explained to you in the previous patch, you need to explain each
change in detail and show the problems you are facing. Other people
have used this platform before and it works for them, so you need to
explain what's different for you, especially considering the extent of
the changes you are proposing.

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

#5Peter Eisentraut
peter_e@gmx.net
In reply to: Peter Eisentraut (#4)
Re: [PATCH] Fix PostgreSQL 12.1 server build and install problems under MSYS2

On 2019-12-31 11:56, Peter Eisentraut wrote:

On 2019-12-04 11:32, Guram Duka wrote:

Master branch got error in configure stage and then compiling like 12.1
branch.

checking how to link an embedded Python application... configure:
error: could not find shared library for Python
You might have to rebuild your Python installation.  Refer to the
documentation for details.  Use --without-python to disable building
PL/Python.

I registered the patch.

As explained to you in the previous patch, you need to explain each
change in detail and show the problems you are facing. Other people
have used this platform before and it works for them, so you need to
explain what's different for you, especially considering the extent of
the changes you are proposing.

I'm setting this patch as rejected in the commit fest.

--
Peter Eisentraut http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services