Compiling GnuCash on Windows

Christian Stimming stimming at tuhh.de
Thu Nov 2 12:28:56 EST 2006


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

For me on win2000/SP4 with r15078 and the updated gnome packages
according to the recent commits in custom.sh, I get these:

>> - Creating a new file (with default account hierarchy)

Works for me just fine. The account hierarchy druid comes up and gives
all the locale=C choices that are shipped with gnucash.

>> - Creating more accounts in that file

Works.

>> - Adding transactions to these accounts

Works.

>> - running reports, particularly "account summary", "income statement", 
>> "balance sheet"

Doesn't work. I tried to run gnucash under gdb,
http://wiki.gnucash.org/wiki/Windows#gdb , and surprisingly enough then
it works! All of the text reports will simply work when running under
gdb... sigh.

>>- Saving to file

Works just fine as well, probably due to the recent gtk upgrade.

>>> Also, in the command prompt window is the following:
>>>
>>> gnucash: [E] "Failed to fork child process."
>> This is probably because gnucash tries to save the file in compressed form, 
>> which requires a separate gzip process that won't work on windows. In short, 
>> in the preferences please uncheck the checkbox under General -> File -> 
>> Compress file. Does saving work, then?
> 
> I wonder if we should just disable this feature on win32?

The feature is already disabled on windows, see io-gncxml-v2.c:1243. I
tried to find the place that's causing this "failed to fork" message,
but apparently it doesn't come from within gnucash. At least we don't
have that string anywhere, and the only fork() that gnucash uses is in
io-gncxml-v2.c which is unused on windows. So I have no idea where this
comes from, and I'd simply ignore it for now.

Christian
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iQCUAwUBRUoq2GXAi+BfhivFAQJp2gP4j7hgq6uSk5MZ79RXe3oRp0die6PKdpah
GaFYxStJqCEdTNbSdMQmh1Or/W4zaK7l/h9tJ71CWMErwcmg+CcVGe91K6x032ZY
4hK8ZuP7viFSm7YekEyFlwbMbSm5bSc3eG+ReB8l4EPQ44tBWFmdFfJspe3iaD4h
BgDpzKJatw==
=sFD8
-----END PGP SIGNATURE-----


More information about the gnucash-devel mailing list