From: | Andrew Dunstan <andrew(at)dunslane(dot)net> |
---|---|
To: | Melih Mutlu <m(dot)melihmutlu(at)gmail(dot)com>, Andres Freund <andres(at)anarazel(dot)de> |
Cc: | pgsql-hackers(at)postgresql(dot)org |
Subject: | Re: Mingw task for Cirrus CI |
Date: | 2022-03-03 12:52:27 |
Message-ID: | 27b5eda4-57d6-2428-275b-20e5b4acb380@dunslane.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
On 3/3/22 05:16, Melih Mutlu wrote:
> Hi Andres,
>
>
> This presumably is due to using mingw's python rather than
> python.org <http://python.org>'s
> python. Seems like a reasonable thing to support for the mingw build.
>
> Melih, you could try to build against the python.org
> <http://python.org> python (i installed in
> the CI container).
>
>
> I tried to use the installed python from python.org
> <http://python.org> in the container.
> The problem with this is that "LIBDIR" and "LDLIBRARY" configs of
> python for windows from python.org <http://python.org> are empty.
> Therefore python_libdir or other related variables in configure file
> are not set correctly.
Yeah, here's what it has:
# python -c "import sysconfig; import pprint; pp =
pprint.PrettyPrinter(); pp.pprint(sysconfig.get_config_vars())"
{'BINDIR': 'C:\\prog\\python310',
'BINLIBDEST': 'C:\\prog\\python310\\Lib',
'EXE': '.exe',
'EXT_SUFFIX': '.cp310-win_amd64.pyd',
'INCLUDEPY': 'C:\\prog\\python310\\Include',
'LIBDEST': 'C:\\prog\\python310\\Lib',
'SO': '.cp310-win_amd64.pyd',
'TZPATH': '',
'VERSION': '310',
'abiflags': '',
'base': 'C:\\prog\\python310',
'exec_prefix': 'C:\\prog\\python310',
'installed_base': 'C:\\prog\\python310',
'installed_platbase': 'C:\\prog\\python310',
'platbase': 'C:\\prog\\python310',
'platlibdir': 'lib',
'prefix': 'C:\\prog\\python310',
'projectbase': 'C:\\prog\\python310',
'py_version': '3.10.2',
'py_version_nodot': '310',
'py_version_nodot_plat': '310',
'py_version_short': '3.10',
'srcdir': 'C:\\prog\\python310',
'userbase': 'C:\\Users\\Administrator\\AppData\\Roaming\\Python'}
The DLL lives in the BINDIR, so maybe I guess we should search there if
we can't get the other things.
cheers
andrew
--
Andrew Dunstan
EDB: https://www.enterprisedb.com
From | Date | Subject | |
---|---|---|---|
Next Message | Aleksander Alekseev | 2022-03-03 13:00:06 | Re: Problem with moderation of messages with patched attached. |
Previous Message | Daniel Gustafsson | 2022-03-03 12:50:44 | Re: Commitfest 2022-03 Patch Triage Part 1a.i |