[GNC-dev] Building 3.5 package for Disco

Stephen M. Butler kg7je at arrl.net
Fri May 3 20:52:51 EDT 2019

On 5/3/19 4:32 PM, John Ralls wrote:
> gnucash-design.info is built only if you have make info installed. I wouldn't bother, the document is severely obsolete. Just find it in your build description and remove it.
> Let's get back to gtest. I looked at gnc_gtest_configure() in common/cmake_modules/GncAddTest.cmake and was reminded that if cmake finds libgtest.a that it will ignore the source directory and use the system libgtest.a.
> The missing symbols are from libgtest.a, so maybe the linker is getting them in the wrong order. Open GncAddTest.cmake in an editor and at line 137 change
> to
> and see if that fixes the error.
> It's been that way for a long time so why it would suddenly matter is strange...
> Regards,
> John Ralls

First, here are the locations of libgtest.a on my system:


1.  Removed ./debian/gnucash-common.info

2.  Made the change noted above on line 137 in

I have a debian package for 3.5 as built in 19.04 (Disco).

sudo apt install ./*3.5*.deb
Reading package lists... Done
Building dependency tree      
Reading state information... Done
Note, selecting 'gnucash' instead of './gnucash_3.5_amd64.deb'
Note, selecting 'gnucash-common' instead of './gnucash-common_3.5_all.deb'
Note, selecting 'python3-gnucash' instead of
gnucash-common is already the newest version (1:3.5).
The following packages were automatically installed and are no longer
  libboost-regex1.65.1 libuser1 python-libuser
Use 'sudo apt autoremove' to remove them.
Suggested packages:
Recommended packages:
The following NEW packages will be installed:
The following packages will be upgraded:
1 upgraded, 1 newly installed, 0 to remove and 3 not upgraded.
Need to get 0 B/4,229 kB of archives.
After this operation, 1,772 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 /home/steve/Projects/GnuCash/gnucash_3.5_amd64.deb gnucash amd64
1:3.5 [3,958 kB]
Get:2 /home/steve/Projects/GnuCash/python3-gnucash_3.5_amd64.deb
python3-gnucash amd64 1:3.5 [271 kB]
(Reading database ... 227873 files and directories currently installed.)
Preparing to unpack .../GnuCash/gnucash_3.5_amd64.deb ...
Unpacking gnucash (1:3.5) over (1:3.5) ...
Selecting previously unselected package python3-gnucash.
Preparing to unpack .../python3-gnucash_3.5_amd64.deb ...
Unpacking python3-gnucash (1:3.5) ...
Setting up python3-gnucash (1:3.5) ...
Setting up gnucash (1:3.5) ...
Processing triggers for mime-support (3.60ubuntu1) ...
Processing triggers for gnome-menus (3.32.0-1ubuntu1) ...
Processing triggers for man-db (2.8.5-2) ...
Processing triggers for desktop-file-utils (0.23-4ubuntu1) ...

It fired up and worked.  Let me push these up to Google Drive and make
them available.

Thanks John.  Could not have done this without your help!


Stephen M Butler, PMP, PSM
Stephen.M.Butler51 at gmail.com
kg7je at arrl.net
GnuPG Fingerprint:  8A25 9726 D439 758D D846 E5D4 282A 5477 0385 81D8

More information about the gnucash-devel mailing list