Does anyone know how to obtain these packages for 32-bit (mingw32)?

As far as I can tell, only their 64-bit (mingw64) counterparts are available on 
packages.msys2.org.
But they must have been available for 32-bit at some point in time, right?

I'm not familiar enough with the MSYS2 package system to understand why they 
are no longer available.

mingw-w64-i686-libmariadbclient-3.1.13-1-any.pkg.tar.zst
mingw-w64-i686-postgresql-16.1-1-any.pkg.tar.zst
mingw-w64-i686-xmlsec-1.2.39-1-any.pkg.tar.zst

Thanks,
Kevin



________________________________
From: Robert Fewell <14ubo...@gmail.com>
Sent: Thursday, November 7, 2024 3:17 PM
To: Kevin Sanders <kbsand...@hotmail.com>
Cc: GnuCash Development <gnucash-devel@gnucash.org>
Subject: Re: GnuCash Windows Build Help

Kevin,

You may find my earlier post of use in building on windows, hopefully I will 
get round to creating a PR to update procedure, see link below...
https://lists.gnucash.org/pipermail/gnucash-devel/2024-September/046961.html

Regards,
Bob


On Thu, 7 Nov 2024 at 19:00, Kevin Sanders 
<kbsand...@hotmail.com<mailto:kbsand...@hotmail.com>> wrote:
Thanks John, I have joined the mailing list as suggested.

I installed the recommended distutils extra package and it completed 
successfully but the error remains.

Do you know what controls the version of python MinGW32 is using? Latest stable 
or something like that?
The word "python" appears only once in the PowerShell setup script and is sans 
version.

Perhaps this could be a PATH or environment issue where installed modules 
cannot be resolved?

Console Output:

Kevin@Kevin-PC MINGW32 /c/gcdev64/src/gnucash-on-windows.git
$ pacman -S mingw-w64-i686-python-distutils-extra
resolving dependencies...
looking for conflicting packages...

Packages (1) mingw-w64-i686-python-distutils-extra-2.39-4

Total Download Size:   0.04 MiB
Total Installed Size:  0.11 MiB

:: Proceed with installation? [Y/n] y
:: Retrieving packages...
 mingw-w64-i686-python-dist...    36.5 KiB  39.1 KiB/s 00:01 
[###############################] 100%
(1/1) checking keys in keyring                               
[###############################] 100%
(1/1) checking package integrity                             
[###############################] 100%
(1/1) loading package files                                  
[###############################] 100%
(1/1) checking for file conflicts                            
[###############################] 100%
(1/1) checking available disk space                          
[###############################] 100%
:: Processing package changes...
(1/1) installing mingw-w64-i686-python-distutils-extra       
[###############################] 100%

Kevin@Kevin-PC MINGW32 /c/gcdev64/src/gnucash-on-windows.git
$ TARGET=gnucash-stable jhbuild -f jhbuildrc build
Traceback (most recent call last):
  File "/usr/bin/jhbuild", line 22, in <module>
    import jhbuild.main
  File "/c/gcdev64/src/jhbuild.git/jhbuild/main.py", line 26, in <module>
    import jhbuild.config
  File "/c/gcdev64/src/jhbuild.git/jhbuild/config.py", line 31, in <module>
    from jhbuild.environment import setup_env, setup_env_defaults, addpath
  File "/c/gcdev64/src/jhbuild.git/jhbuild/environment.py", line 24, in <module>
    from distutils.sysconfig import get_python_lib
ModuleNotFoundError: No module named 'distutils'

________________________________
From: John Ralls <jra...@ceridwen.us<mailto:jra...@ceridwen.us>>
Sent: Thursday, November 7, 2024 12:24 PM
To: Kevin Sanders <kbsand...@hotmail.com<mailto:kbsand...@hotmail.com>>
Cc: GnuCash Development 
<gnucash-devel@gnucash.org<mailto:gnucash-devel@gnucash.org>>
Subject: Re: GnuCash Windows Build Help

Kevin,

Welcome to GnuCash. Please don’t contact the developers directly; always use 
one of the mailing lists (https://wiki.gnucash.org/wiki/Mailing_Lists). You can 
pick whether user or devel is appropriate for a particular conversation, the 
developers monitor both. For this conversation I’ve picked devel and cc’d it 
for your convenience. You’ll need to subscribe to it to reply.

That sounds like a Mingw64 problem, as Python officially didn’t remove 
distutils until 3.12.  OTOH distutils has been deprecated for years and the 
jhbuild maintainers have been ignoring the problem. They still are: 
https://gitlab.gnome.org/GNOME/jhbuild/-/issues/291. Anyway, it looks like 
Mingw64 has provided a workaround called ming-w64-python-distutils-extra 
(https://github.com/msys2/MINGW-packages/tree/master/mingw-w64-python-distutils-extra).
 You can install it from a Mingw32 terminal window by saying

  pacman -S mingw-w64-i686-python-distutils-extra

Regards,
John Ralls


On Nov 7, 2024, at 08:47, Kevin Sanders 
<kbsand...@hotmail.com<mailto:kbsand...@hotmail.com>> wrote:

Hi John, my name is Kevin Sanders.

I'm a new user of GnuCash and I'm trying to get setup to do some development 
work with GnuCash on Windows.

I'm sorry to bother you but I've run into an issue that I'm not sure how to 
resolve.

I have ran the setup-mingw.ps1 PowerShell script.
I have launched a MSYS2 MingGW 32-bit terminal window and cd into the 
repository directory.
I run jhbuild and it fails with ModuleNotFoundError: No module named 
'distutils'.

I believe this to be a python issue, but I'm not really sure.
Python version is showing as 3.11.10.

Any help would be greatly appreciated.

-Kevin

Console Output:

Kevin@Kevin-PC MINGW32 /c/gcdev64/src/gnucash-on-windows.git
$ TARGET=gnucash-stable jhbuild -f jhbuildrc build
Traceback (most recent call last):
  File "/usr/bin/jhbuild", line 22, in <module>
    import jhbuild.main
  File "/c/gcdev64/src/jhbuild.git/jhbuild/main.py", line 26, in <module>
    import jhbuild.config
  File "/c/gcdev64/src/jhbuild.git/jhbuild/config.py", line 31, in <module>
    from jhbuild.environment import setup_env, setup_env_defaults, addpath
  File "/c/gcdev64/src/jhbuild.git/jhbuild/environment.py", line 24, in <module>
    from distutils.sysconfig import get_python_lib
ModuleNotFoundError: No module named 'distutils'

Kevin@Kevin-PC MINGW32 /c/gcdev64/src/gnucash-on-windows.git
$ python --version
Python 3.11.10

_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org<mailto:gnucash-devel@gnucash.org>
https://lists.gnucash.org/mailman/listinfo/gnucash-devel
_______________________________________________
gnucash-devel mailing list
gnucash-devel@gnucash.org
https://lists.gnucash.org/mailman/listinfo/gnucash-devel

Reply via email to