<div dir="ltr"><div>I have managed to get a build and install for a current version of the Msys2 install but have two problems to fix.</div><div><br></div><div>The first is "OpenSP" does not build, fails on the PO directory I think.</div><div></div><div>The second is that a patch for "bdw-gc" is not automatically being applied, to get round this I have deliberately misspelt the file name in gnucash.modules which allows me to drop to a shell and apply it manually and then continue.</div><div>To get round the "OpenSP" build failure for testing I copied a working "OpenSP" "src" and "build" directory when the build failed and then just rerun the build phase.</div><div><br></div><div>My changes are here, <a href="https://github.com/Bob-IT/gnucash-on-windows/tree/changes">https://github.com/Bob-IT/gnucash-on-windows/tree/changes</a></div><div><br></div><div>For the "OpenSP" build failure, there must be an updated Msys2 file/environment change but at the moment I can not see it, the following is the failure.</div><div><br></div><div>Making all in generic<br>make[2]: Entering directory '/c/gcdev64/gnucash/stable/build/OpenSP-1.5.2/generic'<br>make[2]: Nothing to be done for 'all'.<br>make[2]: Leaving directory '/c/gcdev64/gnucash/stable/build/OpenSP-1.5.2/generic'<br>Making all in po<br>make[2]: Entering directory '/c/gcdev64/gnucash/stable/build/OpenSP-1.5.2/po'<br>make[2]: *** No rule to make target '/config.status', needed by 'Makefile'.  Stop.<br>make[2]: Leaving directory '/c/gcdev64/gnucash/stable/build/OpenSP-1.5.2/po'<br>make[1]: *** [Makefile:544: all-recursive] Error 1<br>make[1]: Leaving directory '/c/gcdev64/gnucash/stable/build/OpenSP-1.5.2'<br>make: *** [Makefile:428: all] Error 2<br>*** Error during phase build of OpenSP: ########## Error running make -j 13  *** [1/12]</div><div><br></div><div><br></div><div></div><div>For information, I tried doing the complete build on my September 2024 Msys2 setup and it all worked and that was with an updated gnucash-on-windows and jhbuild directory.</div><div><br></div><div></div><div>Regards,</div><div>Robert</div><div> <br></div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Thu, 20 Mar 2025 at 21:41, flywire <<a href="mailto:flywire0@gmail.com">flywire0@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div><a href="https://www.gnucash.org/docs/v5/C/gnucash-guide/ch_python_bindings.html" target="_blank">https://www.gnucash.org/docs/v5/C/gnucash-guide/ch_python_bindings.html</a> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Starting with GnuCash version 2.4 you can write Python scripts to manipulate your financial data.</blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> </blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"> Important<br>The Python extensions are an optional feature which creates additional dependencies. To be able to use Python scripts, GnuCash must have been built with the cmake -DWITH_PYTHON=ON … option enabled, otherwise all what follows won’t work. At present this option is not enabled by default, so if you need this, you may have to compile GnuCash from source yourself. But some distributions offer it also as a separate package with a name like python[version]-GnuCash</blockquote><div>There are GnuCash Windows users who want to use the Python bindings which hasn't really been possible since you removed them from the distribution. Most users just want access to the binaries and don't care how they are created though some (including myself) would like to build them if the process was reasonable. (A GitHub workflow would be terrific.)</div><div><br></div><div>Regards</div><div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 19 Mar 2025 at 14:00, John Ralls <<a href="mailto:jralls@ceridwen.us" target="_blank">jralls@ceridwen.us</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div><div>Have you considered setting up a Linux build environment instead? You can install your distro of choice in the Windows Subsystem for Linux (aka WSL). Many of them have a package manager target similar to Debian/Ubuntu’s `apt build-dep gnucash` that sets up everything you need except a code editor. It’s much less frustrating than the MinGW64 environment.<br></div></div>
</blockquote></div></div>
</div>
</div>
_______________________________________________<br>
gnucash-devel mailing list<br>
<a href="mailto:gnucash-devel@gnucash.org" target="_blank">gnucash-devel@gnucash.org</a><br>
<a href="https://lists.gnucash.org/mailman/listinfo/gnucash-devel" rel="noreferrer" target="_blank">https://lists.gnucash.org/mailman/listinfo/gnucash-devel</a><br>
</blockquote></div>