[GNC-dev] Preferences for Accounting Period start-date and end-date lost on 4.9 Install

john jralls at ceridwen.us
Fri Jan 14 13:02:58 EST 2022


Chris,

Geert is right, at least for now, both because of the OpenSP failure and because the latest MSYS2 updates require a new webkit build and I haven't yet done the 64-bit one.

You can't just run the 32-bit build, though, because you've installed the 64-bit dependencies. You could reinstall them by hand but it's much easier to re-run setup-mingw64.ps1 and leave off the -x86_64 $true argument. Note that I haven't tried doing this on an already-built environment. It might not work.

The TARGET environment variable is read by jhbuildrc to decide which branch to build. The default is master, generally not what you want.

Regards,
John Ralls

> On Jan 14, 2022, at 1:11 AM, Geert Janssens <geert.gnucash at kobaltwit.be> wrote:
> 
> Hi Chris,
> 
> I don't think we support building a 64bit version on Windows.
> 
> Can you run your commands in the 32bit mingw64 shell (MSys2 64bit/MSys2 MinGW 32-bit) 
> to at least avoid any additional bugs due to the different environment ?
> 
> Note the name is confusing. MingW64 is the name of the project (to differentiate from an 
> older MingW32 project), but it provides both a 32bit and a 64bit environment for 
> development. So far gnucash has only used the 32bit environment.
> 
> Regards,
> 
> Geert
> 
> Op vrijdag 14 januari 2022 08:01:09 CET schreef Chris Good:
>> Hi Devs,
>> 
>> I'm trying to build gnucash-on-windows so I can find where the "subscribe"
>> error above is coming from.
>> I ran setup-mingw64.ps1 like:
>> E:
>> cd \Data\GnuCash\gcdev64
>> .\setup-mingw64.ps1 -target_dir "e:\\Data\\GnuCash\\gcdev64" -download_dir
>> "e:\\Data\\GnuCash\\gcdev64\\downloads" -x86_64
>> 
>> The setup seems to have worked with the exception of HtmlHelp but I don't
>> need to build the documentation so I've ignored that.
>> 
>> The build is failing when I run in a MSYS2 64Bit / MSYS2 MinGW x64 window
>> (not as admin):
>> (As suggested by
>> https://wiki.gnucash.org/wiki/Building_on_Windows#Running_a_build)
>> 
>> cd /e/Data/GnuCash/gcdev64/src/gnucash-on-windows.git
>> TARGET=gnucash-maint jhbuild -f jhbuildrc build
>> 
>> Please see attached full log.
>> 
>> Note the output from the setup says:
>> 
>> Your build environment is now ready to use. Open an MSys2/mingw64 shell from
>> the start menu, cd to /e/Data/GnuCash/gcdev64, and run
>> jhbuild -f src/gnucash-on-windows.git/jhbuildrc build
>> 
>> Should I be doing that before the above "TARGET=... command or instead of?
>> 
>> Regards, Chris Good
> 
> 
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel



More information about the gnucash-devel mailing list