<div dir="ltr"><div>Russ,</div><div><br></div><div>From what I remember the test condition in the script finds the default Windows html dll file. The script is supposed to download and install the html workshop but that does not exist in the location specified. If you look at the script there is an alternative location using an archive but when I tried it in the script it only downloaded part of the file so I think I just manually downloaded from there and did a manual install. I think on install it said there was a version already installed, do you want to continue and I just said yes.</div><div><br></div><div>Regards,</div><div>Robert</div></div><br><div class="gmail_quote gmail_quote_container"><div dir="ltr" class="gmail_attr">On Sat, 29 Mar 2025 at 13:15, <<a href="mailto:russ.gorby@gmail.com">russ.gorby@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 class="msg-1615712389026539525"><div lang="EN-US" style="overflow-wrap: break-word;"><div class="m_-1615712389026539525WordSection1"><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif">Thank you Robert! I’ve integrated your changes from your repo and that solved the issues I was struggling with on the Windows build.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif">My py build script can now clean, configure, build, and package correctly. Thank you!<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif">Now I just need to test the package I built LOL<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif">Oh, and resolve the HTML Help workshop issue I have – it seems there is some stub or something for v1.4 already present on Windows 10 which prevents v1.3 from being installed. How did you workaraound that?<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif">Thanks again!<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p><p class="MsoNormal"><span style="font-size:11pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p><div style="border-width:1pt medium medium;border-style:solid none none;border-color:rgb(225,225,225) currentcolor currentcolor;padding:3pt 0in 0in"><p class="MsoNormal"><b><span style="font-size:11pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11pt;font-family:"Calibri",sans-serif"> gnucash-devel <gnucash-devel-bounces+russ.gorby=<a href="mailto:gmail.com@gnucash.org" target="_blank">gmail.com@gnucash.org</a>> <b>On Behalf Of </b>Robert Fewell<br><b>Sent:</b> Wednesday, March 26, 2025 6:03 AM<br><b>To:</b> gnucash-devel <<a href="mailto:gnucash-devel@gnucash.org" target="_blank">gnucash-devel@gnucash.org</a>><br><b>Subject:</b> Re: GnuCash Windows Build Help<u></u><u></u></span></p></div><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal">I have fixed the two issues I had and have updated my changes here...<u></u><u></u></p></div><div><p class="MsoNormal"><a href="https://github.com/Bob-IT/gnucash-on-windows/tree/changes" target="_blank">https://github.com/Bob-IT/gnucash-on-windows/tree/changes</a><u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">If you want to try it before it is possibly uploaded then do the following...<u></u><u></u></p></div><div><p class="MsoNormal">Grab setup-mingw64.ps1 from my changes branch and add a 'pause' statement between lines 392 and 393<u></u><u></u></p></div><div><p class="MsoNormal">Run the script and when you get to the pause, get the other files I have updated and replace the ones installed in 'gnucash-on-windows.git'<u></u><u></u></p></div><div><p class="MsoNormal">Press enter to continue the script and when finished you should have a valid Msys2 build environment.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Now just follow the rest of the instructions on building Gnucash and hopefully it will work.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">This environment is set up to work with 'webkitgtk3-2.4.11-999.51' version and when tested, reports could be opened along with charts.<u></u><u></u></p></div><div><p class="MsoNormal">I did try the 'webkitgtk3-2.4.11-999.6' version which seemed to work in this environment but charts fail so maybe I have missed a dependency.<u></u><u></u></p></div><div><p class="MsoNormal">There is one more version, 'webkitgtk3-2.4.11-999.7' but the file size is way bigger than previous versions so not sure if it is correct.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Regards,<u></u><u></u></p></div><div><p class="MsoNormal">Robert<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div></div><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal">On Mon, 24 Mar 2025 at 10:32, Robert Fewell <<a href="mailto:14ubobit@gmail.com" target="_blank">14ubobit@gmail.com</a>> wrote:<u></u><u></u></p></div><blockquote style="border-width:medium medium medium 1pt;border-style:none none none solid;border-color:currentcolor currentcolor currentcolor rgb(204,204,204);padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in"><div><div><p class="MsoNormal">I have managed to get a build and install for a current version of the Msys2 install but have two problems to fix.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">The first is "OpenSP" does not build, fails on the PO directory I think.<u></u><u></u></p></div><div><p class="MsoNormal">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.<u></u><u></u></p></div><div><p class="MsoNormal">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.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">My changes are here, <a href="https://github.com/Bob-IT/gnucash-on-windows/tree/changes" target="_blank">https://github.com/Bob-IT/gnucash-on-windows/tree/changes</a><u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">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.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">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]<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">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.<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Regards,<u></u><u></u></p></div><div><p class="MsoNormal">Robert<u></u><u></u></p></div><div><p class="MsoNormal"> <u></u><u></u></p></div></div><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal">On Thu, 20 Mar 2025 at 21:41, flywire <<a href="mailto:flywire0@gmail.com" target="_blank">flywire0@gmail.com</a>> wrote:<u></u><u></u></p></div><blockquote style="border-width:medium medium medium 1pt;border-style:none none none solid;border-color:currentcolor currentcolor currentcolor rgb(204,204,204);padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in"><div><div><div><div><p class="MsoNormal"><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> <u></u><u></u></p></div><blockquote style="border-width:medium medium medium 1pt;border-style:none none none solid;border-color:currentcolor currentcolor currentcolor rgb(204,204,204);padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in"><p class="MsoNormal">Starting with GnuCash version 2.4 you can write Python scripts to manipulate your financial data.<u></u><u></u></p></blockquote><blockquote style="border-width:medium medium medium 1pt;border-style:none none none solid;border-color:currentcolor currentcolor currentcolor rgb(204,204,204);padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in"><p class="MsoNormal"> <u></u><u></u></p></blockquote><blockquote style="border-width:medium medium medium 1pt;border-style:none none none solid;border-color:currentcolor currentcolor currentcolor rgb(204,204,204);padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in"><p class="MsoNormal"> 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<u></u><u></u></p></blockquote><div><p class="MsoNormal">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.)<u></u><u></u></p></div><div><p class="MsoNormal"><u></u> <u></u></p></div><div><p class="MsoNormal">Regards<u></u><u></u></p></div><p class="MsoNormal"><u></u> <u></u></p><div><div><p class="MsoNormal">On Wed, 19 Mar 2025 at 14:00, John Ralls <<a href="mailto:jralls@ceridwen.us" target="_blank">jralls@ceridwen.us</a>> wrote:<u></u><u></u></p></div><blockquote style="border-width:medium medium medium 1pt;border-style:none none none solid;border-color:currentcolor currentcolor currentcolor rgb(204,204,204);padding:0in 0in 0in 6pt;margin-left:4.8pt;margin-right:0in"><div><div><p class="MsoNormal">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.<u></u><u></u></p></div></div></blockquote></div></div></div></div><p class="MsoNormal">_______________________________________________<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" target="_blank">https://lists.gnucash.org/mailman/listinfo/gnucash-devel</a><u></u><u></u></p></blockquote></div></blockquote></div></div></div></div></blockquote></div>