[nest] Gnucash
Marcin Rachwał
thanatos w interia.pl
Czw, 9 Paź 2003, 17:45:42 CEST
Witam
Uparłem się na tego gnucasha. Ściągnąłem redhatowego sourca (1.8.5) i
drogą przeróbek speca i źródeł dotarłem do etapu gdzie kompilacja wywala
się z komunikatem:
In file included from /usr/include/gtkhtml/gtkhtml.h:29,
from gnc-html.h:27,
from window-help.h:28,
from dialog-account.c:49:
/usr/include/libgnomeprint/gnome-print-job.h:37: error: syntax error
before "typedef"/usr/include/libgnomeprint/gnome-print-job.h:41: error:
parse error before
"gnome_print_job_get_type"/usr/include/libgnomeprint/gnome-print-job.h:43:
error: parse error before '*'
token/usr/include/libgnomeprint/gnome-print-job.h:44: error: parse error
before '*' token/usr/include/libgnomeprint/gnome-print-job.h:62: error:
parse error before '*' token In file included from
/usr/include/gtkhtml/gtkhtml-types.h:27, from
/usr/include/gtkhtml/gtkhtml.h:31, from gnc-html.h:27,
from window-help.h:28,
from dialog-account.c:49:
/usr/include/gtkhtml/gtkhtml-enums.h:27: error: syntax error before
"typedef" In file included from gnc-html.h:27,
from window-help.h:28,
from dialog-account.c:49:
/usr/include/gtkhtml/gtkhtml.h:122: error: parse error before "GValue"
/usr/include/gtkhtml/gtkhtml.h:129: error: parse error before '}' token
/usr/include/libgnomeprint/gnome-print-job.h wygląda tak:
#define GNOME_TYPE_PRINT_JOB (gnome_print_job_get_type ())
#define GNOME_PRINT_JOB(o) (G_TYPE_CHECK_INSTANCE_CAST ((o),
GNOME_TYPE_PRINT_JOB, GnomePrintJob))
#define GNOME_IS_PRINT_JOB(o)(G_TYPE_CHECK_INSTANCE_TYPE ((o),
GNOME_TYPE_PRINT_JOB))
typedef struct _GnomePrintJob GnomePrintJob; // to jest linia 37
#include <libgnomeprint/gnome-print.h>
GType gnome_print_job_get_type (void);
GnomePrintJob * gnome_print_job_new (GnomePrintConfig *config);
GnomePrintConfig * gnome_print_job_get_config (GnomePrintJob *job);
GnomePrintContext * gnome_print_job_get_context (GnomePrintJob *job);
[marcin w Valhalla libgnomeprint]# rpm -q libgnomeprint-devel
libgnomeprint-devel-2.4.0-1
Wiecie jak przez to przebrnąć? Z góry dzięki!
--
Myślenie jest niebezpieczne. Prowadzi do pomysłów.
Więcej informacji o liście dyskusyjnej pld-users-pl