Compiling -DWITH_GNUCASH=NO

Potuz potuz at potuz.net
Fri Mar 23 07:33:12 EDT 2018


On Mar 23, Geert Janssens wrote:
>Op donderdag 22 maart 2018 21:20:19 WIB schreef Potuz:
>> Hello, I have a number of scripts that parse my .gnucash sqlite dbase and
>> produce reports. I'd like to be able to compile and run those programs in a
>> linux system without gtk+ (in particular no gnome and no webkit-gtk).
>> However when I try to compile with -DWITH_GNUCASH=NO I pick errors since it
>> seems that libgnucash needs scm/price-quotes.scm which in turn needs
>> scm-gnome-utils which seem to be defined under gnucash/gnome-utils/ but
>> that directory won't be included without WITH_GNUCASH. The error I get is
>> simply:
>>
>> 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.
>>
>> How should I build libgnucash without gtk?
>
>Our goal is to make libgnucash independent of gtk. But your experiment shows
>we're not fully there yet...
>
>Can you file this as a bug report ?
>
Done https://bugzilla.gnome.org/show_bug.cgi?id=794617

Also the original Gentoo bug where I posted a working ebuild to compile without gtk: 
https://bugs.gentoo.org/651200

Cheers, 

R. 


>Geert
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.gnucash.org/pipermail/gnucash-user/attachments/20180323/0185cb00/attachment.sig>


More information about the gnucash-user mailing list