Opened 16 years ago

Closed 16 years ago

Last modified 16 years ago

#17954 closed defect (invalid)

gnucash won't build - wrong version of aqbanking?

Reported by: dylan@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc: mf2k (Frank Schima)
Port: gnucash

Description

It seems gnucash needs a different version of aqbanking: http://wiki.gnucash.org/wiki/AqBanking#Compatibility

Error log:

$ sudo port install gnucash
--->  Building gnucash
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_gnome_gnucash/work/gnucash-2.2.8" && make all " returned error 2
Command output: Making all in .
make[5]: Nothing to be done for `all-am'.
Making all in test
make[5]: Nothing to be done for `all'.
Making all in schemas
make[5]: Nothing to be done for `all'.
Making all in ofx
Making all in .
make[5]: Nothing to be done for `all-am'.
Making all in test
make[5]: Nothing to be done for `all'.
Making all in hbci
Making all in .
/bin/sh ../../../libtool --tag=CC   --mode=compile /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I../../.. -DG_LOG_DOMAIN=\"gnc.import.hbci\"  -I/opt/local/include -I../../../src -I../../../src/core-utils -I../../../src/engine -I../../../src/gnc-module -I../../../src/app-utils -I../../../src/gnome -I../../../src/gnome-utils -I../../../src/import-export -I../../../src/register -I../../../src/register/register-core -I../../../src/register/register-gnome -I../../../src/register/ledger-core -I/opt/local/include -DORBIT2=1 -D_REENTRANT -DXTHREADS -I/opt/local/include/libgnomeui-2.0 -I/opt/local/include/libgnome-2.0 -I/opt/local/include/libgnomecanvas-2.0 -I/opt/local/include/gtk-2.0 -I/opt/local/include/libart-2.0 -I/opt/local/include/gconf/2 -I/opt/local/include/libbonoboui-2.0 -I/opt/local/include/gnome-vfs-2.0 -I/opt/local/lib/gnome-vfs-2.0/include -I/opt/local/include/gnome-keyring-1 -I/opt/local/include/orbit-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/libbonobo-2.0 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include/bonobo-activation-2.0 -I/opt/local/include/pango-1.0 -I/opt/local/include/gail-1.0 -I/opt/local/include/freetype2 -I/opt/local/include/atk-1.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/libpng12 -I/usr/X11R6/include -I/opt/local/include/libxml2 -I/usr/X11/include -DORBIT2=1 -D_REENTRANT -DXTHREADS -I/opt/local/include/libgtkhtml-3.14 -I/opt/local/include/libgnomeui-2.0 -I/opt/local/include/gtk-unix-print-2.0 -I/opt/local/include/libglade-2.0 -I/opt/local/include/libgnome-2.0 -I/opt/local/include/libgnomecanvas-2.0 -I/opt/local/include/gtk-2.0 -I/opt/local/include/libart-2.0 -I/opt/local/include/gconf/2 -I/opt/local/include/libbonoboui-2.0 -I/opt/local/include/gnome-vfs-2.0 -I/opt/local/lib/gnome-vfs-2.0/include -I/opt/local/include/gnome-keyring-1 -I/opt/local/include/orbit-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/libbonobo-2.0 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include/bonobo-activation-2.0 -I/opt/local/include/pango-1.0 -I/opt/local/include/gail-1.0 -I/opt/local/include/freetype2 -I/opt/local/include/atk-1.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/libpng12 -I/usr/X11R6/include -I/opt/local/include/libxml2 -I/usr/X11/include -DXTHREADS -I/opt/local/include/libglade-2.0 -I/opt/local/include/gtk-2.0 -I/opt/local/include/libxml2 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11R6/include -I/usr/X11/include -I../../../lib/libqof/qof -I../../../lib/libqof/qof -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include   -I/opt/local/include -I/opt/local/include/gwenhywfar3 -Wdeclaration-after-statement -Wno-pointer-sign -D_FORTIFY_SOURCE=2 -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations  -Wno-unused -c -o dialog-hbcitrans.lo dialog-hbcitrans.c
 /usr/bin/gcc-4.0 -DHAVE_CONFIG_H -I. -I../../.. -DG_LOG_DOMAIN=\"gnc.import.hbci\" -I/opt/local/include -I../../../src -I../../../src/core-utils -I../../../src/engine -I../../../src/gnc-module -I../../../src/app-utils -I../../../src/gnome -I../../../src/gnome-utils -I../../../src/import-export -I../../../src/register -I../../../src/register/register-core -I../../../src/register/register-gnome -I../../../src/register/ledger-core -I/opt/local/include -DORBIT2=1 -D_REENTRANT -DXTHREADS -I/opt/local/include/libgnomeui-2.0 -I/opt/local/include/libgnome-2.0 -I/opt/local/include/libgnomecanvas-2.0 -I/opt/local/include/gtk-2.0 -I/opt/local/include/libart-2.0 -I/opt/local/include/gconf/2 -I/opt/local/include/libbonoboui-2.0 -I/opt/local/include/gnome-vfs-2.0 -I/opt/local/lib/gnome-vfs-2.0/include -I/opt/local/include/gnome-keyring-1 -I/opt/local/include/orbit-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/libbonobo-2.0 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include/bonobo-activation-2.0 -I/opt/local/include/pango-1.0 -I/opt/local/include/gail-1.0 -I/opt/local/include/freetype2 -I/opt/local/include/atk-1.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/libpng12 -I/usr/X11R6/include -I/opt/local/include/libxml2 -I/usr/X11/include -DORBIT2=1 -D_REENTRANT -DXTHREADS -I/opt/local/include/libgtkhtml-3.14 -I/opt/local/include/libgnomeui-2.0 -I/opt/local/include/gtk-unix-print-2.0 -I/opt/local/include/libglade-2.0 -I/opt/local/include/libgnome-2.0 -I/opt/local/include/libgnomecanvas-2.0 -I/opt/local/include/gtk-2.0 -I/opt/local/include/libart-2.0 -I/opt/local/include/gconf/2 -I/opt/local/include/libbonoboui-2.0 -I/opt/local/include/gnome-vfs-2.0 -I/opt/local/lib/gnome-vfs-2.0/include -I/opt/local/include/gnome-keyring-1 -I/opt/local/include/orbit-2.0 -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/libbonobo-2.0 -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include/bonobo-activation-2.0 -I/opt/local/include/pango-1.0 -I/opt/local/include/gail-1.0 -I/opt/local/include/freetype2 -I/opt/local/include/atk-1.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/cairo -I/opt/local/include/pixman-1 -I/opt/local/include/libpng12 -I/usr/X11R6/include -I/opt/local/include/libxml2 -I/usr/X11/include -DXTHREADS -I/opt/local/include/libglade-2.0 -I/opt/local/include/gtk-2.0 -I/opt/local/include/libxml2 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/pango-1.0 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng12 -I/usr/X11R6/include -I/usr/X11/include -I../../../lib/libqof/qof -I../../../lib/libqof/qof -D_REENTRANT -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/gwenhywfar3 -Wdeclaration-after-statement -Wno-pointer-sign -D_FORTIFY_SOURCE=2 -O2 -Wall -Wunused -Wmissing-prototypes -Wmissing-declarations -Wno-unused -c dialog-hbcitrans.c  -fno-common -DPIC -o .libs/dialog-hbcitrans.o
dialog-hbcitrans.c: In function 'gnc_hbci_dialog_run_until_ok':
dialog-hbcitrans.c:479: error: too few arguments to function 'AB_Job_CheckAvailability'
dialog-hbcitrans.c: In function 'hbci_trans_fill_values':
dialog-hbcitrans.c:674: error: too many arguments to function 'AB_Value_new'
dialog-hbcitrans.c: In function 'gnc_hbci_trans_dialog_enqueue':
dialog-hbcitrans.c:761: error: too few arguments to function 'AB_Job_CheckAvailability'
dialog-hbcitrans.c:779: warning: implicit declaration of function 'AB_Banking_EnqueueJob'
dialog-hbcitrans.c: In function 'gnc_hbci_trans_dialog_execute':
dialog-hbcitrans.c:815: warning: implicit declaration of function 'AB_Banking_DelPendingJob'
make[5]: *** [dialog-hbcitrans.lo] Error 1
make[4]: *** [all-recursive] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Error: Status 1 encountered during processing.
$ 

Change History (7)

comment:1 Changed 16 years ago by dylan@…

Cc: dylan@… added

Cc Me!

comment:2 Changed 16 years ago by jmroot (Joshua Root)

Cc: dylan@… removed
Port: gnucash added

comment:3 Changed 16 years ago by mf2k (Frank Schima)

That wiki information is outdated. Aqbanking3 compatibility was added in gnucash 2.2.6. See the main page. gnucash builds fine for me with aqbanking 3.7.2. Please run the following:

sudo port selfupdate
sudo port clean --all gnucash
sudo port install gnucash

If that still doesn't work. Then we need some more information. What version of Mac OS X are you running? What version of Xcode? What version of XQuartz? What is the output of:

port installed aqbanking

comment:4 Changed 16 years ago by mf2k (Frank Schima)

Cc: macsforever2000@… added

Cc Me!

comment:5 Changed 16 years ago by dylan@…

Thank you! sudo port clean --all gnucash is what was needed. I'm not sure why, I had just finished a port selfupdate and 'port upgrade outdated`.

Anyway, thanks!

comment:6 Changed 16 years ago by mf2k (Frank Schima)

Resolution: invalid
Status: newclosed

Glad you got it working!

comment:7 Changed 16 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

Note: See TracTickets for help on using tickets.