Help getting GnuCash with Chipcard-HBCI to work on SuSE 8.1!
Christian Gatzemeier
c.gatzemeier at tu-bs.de
Fri Jan 17 20:29:51 CST 2003
Getting GnuCash with Chipcard HBCI to work on SuSE 8.1
I guess this is on the wishlist of many users at least in Germany.
Installation from source, libraries, and other stuff is nothing I know to deal
with. However I want to test HBCI and scheduled transactions.
Thanx to some of you on this list and after days of trials I was able to put
together the following recipe. But I am having trouble yet.
get and untar g-wrap 1.3.4
-----------------------
./configure
in all makefile* (including subdirs) delete all "-Werror" entries
(because gcc 3.2 is used?)
make
su
make install
exit
get and install libchipcard-0.6.1-1.i386.SuSE81.rpm from sf (sourceforge)
------------------------
Get linux CTAPI driver library (in my case /usr/local/lib/libct.so) from
ChipCard Terminal vendor.
The provided applink files do not work in SuSE (grrrrr.-eat!)
>From a command line use kcardsetup to setup Card Terminal.
Mount a Chipcard with kcarddebugger to test libchipcard.
OK seems to work.
untar openhbci 0.9.5
----------------
./configure --prefix=/usr/local/openhbci
I thought by installing from source and the with the prefix I might get rid of
the failing gnucash make at the end.
I had openhbci-0.9.5-1.i386.SuSE81.rpm from sf installed before. But nothing
changed.
make
(only the first time it made some warnings about autoheader,
auxillary files and autoconf 2.53-129 being too old (only in case headers
have been changed?))
su
make install
exit
untar gnucash 1.7.7
---------------
figuring out working options for ./configure and
install packages that might be missing even after installing the gnome desktop
with yast on my system.
(A complete list to check up front would be nice.)
I additionally installed packages including:
esound
libxml
libxml-devel
libxml2
libxml2-devel
popt
gdk-pixbuf-devel
gnome-print-devel
libgnomeprint-devel?
gal-devel
libglade2-devel
oaf
libbonobo-devel
bonobo-devel
Finally I used the following commandline:
./configure --enable-hbci --with-openhbci-prefix=/usr/local/openhbci
--disable-openhbcitest --enable-gui --with-gnome=/opt/gnome
For some strange reason (for me out of the blue) I needed to put
<snip>
#ifndef ENABLE_NLS
#define ENABLE_NLS 1
#endif /* ENABLE_NLS */
<snap>
into the beginnig of /usr/include/libintl.h to get further with
make
but now make still stops with:
[...]
Making all in hbci
make[4]: Wechsel in das Verzeichnis
»/tmp/gnucash/gnucash-1.7.7/src/import-export/hbci«
Making all in .
make[5]: Wechsel in das Verzeichnis
»/tmp/gnucash/gnucash-1.7.7/src/import-export/hbci«
/bin/sh ../../../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../../..
-I/opt/gnome/include -I../../../src -I../../../src/engine
-I../../../src/gnc-module -I../../../src/app-utils -I../../../src/app-file
-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
/usr/local/include/g-wrap -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/include/gnome-xml -I/opt/gnome/include -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -I/opt/gnome/include/gnome-1.0 -DNEED_GNOMESUPPORT_H
-I/opt/gnome/lib/gnome-libs/include -I/usr/include/orbit-1.0
-I/opt/gnome/include -I/opt/gnome/include/gdk-pixbuf-1.0
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -I/opt/gnome/include/gnome-1.0 -I/usr/include/freetype2
-DNEED_GNOMESUPPORT_H -I/opt/gnome/lib/gnome-libs/include
-I/usr/include/gnome-xml -I/usr/include -I/usr/include -I/usr/include
-I/usr/local/openhbci/include -g -O2 -Werror -Wall -Wunused -c gncmod-hbci.c
gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I/opt/gnome/include -I../../../src
-I../../../src/engine -I../../../src/gnc-module -I../../../src/app-utils
-I../../../src/app-file -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 /usr/local/include/g-wrap
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/include/gnome-xml
-I/opt/gnome/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gtk-1.2
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include
-I/opt/gnome/include/gnome-1.0 -DNEED_GNOMESUPPORT_H
-I/opt/gnome/lib/gnome-libs/include -I/usr/include/orbit-1.0
-I/opt/gnome/include -I/opt/gnome/include/gdk-pixbuf-1.0
-I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include
-I/usr/X11R6/include -I/opt/gnome/include/gnome-1.0 -I/usr/include/freetype2
-DNEED_GNOMESUPPORT_H -I/opt/gnome/lib/gnome-libs/include
-I/usr/include/gnome-xml -I/usr/include -I/usr/include -I/usr/include
-I/usr/local/openhbci/include -g -O2 -Werror -Wall -Wunused -c gncmod-hbci.c
-fPIC -o .libs/gncmod-hbci.o
cc1: changing search order for system directory "/usr/include"
cc1: as it has already been specified as a non-system directory
make[5]: *** [gncmod-hbci.lo] Fehler 1
make[5]: Verlassen des Verzeichnisses
»/tmp/gnucash/gnucash-1.7.7/src/import-export/hbci«
make[4]: *** [all-recursive] Fehler 1
make[4]: Verlassen des Verzeichnisses
»/tmp/gnucash/gnucash-1.7.7/src/import-export/hbci«
make[3]: *** [all-recursive] Fehler 1
make[3]: Verlassen des Verzeichnisses
»/tmp/gnucash/gnucash-1.7.7/src/import-export«
make[2]: *** [all-recursive] Fehler 1
make[2]: Verlassen des Verzeichnisses »/tmp/gnucash/gnucash-1.7.7/src«
make[1]: *** [all-recursive] Fehler 1
make[1]: Verlassen des Verzeichnisses »/tmp/gnucash/gnucash-1.7.7«
make: *** [all-recursive-am] Fehler 2
user at linux:/tmp/gnucash/gnucash-1.7.7>
even after a tial without HBCI:
./configure --enable-gui --with-gnome=/opt/gnome
make fails with:
Making all in test
make[4]: Wechsel in das Verzeichnis
»/tmp/gnucash/gnucash-1.7.7/src/import-export/test«
gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I/opt/gnome/include -g -O2 -Werror
-Wall -Wunused -c test-link.c
/bin/sh ../../../libtool --mode=link gcc -g -O2 -Werror -Wall -Wunused
-L/opt/gnome/lib -o test-link test-link.o ../libgncmod-generic-import.la
-lpopt -lm -lm
mkdir .libs
libtool: link: cannot find the library
`/home/cg/gnucash/gnucash-1.7.7/src/app-file/libgncmod-app-file.la'
make[4]: *** [test-link] Fehler 1
make[4]: Verlassen des Verzeichnisses
»/tmp/gnucash/gnucash-1.7.7/src/import-export/test«
make[3]: *** [all-recursive] Fehler 1
make[3]: Verlassen des Verzeichnisses
»/tmp/gnucash/gnucash-1.7.7/src/import-export«
make[2]: *** [all-recursive] Fehler 1
make[2]: Verlassen des Verzeichnisses »/tmp/gnucash/gnucash-1.7.7/src«
make[1]: *** [all-recursive] Fehler 1
make[1]: Verlassen des Verzeichnisses »/tmp/gnucash/gnucash-1.7.7«
make: *** [all-recursive-am] Fehler 2
user at linux:/tmp/gnucash/gnucash-1.7.7>
Frankly after all this I am desperate and disappointed.
I hope someone could just point out how stupid I am with this with a nice
suggestion or addition to this recipe.
Have a good one!
Christian
More information about the gnucash-user
mailing list