gnucash, from scratch -- qt3 and aqbanking issues

Marc André Selig mas at seligma.com
Mon Jan 29 10:17:52 PST 2007


On 29.01.2007, at 15:35, Fred Dushin wrote:

> The build fails for me in the install phase of builing qt3.   
> InstallScript.sh, in the qt3 working directory, has the offending  
> line:

> mv /opt/local/var/db/dports/build/ 
> _private_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_d 
> pupdate_dports_x11_qt3/work/destroot/opt/local/lib/*.* /opt/local/ 
> var/db/dports/build/ 
> _private_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_d 
> pupdate_dports_x11_qt3/work/destroot/opt/local/lib/qt3/lib/
[...]
> I can remove/comment this line, and the build proceeds.

I am not really qualified to answer to this.  However, it seems to me  
that your modification to qt3 means that some files are left where  
they don't belong, and are not put where they belong.  Does your  
modified qt3 installation work?

> aqbanking then fails in configure, trying to locate (AFAIK), the qt  
> uic compiler:
>
> configure: *** QT3 is required for QT-frontend "qbanking". Specify  
> --with-frontends="cbanking g2banking" to build aqbanking without  
> that frontend.
> configure: error:
> *** Requirements not fulfilled. Fix your requirements or change the
> *** configuration.
>
> So I modified the aqbanking ports file, and added the above  
> recommended flags, and the build succeeds.

It's not finding qt3 (probably because the damaged qt3 installation  
does not actually work!), and is refusing to build without it, as the  
portfile for aqbanking has --with-frontends="cbanking g2banking  
qbanking".

Your modification (leaving out qbanking from --with-frontends) tells  
it to build without qt3 support, which is unfortunate since GnuCash  
uses the qt3 parts of aqbanking to set up HBCI.  The real solution  
would thus be to find out where the qt3 port hangs, and fix that.

Does your resulting gnucash binary work with HBCI?  Can you set up a  
new HBCI account?  Or even start the wizard?

If it does work, I can see adding an aqbanking variant +without_qt3  
might make sense.

If it does not, or if you don't need HBCI or OFX at all, you might  
make your life easier by building gnucash +without_hbci.

> I see that gnucash has quite a few (recursive) dependencies!

Yep.  Building it from scratch is a stress test for your MacPorts  
installation. ;-)

Regards,
Marc




More information about the macports-users mailing list