[gnucash-de] Gnucash 1.8.11 mit Suse 9.2.

Dieter Hofmann dieter.hofmann at gmx.de
Mit Mar 30 15:41:56 EST 2005


Hallo, 

da ich HBCI Pin/Tan und HBCI-Geldkarte benutze, möchte ich gerne auch eine 
aktuellere Version updaten. Aber das bietet ja wirklich endlos Hürden. 
Laut Yast habe ich Guppi0.40.3 und Guppi-devel0.40.3 installiert. Aber wenn 
ich configure laufen lasse, findet das Programm meine libguppi nicht. Ich 
habe folgende Fehlermeldungen: 

checking for libguppi - version >= 0.35.1... no
*** Could not run libguppi test program, checking why...
*** The test program failed to compile or link. See the file config.log for 
the
*** exact error that occured. This usually means libguppi was incorrectly 
installed
*** or that you have moved libguppi since it was installed. In the latter 
case, you
*** may want to edit the gnome-config script: /opt/gnome/bin/gnome-config
configure: error: libguppi not found

Und config.log gibt folgendes aus: 

configure:13948: checking for libguppi - version >= 0.35.1
configure:14050: gcc -o conftest -g -O2 -Wall -Wunused  -I/opt/gnome/include 
-I/opt/gnome/include/gtk-1.2 -I/opt/gnome/include/glib-1.2 
-I/opt/gnome/lib/glib/include -I/usr/X11R6/include -I/usr/include/gnome-1.0 
-I/usr/include/gnome-1.0/libguppitank -I/usr/include/gtk-1.2 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -DNEED_GNOMESUPPORT_H 
-I/usr/lib/gnome-libs/include -I/usr/include/orbit-1.0 
-I/usr/include/gnome-xml -I/usr/include/libglade-1.0 -I/usr/include/freetype2 
-I/usr/include/gdk-pixbuf-1.0   conftest.c -lpopt -lm  -lm -rdynamic 
-L/opt/gnome/lib -L/usr/X11R6/lib -L/usr/lib -lguppitank -lguppi -lzvt -lutil 
-lglade-gnome -lglade -lfreetype -lbonobo -loaf -lORBitCosNaming -lORBit 
-lIIOP -lORBitutil -lnsl -lbonobox -lbonobo-print -lgnomeprint -lgnomeui 
-lart_lgpl -lgdk_imlib -lSM -lICE -lgnome -lgnomesupport -lesd -laudiofile 
-ldb1 -lgdk_pixbuf -lgtk -lgdk -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm 
-lxml -lz 1>&5
In file included from /usr/include/gnome-1.0/libguppi/guppi-version.h:33,
                 from configure:13988:
/usr/include/gnome-1.0/libguppi/guppi-defs.h:29:33: libgnome/gnome-defs.h: No 
such file or directory
In file included from configure:13988:
/usr/include/gnome-1.0/libguppi/guppi-version.h:42: error: syntax error before 
"const"
configure:13990: error: syntax error before "static"
configure: failed program was:
#line 13983 "configure"
#include "confdefs.h"

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <libguppi/guppi-version.h>

static char*
my_strdup (char *str)
{
  char *new_str;
  
  if (str)
    {
      new_str = malloc ((strlen (str) + 1) * sizeof(char));
      strcpy (new_str, str);
    }
  else
    new_str = NULL;
  
  return new_str;
}

int main ()
{
  int major, minor, micro;
  char *tmp_version;

  system ("touch conf.libguppitest");

  /* HP/UX 9 (%@#!) writes to sscanf strings */
  tmp_version = my_strdup("0.35.1");
  if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
     printf("%s, bad version string\n", "0.35.1");
     exit(1);
   }

   if ((0 != guppi_version_major()) ||
       (40 != guppi_version_minor()) ||
       (3 != guppi_version_micro())) {
	printf("\n*** 'gnome-config --modversion libguppi' returned %d.%d.%d, but the 
installed\n", 0, 40, 3);
	printf("*** LIBGUPPI reports its own version as %s.\n\n", guppi_version());
	printf("*** This probably means that LIBGUPPI is improperly installed.\n");
	return 1;
   }	

   if ((0 > major) ||
      ((0 == major) && (40 > minor)) ||
      ((0 == major) && (40 == minor) && (3 >= micro)))
    {
      return 0;
    }
  else
    {
      printf("\n*** 'gnome-config --modversion libguppi' returned %d.%d.%d, 
but the minimum version\n", 0, 40, 3);
      printf("*** of libguppi required is %d.%d.%d. If gnome-config is 
correct, then it is\n", major, minor, micro);
      printf("*** best to upgrade to the required version.\n");
      printf("*** If gnome-config was wrong, set the environment variable 
GNOME_CONFIG\n");
      printf("*** to point to the correct copy of gnome-config, and remove the 
file\n");
      printf("*** config.cache before re-running configure\n");
      return 1;
    }
}


configure:14094: gcc -o conftest -g -O2 -Wall -Wunused  -I/opt/gnome/include 
-I/opt/gnome/include/gtk-1.2 -I/opt/gnome/include/glib-1.2 
-I/opt/gnome/lib/glib/include -I/usr/X11R6/include -I/usr/include/gnome-1.0 
-I/usr/include/gnome-1.0/libguppitank -I/usr/include/gtk-1.2 
-I/usr/include/glib-1.2 -I/usr/lib/glib/include -DNEED_GNOMESUPPORT_H 
-I/usr/lib/gnome-libs/include -I/usr/include/orbit-1.0 
-I/usr/include/gnome-xml -I/usr/include/libglade-1.0 -I/usr/include/freetype2 
-I/usr/include/gdk-pixbuf-1.0   conftest.c -lpopt -lm  -lm -rdynamic 
-L/opt/gnome/lib -L/usr/X11R6/lib -L/usr/lib -lguppitank -lguppi -lzvt -lutil 
-lglade-gnome -lglade -lfreetype -lbonobo -loaf -lORBitCosNaming -lORBit 
-lIIOP -lORBitutil -lnsl -lbonobox -lbonobo-print -lgnomeprint -lgnomeui 
-lart_lgpl -lgdk_imlib -lSM -lICE -lgnome -lgnomesupport -lesd -laudiofile 
-ldb1 -lgdk_pixbuf -lgtk -lgdk -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm 
-lxml -lz 1>&5
In file included from /usr/include/gnome-1.0/libguppi/guppi-memory.h:36,
                 from /usr/include/gnome-1.0/libguppi/guppi-convenient.h:31,
                 from /usr/include/gnome-1.0/libguppi/guppi-useful.h:30,
                 from configure:14087:
/usr/include/gnome-1.0/libguppi/guppi-defs.h:29:33: libgnome/gnome-defs.h: No 
such file or directory
In file included from /usr/include/gnome-1.0/libguppi/guppi-convenient.h:31,
                 from /usr/include/gnome-1.0/libguppi/guppi-useful.h:30,
                 from configure:14087:
/usr/include/gnome-1.0/libguppi/guppi-memory.h:38: warning: type defaults to 
`int' in declaration of `BEGIN_GNOME_DECLS'
/usr/include/gnome-1.0/libguppi/guppi-memory.h:38: warning: data definition 
has no type or storage class
/usr/include/gnome-1.0/libguppi/guppi-memory.h:154: warning: type defaults to 
`int' in declaration of `END_GNOME_DECLS'
/usr/include/gnome-1.0/libguppi/guppi-memory.h:154: warning: data definition 
has no type or storage class
In file included from /usr/include/gnome-1.0/libguppi/guppi-useful.h:30,
                 from configure:14087:
/usr/include/gnome-1.0/libguppi/guppi-convenient.h:36: error: syntax error 
before "void"
In file included from /usr/include/gnome-1.0/libguppi/guppi-useful.h:31,
                 from configure:14087:
/usr/include/gnome-1.0/libguppi/guppi-debug.h:36: error: parse error before 
"BEGIN_GNOME_DECLS"
/usr/include/gnome-1.0/libguppi/guppi-debug.h:40: error: syntax error before 
"enum"
In file included from /usr/include/gnome-1.0/libguppi/guppi-useful.h:32,
                 from configure:14087:
/usr/include/gnome-1.0/libguppi/guppi-dialogs.h:32: error: parse error before 
"BEGIN_GNOME_DECLS"
/usr/include/gnome-1.0/libguppi/guppi-dialogs.h:34: error: syntax error before 
"void"
In file included from /usr/include/gnome-1.0/libguppi/guppi-useful.h:33,
                 from configure:14087:
/usr/include/gnome-1.0/libguppi/guppi-defaults.h:31:38: 
libgnomeprint/gnome-font.h: No such file or directory
In file included from /usr/include/gnome-1.0/libguppi/guppi-defaults.h:32,
                 from /usr/include/gnome-1.0/libguppi/guppi-useful.h:33,
                 from configure:14087:
/usr/include/gnome-1.0/libguppi/guppi-metrics.h:33: error: parse error before 
"BEGIN_GNOME_DECLS"
/usr/include/gnome-1.0/libguppi/guppi-metrics.h:35: error: syntax error before 
"typedef"
In file included from /usr/include/gnome-1.0/libguppi/guppi-useful.h:33,
                 from configure:14087:
/usr/include/gnome-1.0/libguppi/guppi-defaults.h:36: error: parse error before 
"BEGIN_GNOME_DECLS"
/usr/include/gnome-1.0/libguppi/guppi-defaults.h:40: warning: type defaults to 
`int' in declaration of `guppi_default_font_large'
/usr/include/gnome-1.0/libguppi/guppi-defaults.h:40: warning: data definition 
has no type or storage class
/usr/include/gnome-1.0/libguppi/guppi-defaults.h:41: error: parse error before 
'*' token
/usr/include/gnome-1.0/libguppi/guppi-defaults.h:41: warning: type defaults to 
`int' in declaration of `guppi_default_font_medium'
/usr/include/gnome-1.0/libguppi/guppi-defaults.h:41: warning: data definition 
has no type or storage class
/usr/include/gnome-1.0/libguppi/guppi-defaults.h:42: error: parse error before 
'*' token
/usr/include/gnome-1.0/libguppi/guppi-defaults.h:42: warning: type defaults to 
`int' in declaration of `guppi_default_font_small'
/usr/include/gnome-1.0/libguppi/guppi-defaults.h:42: warning: data definition 
has no type or storage class
/usr/include/gnome-1.0/libguppi/guppi-defaults.h:44: error: parse error before 
'*' token
/usr/include/gnome-1.0/libguppi/guppi-defaults.h:44: warning: type defaults to 
`int' in declaration of `guppi_default_font'
/usr/include/gnome-1.0/libguppi/guppi-defaults.h:44: warning: data definition 
has no type or storage class
In file included from /usr/include/gnome-1.0/libguppi/guppi-useful.h:34,
                 from configure:14087:
/usr/include/gnome-1.0/libguppi/guppi-enums.h:35: error: parse error before 
"BEGIN_GNOME_DECLS"
/usr/include/gnome-1.0/libguppi/guppi-enums.h:37: error: syntax error before 
"typedef"
In file included from /usr/include/sys/stat.h:37,
                 from /usr/include/gnome-1.0/libguppi/guppi-file.h:34,
                 from /usr/include/gnome-1.0/libguppi/guppi-useful.h:35,
                 from configure:14087:
/usr/include/time.h:118: error: syntax error before "struct"
In file included from /usr/include/gnome-1.0/libguppi/guppi-useful.h:35,
                 from configure:14087:
/usr/include/gnome-1.0/libguppi/guppi-file.h:42: error: syntax error before 
"typedef"
In file included from /usr/include/gnome-1.0/libguppi/guppi-matrix.h:49,
                 from /usr/include/gnome-1.0/libguppi/guppi-useful.h:36,
                 from configure:14087:
/usr/include/gnome-1.0/libguppi/guppi-vector.h:49: error: syntax error before 
"typedef"
In file included from /usr/include/gnome-1.0/libguppi/guppi-useful.h:38,
                 from configure:14087:
/usr/include/gnome-1.0/libguppi/guppi-paths.h:37: error: syntax error before 
"void"
In file included from /usr/include/gnome-1.0/libguppi/guppi-plug-in-spec.h:32,
                 from /usr/include/gnome-1.0/libguppi/guppi-useful.h:39,
                 from configure:14087:
/usr/include/gnome-1.0/libguppi/guppi-plug-in.h:35: error: parse error before 
"BEGIN_GNOME_DECLS"
/usr/include/gnome-1.0/libguppi/guppi-plug-in.h:38: error: syntax error before 
"typedef"
In file included from /usr/include/gnome-1.0/libguppi/guppi-useful.h:39,
                 from configure:14087:
/usr/include/gnome-1.0/libguppi/guppi-plug-in-spec.h:36: error: parse error 
before "BEGIN_GNOME_DECLS"
/usr/include/gnome-1.0/libguppi/guppi-plug-in-spec.h:38: error: syntax error 
before "typedef"
In file included from /usr/include/gnome-1.0/libguppi/guppi-useful.h:41,
                 from configure:14087:
/usr/include/gnome-1.0/libguppi/guppi-rgb.h:32:37: libgnomeui/gnome-canvas.h: 
No such file or directory
/usr/include/gnome-1.0/libguppi/guppi-rgb.h:33:35: libart_lgpl/art_vpath.h: No 
such file or directory
In file included from /usr/include/math.h:70,
                 from /usr/include/gnome-1.0/libguppi/guppi-rgb.h:35,
                 from /usr/include/gnome-1.0/libguppi/guppi-useful.h:41,
                 from configure:14087:
/usr/include/bits/mathcalls.h:55: error: syntax error before "extern"
In file included from /usr/include/gnome-1.0/libguppi/guppi-useful.h:41,
                 from configure:14087:
/usr/include/gnome-1.0/libguppi/guppi-rgb.h:187: error: syntax error before 
"guint32"
/usr/include/gnome-1.0/libguppi/guppi-rgb.h:189: error: parse error before '*' 
token
/usr/include/gnome-1.0/libguppi/guppi-rgb.h:191: error: parse error before '*' 
token
/usr/include/gnome-1.0/libguppi/guppi-rgb.h:193: error: parse error before '*' 
token
/usr/include/gnome-1.0/libguppi/guppi-rgb.h:196: error: parse error before '*' 
token
/usr/include/gnome-1.0/libguppi/guppi-rgb.h:200: error: parse error before '*' 
token
/usr/include/gnome-1.0/libguppi/guppi-rgb.h:204: error: parse error before '*' 
token
/usr/include/gnome-1.0/libguppi/guppi-rgb.h:208: error: parse error before '*' 
token
/usr/include/gnome-1.0/libguppi/guppi-rgb.h:212: error: parse error before '*' 
token
In file included from /usr/include/gnome-1.0/libguppi/guppi-useful.h:42,
                 from configure:14087:
/usr/include/gnome-1.0/libguppi/guppi-stream.h:36: error: parse error before 
"BEGIN_GNOME_DECLS"
/usr/include/gnome-1.0/libguppi/guppi-stream.h:38: error: syntax error before 
"typedef"
In file included from /opt/gnome/include/gtk-1.2/gtk/gtkbin.h:32,
                 from /opt/gnome/include/gtk-1.2/gtk/gtkframe.h:32,
                 
from /usr/include/gnome-1.0/libguppi/guppi-stream-preview.h:32,
                 from /usr/include/gnome-1.0/libguppi/guppi-useful.h:43,
                 from configure:14087:
/opt/gnome/include/gtk-1.2/gtk/gtkcontainer.h:51: error: syntax error before 
"typedef"
In file included from /usr/include/gnome-1.0/libguppi/guppi-useful.h:43,
                 from configure:14087:
/usr/include/gnome-1.0/libguppi/guppi-stream-preview.h:44: error: syntax error 
before "GdkColor"
In file included from /usr/include/gnome-1.0/libguppi/guppi-useful.h:44,
                 from configure:14087:
/usr/include/gnome-1.0/libguppi/guppi-string.h:36: error: parse error before 
"BEGIN_GNOME_DECLS"
/usr/include/gnome-1.0/libguppi/guppi-string.h:38: error: syntax error before 
"gboolean"
In file included from /usr/include/gnome-1.0/libguppi/guppi-useful.h:45,
                 from configure:14087:
/usr/include/gnome-1.0/libguppi/guppi-version.h:35: error: parse error before 
"BEGIN_GNOME_DECLS"
/usr/include/gnome-1.0/libguppi/guppi-version.h:42: error: syntax error before 
"const"
In file included from /usr/include/gnome-1.0/libguppi/guppi-useful.h:47,
                 from configure:14087:
/usr/include/gnome-1.0/libguppi/guppi-useful-init.h:35: error: parse error 
before "BEGIN_GNOME_DECLS"
/usr/include/gnome-1.0/libguppi/guppi-useful-init.h:37: error: syntax error 
before "void"
configure:14089: error: syntax error before "int"
configure: failed program was:
#line 14084 "configure"
#include "confdefs.h"

#include <stdio.h>
#include <libguppi/guppi-useful.h>

int main() {
 return 0; 
; return 0; }

Wo liegt der Fehler? Oder gibt es vielleicht doch wieder funktionierende rpms 
für Suse 9.2? Wäre natürlich viel einfacher und ich hätte ein paar Abende 
umsonst verbracht. 

Danke, Dieter