[GNC-dev] Gnucash built from git doesn't start
geert.gnucash at kobaltwit.be
Wed Oct 23 06:23:45 EDT 2019
Op woensdag 23 oktober 2019 11:56:03 CEST schreef Lothar Paltins:
> Am 23.10.19 um 06:14 schrieb John Ralls:
> > That function does search, using the path set in $GNC_MODULE_PATH, and
> > cmake writes that into <prefix>/etc/gnucash/environment. But if you
> > specify <prefix> to be /opt/... or /usr/... in which case the <prefix>
> > part is dropped and it goes to /etc/opt or just /etc respectively (see
> > https://cmake.org/cmake/help/latest/module/GNUInstallDirs.html). The
> > defect in GnuCash's code is that it doesn't trap that SYSCONFDIR
> > adjustment so it doesn't load the environment file, doesn't set
> > GNC_MODULE_PATH, and so can't find the modules.
> I think there are two issues. The environment file should be installed
> to the directory /etc/opt/gnucash/ and not to /etc/opt/gnucash/gnucash/.
> And gnucash should know, where it's installed and load it from there.
I'm curious, if you move the file to /etc/opt/gnucash, will gnucash then find
More information about the gnucash-devel