[GNC-dev] Failed to build GnuCash on Windows
Chris Good
goodchris96 at gmail.com
Thu Jan 20 19:19:16 EST 2022
-----Original Message-----
From: Chris Good <goodchris96 at gmail.com>
Sent: Monday, 17 January 2022 7:08 PM
To: 'Explorare' <explorare at outlook.com>
Cc: gnucash-devel at gnucash.org
Subject: RE: [GNC-dev] Failed to build GnuCash on Windows
-----Original Message-----
From: Explorare <explorare at outlook.com>
Sent: Monday, 17 January 2022 6:46 PM
To: Chris Good <goodchris96 at gmail.com>
Cc: gnucash-devel at gnucash.org
Subject: Re: [GNC-dev] Failed to build GnuCash on Windows
Hi Chris,
I don't have much time to spend on this issue and only uses the reserved "XTS" to record USDT transactions.
I always uses USDT as a bridge between the other crypto currencies and legal tender. In this way the only exchange rate I need to update is USDT (XTS), and I also need to transfer the current net worth of all crypto currencies into USDT and record it as a gain or loss. I treat it as a whole. And more detailed transaction and analysis can be generated by whatever crypto exchange app you are using.
Adding all those crypto currencies requires a source to fetch current price, which is another bigger issue. And the price of thoes currencies change so dramatically which makes it harded to get a overview of net worth of those.
GL;HF
explorare
On 1/16/2022 4:56 PM, Chris Good wrote:
> Hi Explorare,
>
> Re thread
>
> https://www.mail-archive.com/gnucash-devel@gnucash.org/msg42675.html
> <https://www.mail-archive.com/gnucash-devel@gnucash.org/msg42675.html>
>
> Did you ever resolve this?
>
> I’m getting the same error now trying to build 32 Bit Gnucash (maint
> approx. 4.9) on Windows 10.
>
> This is the error:
>
> cd /e/Data/GnuCash/gcdev64/src/gnucash-on-windows.git
> TARGET=gnucash-maint jhbuild -f jhbuildrc build
> ...
>
> make[1]: Leaving directory
> '/e/Data/GnuCash/gcdev64/gnucash/maint/build/OpenSP-1.5.2'
> I: Deleting .la file:
> '/e/Data/GnuCash/gcdev64/gnucash/maint/inst/_jhbuild/root-OpenSP/e/Data/GnuCash/gcdev64/gnucash/maint/inst/lib/libosp.la'
> I: Moving temporary DESTDIR
> '/e/Data/GnuCash/gcdev64/gnucash/maint/inst/_jhbuild/root-OpenSP' into
> build prefix
> Traceback (most recent call last):
> File "/usr/bin/jhbuild", line 23, in <module>
> jhbuild.main.main(sys.argv[1:])
> File "/e/Data/GnuCash/gcdev64/src/jhbuild.git/jhbuild/main.py",
> line 120, in main
> rc = jhbuild.commands.run(command, config, args, help=lambda:
> print_help(parser))
> File
> "/e/Data/GnuCash/gcdev64/src/jhbuild.git/jhbuild/commands/__init__.py"
> ,
> line 188, in run
> return cmd.execute(config, args, help)
> File
> "/e/Data/GnuCash/gcdev64/src/jhbuild.git/jhbuild/commands/__init__.py"
> ,
> line 56, in execute
> return self.run(config, options, args, help)
> File
> "/e/Data/GnuCash/gcdev64/src/jhbuild.git/jhbuild/commands/base.py",
> line 263, in run
> return build.build()
> File
> "/e/Data/GnuCash/gcdev64/src/jhbuild.git/jhbuild/frontends/buildscript
> .py",
> line 172, in build
> error, altphases = module.run_phase(self, phase)
> File
> "/e/Data/GnuCash/gcdev64/src/jhbuild.git/jhbuild/modtypes/__init__.py"
> ,
> line 423, in run_phase
> method(buildscript)
> File
> "/e/Data/GnuCash/gcdev64/src/jhbuild.git/jhbuild/modtypes/autotools.py
> ",
> line 320, in do_install
> self.process_install(buildscript, self.get_revision())
> File
> "/e/Data/GnuCash/gcdev64/src/jhbuild.git/jhbuild/modtypes/__init__.py"
> ,
> line 390, in process_install
> buildscript.moduleset.packagedb.add(self.name, revision or '',
> File
> "/e/Data/GnuCash/gcdev64/src/jhbuild.git/jhbuild/utils/packagedb.py",
> line 176, in add
> pkg.write()
> File
> "/e/Data/GnuCash/gcdev64/src/jhbuild.git/jhbuild/utils/packagedb.py",
> line 79, in write
> writer.fp.write('\n'.join(self.manifest).encode('utf-8',
> 'backslashreplace') + b'\n')
> TypeError: can only join an iterable
>
> Python -V in the MinGW32 shell shows:
> python -V
> Python 3.9.7
>
> Regards,
>
> Chris Good
Hi Explorare,
Thanks for the reply.
I was actually asking about the python error when building with:
writer.fp.write('\n'.join(self.manifest).encode('utf-8',
'backslashreplace') + b'\n')
Regards,
Chris Good
Hi Devs,
Can I get some help with this pls?
I seem to only have python 3.9.7 installed.
Is this relevant? :
E:\Data\GnuCash\gcdev64\src\jhbuild.git\modulesets\bootstrap.modules:
<autotools id="python" autogenargs="--enable-shared" autogen-sh="configure">
<pkg-config>python-2.7.pc</pkg-config>
<branch repo="python" module="${version}/Python-${version}.tar.xz"
version="2.7.14" hash="md5:1f6db41ad91d9eb0a6f0c769b8613c5b"
size="12576112">
<patch file="https://gitlab.gnome.org/GNOME/gtk-osx/raw/master/patches/python2-linkflags.patch" strip="1"/>
</branch>
</autotools>
Setup:
..
Optional dependencies for git
python: various helper scripts [installed]
subversion: git svn
:: Running post-transaction hooks...
(1/1) Updating the info directory file...
resolving dependencies...
looking for conflicting packages...
warning: removing 'mingw-w64-i686-pkg-config' from target list because it conflicts with 'mingw-w64-i686-pkgconf'
..
looking for conflicting packages...
:: autoconf and autoconf-wrapper are in conflict. Remove autoconf-wrapper? [Y/n]
:: pkg-config and pkgconf are in conflict. Remove pkgconf? [Y/n]
Attached are full logs:
First setup:
20220117_1 Setup-mingw64.ps1.txt
Rerun setup after I manually downloaded mingw-w64-i686-webkitgtk3-2.4.11-999.4-any.pkg.tar.zst.sig and put it in
gcdev64\msys2\var\cache\pacman\pkg to fix error: Maximum file size exceeded
(Maybe I should just have rerun setup?)
20220117_2 Setup-ming64.ps1.txt
Build:
20220117_3 BuildWin32GnuCashErr.txt
Regards, Chris Good
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 20220117_1 Setup-mingw64.ps1.txt
URL: <http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20220121/02b3a1be/attachment-0003.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 20220117_2 Setup-ming64.ps1.txt
URL: <http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20220121/02b3a1be/attachment-0004.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 20220117_3 BuildWin32GnuCashErr.txt
URL: <http://lists.gnucash.org/pipermail/gnucash-devel/attachments/20220121/02b3a1be/attachment-0005.txt>
More information about the gnucash-devel
mailing list