[GNC] compiling 3.3

John Griessen john at industromatic.com
Sat Nov 17 12:39:55 EST 2018


I'm using hints such as

Do
   sudo rm -rf /usr/local/lib/gnucash
   sudo rm -f /usr/local/lib/libgnc*
clean your build directory and try again.

I get a completion of make ending like this:

Scanning dependencies of target scm-test-load-report-gnome-module
Scanning dependencies of target scm-test-load-report-stylesheets-module
[100%] Generating ../../../../lib/gnucash/scm/ccache/2.0/gnucash/reports/test-load-report-gnome-module.go
[100%] Generating ../../../../lib/gnucash/scm/ccache/2.0/gnucash/report/test-load-report-stylesheets-module.go
wrote `/mosource/build-gnucash-3.3/lib/gnucash/scm/ccache/2.0/gnucash/reports/test-load-report-gnome-module.go'
[100%] Built target scm-test-load-report-gnome-module
wrote `/mosource/build-gnucash-3.3/lib/gnucash/scm/ccache/2.0/gnucash/report/test-load-report-stylesheets-module.go'
[100%] Built target scm-test-load-report-stylesheets-module


sudo make install

ends like:

-- Installing: /usr/local/share/glib-2.0/schemas/org.gnucash.window.pages.account.tree.gschema.xml
-- Installing: /usr/local/share/glib-2.0/schemas/org.gnucash.window.pages.gschema.xml
Compiling gschema files in /usr/local/share/glib-2.0/schemas


Part way through install there is a suspicious message:

-- Set runtime path of "/usr/local/lib/libgwengui-gtk3.so" to "/usr/local/lib:/usr/local/lib/gnucash"

All lines like that have a list of two with colon between.
Should this just be /usr/local/lib/gnucash?  (After running make install, there are libgncmod* files in
/usr/local/lib   and /usr/local/lib/gnucash


Do I need more detail in my cmake command?

Here's how I build in a build dir:
The code is in /mosource/gnucash with the repository set to tag maint
git log shows:
commit 7706fff3c94143f93030db167c5b51f146a09999 (HEAD -> maint, origin/master, master)
Author: John Ralls <jralls at ceridwen.us>
Date:   Sat Sep 29 16:49:35 2018 -0700

cd /mosource

if not done yet,
mkdir /mosource/build-gnucash-3.3
cd /mosource/build-gnucash-3.3
cmake -DCMAKE_INSTALL_PREFIX=/usr/local  ../gnucash

make
make install




More information about the gnucash-user mailing list