Building aqbanking

Mike Alexander mta at umich.edu
Sat Oct 28 16:50:31 PDT 2006


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 at umich.edu
Ann Arbor, MI            PGP key ID: BEA343A6





More information about the macports-users mailing list