Created attachment 370048 [details] Patch to compile without gtk+ nor webkit I am reporting here a bug requeste for an enhancement that I opened in Gentoo's bugzilla https://bugs.gentoo.org/651200 Trying to compile libgnucash without gnucash in a system without gtk+ (in particular no gnome and no webkit-gtk) I ran into errors like so: > make[2]: *** No rule to make target > '/var/tmp/portage/app-office/gnucash-2.7.5-r1/work/ > gnucash-2.7.5/libgnucash/scm/scm-gnome-utils', needed by > 'lib64/gnucash/scm/ccache/2.2/ gnucash/price-quotes.go'. Stop. > But scm-gnome-utils is defined in gnucash/gnome-utils hence it will not be pulled by the build system with -DWITH_GNUCASH=NO. I simply removed the target in libgnucash/scm/CMAkeLists.txt and I managed to get past these errors. After that I managed to compile libgnucash but only after removing the /doc directory because of a missing gnucash.1 file that CMake would complain about. Attached are the changes that I needed in order to compile.
Comment on attachment 370048 [details] Patch to compile without gtk+ nor webkit Comment on attachment 370048 [details] Patch to compile without gtk+ nor webkit Committed with a couple of modifications. Thanks!
This problem has been fixed in our software repository. The fix will go into the next software release. Once that release is available, you may want to check for a software upgrade provided by your Linux distribution.