gnucash, from scratch -- qt3 and aqbanking issues
I had some issues updating gnucash on a macbook (c2d), 10.4.8, so I started from scratch. Unfortunately, I ran into the same issue. (Hurray for macports, "doing the right thing", though!). Running port version 1.320 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_dpu pdate_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_dpu pdate_dports_x11_qt3/work/destroot/opt/local/lib/qt3/lib/ which fails, because the "*.*" pattern does not match in said directory. I can remove/comment this line, and the build proceeds. 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. The rest of the dependencies build, as does gnucash (eventually!). I have no idea if the changes I made are the right ones. Who would I contact to verify? I'm not sure if I have the time to formulate an official patch, as I am not entirely sure which objects I modified are derived objects. Gnucash seems to run, though I have not exactly put it through its paces. I see that gnucash has quite a few (recursive) dependencies! For anyone interested, here is what gets installed from a fresh 1.320 macports install, after issuing port install gnucash:
port installed The following ports are currently installed: aqbanking @2.2.6_0 (active) atk @1.12.4_0 (active) audiofile @0.2.6_0 (active) autoconf @2.60_0 (active) automake @1.10_0 (active) bison @2.3_0 (active) cairo @1.2.6_0 (active) cups-headers @1.1.15_1 (active) dbus @1.0.2_1 (active) dbus-glib @0.72_0 (active) docbook-xml @4.3_0 (active) docbook-xml-412 @4.1.2_0 (active) docbook-xml-scrollkeeper @4.2_0 (active) docbook-xsl @1.69.1_0 (active) esound @0.2.36_0 (active) expat @2.0.0_1 (active) fontconfig @2.4.2_0+macosx (active) freetype @2.1.10_1 (active) g-wrap @1.3.4_3 (active) gail @1.9.2_0 (active) gconf @2.14.0_0 (active) gettext @0.16.1_0 (active) glib1 @1.2.10_5 (active) glib2 @2.12.7_0 (active) gnome-icon-theme @2.16.1_1 (active) gnome-keyring @0.6.0_0 (active) gnome-mime-data @2.4.3_0 (active) gnome-vfs @2.16.3_1 (active) gnucash @2.0.4_0 (active) gnucash-docs @2.0.1_0 (active) goffice @0.2.1_0 (active) gtk2 @2.10.7_0 (active) guile @1.6.8_0+darwin_8 (active) gwenhywfar @2.5.1_0 (active) hicolor-icon-theme @0.9_0 (active) howl @0.9.10_0 (active) icon-naming-utils @0.8.1_0 (active) intltool @0.35.4_0 (active) jpeg @6b_1 (active) ktoblzcheck @1.12_0 (active) libart_lgpl @2.3.17_0 (active) libbonobo @2.16.0_0 (active) libbonoboui @2.16.0_1 (active) libglade2 @2.6.0_1 (active) libgnome @2.16.0_1 (active) libgnomecanvas @2.14.0_1 (active) libgnomecups @0.2.2_0 (active) libgnomeprint @2.12.1_0 (active) libgnomeprintui @2.12.1_0 (active) libgnomeui @2.16.1_0 (active) libgsf @1.14.3_1 (active) libgtkhtml @2.11.0_0 (active) libgtkhtml3 @3.12.2_0 (active) libiconv @1.11_4+darwin_8 (active) libidl @0.8.7_0 (active) libpng @1.2.15_0+darwin_8 (active) libtool @1.5.22_0 (active) libxml2 @2.6.27_0 (active) libxslt @1.1.15_0 (active) m4 @1.4.4_0 (active) neon @0.26.2_1 (active) openssl @0.9.8d_0+darwin_8 (active) orbit2 @2.14.3_0 (active) p5-compress-raw-zlib @2.003_0 (active) p5-compress-zlib @2.003_0 (active) p5-crypt-ssleay @0.53_0 (active) p5-datemanip @5.44_0 (active) p5-finance-quote @1.13_0 (active) p5-html-parser @3.56_0 (active) p5-html-tableextract @2.10_0 (active) p5-html-tagset @3.10_0 (active) p5-io-compress-base @2.003_0 (active) p5-io-compress-zlib @2.003_0 (active) p5-libwww-perl @5.805_0 (active) p5-uri @1.35_0 (active) p5-xml-namespacesupport @1.09_0 (active) p5-xml-parser @2.34_3 (active) p5-xml-simple @2.16_0 (active) pango @1.14.9_0 (active) perl5.8 @5.8.8_0+darwin_8 (active) pkgconfig @0.21_0 (active) popt @1.10.4_2 (active) qt3 @3.3.7_0+darwin_8 (active) readline @5.1.004_0 (active) render @0.9_0 (active) scrollkeeper @0.3.14_3 (active) slib @3a3_0 (active) slib-guile @1.0_1 (active) tiff @3.8.2_0+darwin_8 (active) Xft2 @2.1.7_0 (active) xrender @0.9.0_0+darwin_8 (active) yelp @2.6.5_0 (active) zlib @1.2.3_0 (active)
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
On Jan 29, 2007, at 08:35, Fred Dushin wrote:
The rest of the dependencies build, as does gnucash (eventually!). I have no idea if the changes I made are the right ones. Who would I contact to verify? I'm not sure if I have the time to formulate an official patch, as I am not entirely sure which objects I modified are derived objects.
You would usually contact the maintainer(s) of the port(s) that don't work right. If there is no maintainer listed, then you contact this mailing list.
I see that gnucash has quite a few (recursive) dependencies! For anyone interested, here is what gets installed from a fresh 1.320 macports install, after issuing port install gnucash:
How could there be recursive dependencies? If there were, how would that ever work? What specific recursive dependencies did you note?
participants (3)
-
Fred Dushin
-
Marc André Selig
-
Ryan Schmidt