[GNC] v3.8
Tommy Trussell
tommy.trussell at gmail.com
Thu Jan 2 22:24:42 EST 2020
On Tue, Dec 31, 2019 at 12:09 PM boldstripe <michael.nabble at wengam.com>
wrote:
> Someone helpfully placed .deb packages for Gnucash 3.8 here (today):
> http://ftp.us.debian.org/debian/pool/main/g/gnucash/
>
> There are old postings on the mail list that explain how to use these.
>
Just after I saw this message the other day I successfully downloaded and
built the Debian version 3.8b package on Ubuntu Bionic 18.04. I haven't
tested it a lot, but after adjusting for some libraries, it does build,
install, and run without errors. I presume it should build for Ubuntu
derivative distributions, too.
I got the following error on the first try:
dpkg-checkbuilddeps: error: Unmet build dependencies: libaqbanking-dev (>=
5.99.43) libgwengui-gtk3-dev (>= 4.99.24)
SO all I had to do to get the package to build was
1) Created source directory & downloaded packages
$ mkdir ~/src/gnucash
$ cd ~/src/gnucash
$ dget
http://ftp.us.debian.org/debian/pool/main/g/gnucash/gnucash_3.8b-1.dsc
2) Made the usual changes to debian/changelog to indicate a non-maintainer
version for Ubuntu
$ cd gnucash-3.8b/
$ dch --nmu
[Modified the version number to 1:3.8b-1~ubuntu18.04.1 then wrote out the
bullet points for my changes]
3) Changed the compiler flags in debian/rules (because of the older
compiler in Bionic)
$ sed -i 's/export DEB_CXXFLAGS/#export DEB_CXXFLAGS/' debian/rules
4) Changed debian/control lines for the package versions available in
Bionic.
,libaqbanking-dev (>= 5.7.8-1)
,libgwengui-gtk3-dev (>= 4.20.0-1)
5) Built it
$ dpkg-buildpackage
6) Installed it
$ cd ..
$ dpkg -i *.deb *.ddeb
(I presume the Debian package maintainer specified the more recent package
versions to fix particular bugs so I would expect there might be some
subtle issues I haven't encountered yet.)
P.S.: I know the procedure above is too terse for beginners. I hope to put
a more explicit procedure in the wiki soon.
-----
> Please remember to CC this list on all your replies.
> You can do this by using Reply-To-List or Reply-All.
>
More information about the gnucash-user
mailing list