Has anyone gotten aqbanking to build correctly? I first had configure problems: Error: Target com.apple.configure returned: shell command "cd /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_aqbanking/work/aqbanking-2.2.0 && autoconf" returned error 1 Command output: configure.ac:699: error: possibly undefined macro: AC_GWENHYWFAR If this token and others are legitimate, please use m4_pattern_allow. See the Autoconf documentation. and later (after I fixed this error): configure: *** The library "libglade2" is required for GTK2-frontend "g2banking". Specify --with-frontends="cbanking qbanking kbanking" to build aqbanking without that frontend. configure: error: *** Requirements not fulfilled. Fix your requirements or change the configuration I fixed these (perhaps incorrectly) by patching the Portfile for aqbanking: --- devel/aqbanking/Portfile.orig 2006-10-28 16:16:33.000000000 -0400 +++ devel/aqbanking/Portfile 2006-10-28 16:14:37.000000000 -0400 @@ -14,12 +14,13 @@ checksums md5 0908d3de2b7bfa256a626ce8ab7c5e80 depends_lib port:gwenhywfar \ port:qt3 \ - port:ktoblzcheck + port:ktoblzcheck \ + port:libglade2 depends_build port:libtool patchfiles qt3.patch pre-configure { - system "cd ${worksrcpath} && aclocal -I m4" + system "cd ${worksrcpath} && aclocal -I m4 -I ${prefix}/share/aclocal" system "cd ${worksrcpath} && autoconf" } Now I'm getting makefile errors during build: DEBUG: Assembled command: 'cd "/opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_aqbanking/work/aqbanking-2.2.0" && make all' cd . && \ /bin/sh /opt/local/var/db/dports/build/_opt_local_var_db_dports_sources_rsync.rsync.darwinports.org_dpupdate_dports_devel_aqbanking/work/aqbanking-2.2.0/missing --run automake-1.6 --gnu Makefile configure.ac:17: `automake requires `AM_CONFIG_HEADER', not `AC_CONFIG_HEADER' Makefile.am:23: CLEANFILES was already defined in condition TRUE, which implies condition USE_I18N_TRUE CLEANFILES (User, where = Makefile.am:23) += { TRUE => aqbanking-config aqbanking-config.in } make: *** [Makefile.in] Error 1 Does anyone have any idea what's wrong? I'm running the command port -d build aqbanking +ofx -- Mike Alexander mta@umich.edu Ann Arbor, MI PGP key ID: BEA343A6
On 29.10.2006, at 01:50, Mike Alexander wrote:
Has anyone gotten aqbanking to build correctly?
Yes, I did. ;) I don't normally use it, though.
I fixed these (perhaps incorrectly) by patching the Portfile for aqbanking: + port:ktoblzcheck \ + port:libglade2
I added this to the Portfile; thanks. I guess I never noticed because I only ever built aqbanking as a prerequisite for gnucash, which depends on things that will include libglade2.
+ system "cd ${worksrcpath} && aclocal -I m4 -I ${prefix}/share/ aclocal"
I would recommend using aclocal and autoconf as supplied by MacPorts. This line suggests that you're using Apple's aclocal or some other "foreign" version. Does switching to the MacPorts version fix your problem? Regards, Marc
On 29.10.2006, at 01:50, Mike Alexander wrote:
Now I'm getting makefile errors during build: [...] configure.ac:17: `automake requires `AM_CONFIG_HEADER', not `AC_CONFIG_HEADER'
Googling for this error message suggests that a more current version of automake is required. Mac OS X 10.4.8 ships with automake 1.6.3; MacPorts is currently at 1.9.6. To work around this for the time being, I've added an additional build dependency on port:automake for aqbanking. Regards, Marc
--On October 29, 2006 11:50:23 PM +0100 Marc André Selig <mas@seligma.com> wrote:
On 29.10.2006, at 01:50, Mike Alexander wrote:
Now I'm getting makefile errors during build: [...] configure.ac:17: `automake requires `AM_CONFIG_HEADER', not `AC_CONFIG_HEADER'
Googling for this error message suggests that a more current version of automake is required. Mac OS X 10.4.8 ships with automake 1.6.3; MacPorts is currently at 1.9.6.
To work around this for the time being, I've added an additional build dependency on port:automake for aqbanking.
Yes, that was the problem. Thanks for fixing it. There's also an uninitialized variable bug in aqbanking. I'll report it to the upstream people, but this patch fixes it: --- src/frontends/qbanking/lib/qbcfgmodule.cpp 2006-10-29 11:32:47.000000000 -0500 +++ src/frontends/qbanking/lib/qbcfgmodule.cpp 2006-10-29 11:33:21.000000000 -0500 @@ -25,6 +25,7 @@ QBCfgModule::QBCfgModule(QBanking *qb, const QString &name) :_qbanking(qb) ,_name(name) -,_plugin(0){ +,_plugin(0) +,_flags(0){ } Without this patch, adding a new user using the OFX backend randomly fails (always for me) without any error message except on the console. Presumably this will get fixed eventually so I don't know if you want to put this in the patch file. -- Mike Alexander mta@umich.edu Ann Arbor, MI PGP key ID: BEA343A6
participants (2)
-
Marc André Selig
-
Mike Alexander