Building 2.6.19 on Ubuntu Xenial

DaveC49 davidcousens at bigpond.com
Tue Feb 27 00:34:54 EST 2018


Hi Adrien,

See this page (https://wiki.gnucash.org/wiki/Ubuntu) from the website for
installing on Ubuntu. There is also a link at the bottom of the page for
building Gnucash on Ubuntu (https://wiki.gnucash.org/wiki/Building#Ubuntu)
but as you observed it has the dependency list for 2.8.

There is usually a README.dependencies in the source code which will give
you the library versions needed for 2.6.19 and th optional dependencies for
sqlite. The gcc compiler will generally tell you if any packages are
missing. The versions are generally >= the specified version but going to
next major releases can be problematical in some cases (gtk a case in point
as 2.6 is GTK2 based and 2.8 is GTK3 based). 

I usually use the autotools as I am more familiar with that, but did use
CMake to build 2.6.18 without any problems. Main thing to remember is to
specify the prefix to either make or CMake for the installation directory. I
think the default for prefix for ./configure  is /usr/local/bin/gnucash (
this is where ubuntu places the version available within their distribution
- only disadvantage is that the distro version would intsall over the top of
it) and you will need to use sudo make install to install it for all users
in that location. 

(/opt/gnucash is often used for installation if you have a development
version running in addition to a production/distro version - note both will
use same .gnucash in your home directory which might cause some minor
problems).

I'm starting to use Virtual Machines for building and development to avoid
conflicts and confusion between library requirements for different packages
i.e. I am setting up a VM for 2.6 builds and another for 2.8 builds as well
as for other applications I play with. Early days and I'm still sorting out
networking  between the VMs and my host to simplify file transfers.

David



-----
David Cousens
--
Sent from: http://gnucash.1415818.n4.nabble.com/GnuCash-User-f1415819.html


More information about the gnucash-user mailing list