Re: Do I need a particular version of X for gtk+ ?
- From: Griff Miller <griff miller positron com>
- To: Owen Taylor <otaylor redhat com>,Havoc Pennington <hp redhat com>, gtk-list gnome org
- Subject: Re: Do I need a particular version of X for gtk+ ?
- Date: Wed, 19 Jul 2000 14:58:04 -0500
Griff Miller wrote:
>
> Owen Taylor wrote:
> >
> > R4 will almost certainly not work. R5 should work, but you probably
> > have to configure GTK+ with --disable-xim.
>
> Owen, Havoc, thanks for the clarification. Depending on how much time I
> have, I will either disable xim or download X11R6 from www.x.org and install
> it from scratch.
>
> I know SunOS is old, but I am stuck with it for just a bit longer (legacy apps
> that won't yet run on Solaris) . Hopefully by sometime next year I'll be
> able to complete the move.
>
> Thanks!
OK, I have:
1) installed X11R6.4 in /usr/local/X11R6.4
2) cd gtk+-1.2.7
3) make distclean
4) ./configure --x-includes=/usr/local/X11R6.4/include --x-libraries=/usr/local/X11R6.4/lib
5) make
It got a great deal farther this time, but it failed with:
/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//locale\" -I..
-DGTK_NO_CHECK_CASTS -DUSE_XIM -I/usr/local/lib/glib/include
-I/usr/local/include -I/usr/local/X11R6.4/include -g -O2 -Wall -c gtkaccelgroup.c
mkdir .libs
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//locale\" -I..
-DGTK_NO_CHECK_CASTS -DUSE_XIM -I/usr/local/lib/glib/include -I/usr/local/include -I/usr/local/X11R6.4/include -g -O2 -Wall -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)
*** Error code 1
make: Fatal error: Command failed for target `gtkaccelgroup.lo'
Current working directory /tmp_mnt/storage/Solaris1/gtk+-1.2.7/gtk
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /tmp_mnt/storage/Solaris1/gtk+-1.2.7
*** Error code 1
make: Fatal error: Command failed for target `all-recursive-am'
I searched for e.g. GTK_TYPE_ACCEL_GROUP in gtk+-1.2.7, but the only
place it appeared was gtk/gtkaccelgroup.c, which is of course where gcc
is throwing up its hands. Where is GTK_TYPE_ACCEL_GROUP declared/defined?
Am I missing an include?
Email cc's appreciated.
TIA
--
Griff Miller II
Manager of Information Technology "Beware of those who seek to win an
Positron Corporation argument at the expense of the
griff.miller@positron.com language." -Paul Johnson
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]