Help getting GnuCash with Chipcard HBCI to work on SuSE 8.1

Christian Gatzemeier c.gatzemeier@tu-bs.de
Mon Jan 20 14:05:13 CST 2003


I posted my first message allready befor I was subscibed to this list, the  
message waits for approval, so I am sorry for possible repetitions.  
---  
  
  
Getting GnuCash with Chipcard HBCI to work on SuSE 8.1  
  
I guess this is on the wishlist of many users 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.  
Unfortunately I could not be build with --enable-hbci.  
  
  
get and untar g-wrap 1.3.4  
-----------------------  
  
./configure  
  
in all makefiles 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  
has 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  
  
make uninstall löscht nicht <instpath>/bin/openhbci-config  
  
./configure  
make  
su  
make install  
ldconfig  
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@linux:/tmp/gnucash/gnucash-1.7.7>  
  
This would not change if I ./configured openhbci without --prefix and used 
 
./configure --enable-hbci --disable-openhbcitest --enable-gui 
--with-gnome=/opt/gnome 
 
for gnucash. 
 
 
 
Without --enable-hbci --disable-openhbcitest gnucash seems to run ok. I am 
just not so sure about the docs: 
 
got and untared gnucash-docs-1.7.7  
-------------------------  
  
installed packages:  
libxslt-devel  
docbook_4  
docbook-xsl-stylesheets  
docbook-xml-webside  
skrollkeeper  
  
./configure  
make  
su  
make install  
  
[...]  
xmlNanoHTTPConnectHost:  Failed to resolve host 'docbook.sourceforge.net' -  
Non-authoritive host not found or server failure.xmlNanoHTTPConnectHost:   
Failed to resolve host 'docbook.sourceforge.net' - Non-authoritive host not  
found or server failure.warning: failed to load external entity  
"http://docbook.sourceforge.net/release/xsl/1.45/html/chunk.xsl"  
compilation error: file ../../xsl/general-customization.xsl line 10 element  
import  
xsl:import : unable to load  
http://docbook.sourceforge.net/release/xsl/1.45/html/chunk.xsl  
make[3]: *** [convert-html] Fehler 5  
make[3]: Verlassen des Verzeichnisses »/tmp/gnucash/gnucash-docs-1.7.7/help/C«  
make[2]: *** [install-am] Fehler 2  
make[2]: Verlassen des Verzeichnisses »/tmp/gnucash/gnucash-docs-1.7.7/help/C«  
make[1]: *** [install-recursive] Fehler 1  
make[1]: Verlassen des Verzeichnisses »/tmp/gnucash/gnucash-docs-1.7.7/help«  
make: *** [install-recursive] Fehler 1  
linux:/tmp/gnucash/gnucash-docs-1.7.7 #  
 
  
"make install" wants to do downloads as root?  
I don't think so!  
what is this?  
  
  
  
  
  
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!  
Chris  
 
 
 
  
 
 
 
 



More information about the gnucash-user mailing list