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