Comment 3 for bug 227732

Revision history for this message
John Lenz (lenz) wrote :

Ok, so I tried a while back with the hardy beta to compile gnucash with hbci-enable with no luck.

(I should point out that --enable-hbci flag is the name of the gnucash feature for all online banking (OFX, HBCI, etc.). I guess the code was originally written for HBCI, but was later extended to all different kinds of online banking. So I use OFX here in the US, but need --enable-hbci)

In any case, here is an overview of the problem:

1) gnucash uses libaqbanking for online stuff
2) libaqbanking uses libgwenhywfar as an abstraction layer
3) libgwenhywfar used openssl, which wasn't packaged.

So a request went in to the authors of libgwenhywfar to use gnutls instead of openssl.

Problem is, gnutls support was added in gwenhywfar 3.0, which is backwards incompatible.
aqbanking 3.4 is written against gwenhywfar 3.0, but aqbanking 3.4 is backwards incompatible.

So gnucash still uses aqbanking 2.2, so even though gwenhywfar added support for gnutls, gnucash can't use it yet.

So before hardy, it wasn't much of a problem, because all of the versions of these libraries were packaged. So you could download libaqbanking16-dev, enable support for ofx, and recompile the package. Easy using dpkg-buildpackage. For example, see the instructions http://wiki.gnucash.org/wiki/Debian

The problem now with hardy is that the correct version of aqbanking is no longer packaged. gnucash needs libaqbanking16 and libaqbanking16-dev. But those packages were dropped from hardy, and are available only for edgy through gutsy. Thus the gnucash package can not be recompiled.

A while back, I tried a whole lot of things, like installing the packages from gutsy on hardy and putting the packages on hold, downloading the libraries directly and bypassing packages, etc. This had a problem with the wrong versions of libgwen I think. Right now, I have the gnucash package I built on gutsy installed and on hold (is an old version). I never was able to build gnucash (with OFX enabled) on hardy.

I have also considered trying to help upgrade gnucash to use aqbanking 3.4 (then this issue disappears, since aqbanking 3.4 is packaged perfectly in debian and ubuntu now...)
http://wiki.gnucash.org/wiki/AqBanking3_Porting