On Mon, 6 Mar 2000, Joachim Ansorg wrote: > Hi all! > > I'm using curent CVS of GTK 1.2.x (at the moment 1.2.7). > > But when I try to compile it, I get the following errors: > > > Making all in gtk > make[2]: Entering directory `/cvs/GTK-1.2/gtk+/gtk' > /bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I.. >-DG_LOG_DOMAIN=\"Gtk\" -DGTK_DISABLE_COMPAT_H -DGTK_EXE_PREFIX=\"/usr/local\" >-DGTK_DATA_PREFIX=\"/usr/local\" -DGTK_SYSCONFDIR=\"/usr/local/etc\" >-DGTK_LOCALEDIR=\"/usr/local/share/locale\" -I.. -DGTK_NO_CHECK_CASTS -DUSE_XIM >-I/usr/local/lib/glib/include -I/usr/local/include -D_REENTRANT -I/usr/X11R6/include > -O2 -Wall -c gtkaccelgroup.c > rm -f .libs/gtkaccelgroup.lo > gcc -DHAVE_CONFIG_H -I. -I. -I.. -DG_LOG_DOMAIN=\"Gtk\" -DGTK_DISABLE_COMPAT_H >-DGTK_EXE_PREFIX=\"/usr/local\" -DGTK_DATA_PREFIX=\"/usr/local\" >-DGTK_SYSCONFDIR=\"/usr/local/etc\" -DGTK_LOCALEDIR=\"/usr/local/share/locale\" -I.. >-DGTK_NO_CHECK_CASTS -DUSE_XIM -I/usr/local/lib/glib/include -I/usr/local/include >-D_REENTRANT -I/usr/X11R6/include -O2 -Wall -Wp,-MD,.deps/gtkaccelgroup.pp -c >gtkaccelgroup.c -fPIC -DPIC -o .libs/gtkaccelgroup.lo > gtkaccelgroup.c: In function `gtk_accel_group_create_add': > gtkaccelgroup.c:668: `GTK_TYPE_ACCEL_GROUP' undeclared (first use in this function) > gtkaccelgroup.c:668: (Each undeclared identifier is reported only once > gtkaccelgroup.c:668: for each function it appears in.) > gtkaccelgroup.c:670: `GTK_TYPE_GDK_MODIFIER_TYPE' undeclared (first use in this >function) > gtkaccelgroup.c:671: `GTK_TYPE_ACCEL_FLAGS' undeclared (first use in this function) > gtkaccelgroup.c: In function `gtk_accel_group_create_remove': > gtkaccelgroup.c:687: `GTK_TYPE_ACCEL_GROUP' undeclared (first use in this function) > gtkaccelgroup.c:689: `GTK_TYPE_GDK_MODIFIER_TYPE' undeclared (first use in this >function) > make[2]: *** [gtkaccelgroup.lo] Error 1 > make[2]: Leaving directory `/cvs/GTK-1.2/gtk+/gtk' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/cvs/GTK-1.2/gtk+' > make: *** [all-recursive-am] Error 2 looks like enumeration building doesn't properly work on your system. there are a bunch of requirements to adhear to if you build gtk from CVS, basically you need GNU make, gcc, builddir=srcdir, the auto* tools mentioned in HACKING, perl, phyton, awk... also you have to use autogen.sh, to configure the package, then the autogenerated sources should build correctly. > glib compiled and it's installed. The CVS of GTK compiled in earlier versions. > How do I get it working? > > I looked around and saw the file maketypes.awk and makeenums.awk, but I don't > know how to use them. > > Thanks very much! > --- ciaoTJ -- To unsubscribe: mail -s unsubscribe [EMAIL PROTECTED] < /dev/null
