2.7.8 fails to find environment file

lj lj308 at pobox.com
Sun Apr 1 21:03:31 EDT 2018


Using: gnucash-2.7.8(unstable) on 32-bit Slackware Linux 14.2

I built gnucash-2.7.8 (unstable) to be installed at /opt/gnucash. I used
a cmake line that included:
   -D CMAKE_INSTALL_PREFIX=/opt/gnucash

After build and install, gnucash would not start. First error was unable to
find schemas, which I worked around by setting XDG_DATA_DIRS. Then it
failed on unable to find modules.

It turned out that "make install" created the environment file here:
     (1) /etc/opt/gnucash/gnucash/environment
But using strace I saw Gnucash was looking for it here:
     (2) /opt/gnucash/etc/gnucash/environment

I copy the file from (1) to (2) and then it works.

(Should I write this up at bugzilla.gnome.org ?)



More information about the gnucash-user mailing list