patch: gnome-print cvs 981021, minor compile problem
- From: Kang-Jin Lee <lee tengu arco de>
- To: gnome-list gnome org
- Subject: patch: gnome-print cvs 981021, minor compile problem
- Date: Wed, 21 Oct 1998 21:31:49 +0200
Hi,
compiling gnome-print from CVS 981021 fails with this error:
gcc -DHAVE_CONFIG_H -I. -I. -I. -I/usr/local/include -DNEED_GNOMESUPPORT_H -I/usr/local/lib/gnome-libs/include -I/usr/X11R6/include -I/usr/local/lib/glib/include -I/usr/X11R6/include -I/usr/local/lib/glib/include -I/usr/local/include -g -O2 -Wp,-MD,.deps/gnome-font.p -c -fPIC -DPIC gnome-font.c
In file included from /usr/local/include/gtk/gtk.h:23,
from /usr/local/include/gnome.h:8,
from gnome-font.c:2:
/usr/local/include/gdk/gdk.h:220: parse error before `0'
make[1]: *** [gnome-font.lo] Error 1
make[1]: Leaving directory `/home/lee/incoming/gnome-print'
make: *** [gnome-print] Error 2
Here is a patch to make gnome-print to compile:
--------------------------------
--- gnome-print/gnome-font.c-dist Sat Oct 17 00:46:44 1998
+++ gnome-print/gnome-font.c Wed Oct 21 21:23:13 1998
@@ -1,4 +1,3 @@
-#include "parseAFM.h"
#include <gnome.h>
#include <stdlib.h>
#include <stdio.h>
@@ -7,6 +6,7 @@
#include <string.h>
#include <ctype.h>
#include "gnome-font.h"
+#include "parseAFM.h"
#undef VERBOSE
--------------------------------
--
Kang-Jin Lee
lee@arco.met.fu-berlin.de
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]