[9573] in The GTK GIMP ToolKit mailing list archive

home help back first fref pref prev next nref lref last post

[gtk-list] Re: Problem compiling GTK--0.9.19

daemon@ATHENA.MIT.EDU (Tero Pulkkinen)
Mon Oct 26 17:23:15 1998

To: gtk-list@redhat.com
From: Tero Pulkkinen <terop@students.cc.tut.fi>
Date: 27 Oct 1998 00:20:55 +0200
In-Reply-To: Dave Corrie's message of "Mon, 26 Oct 1998 19:19:12 +0000"
Resent-From: gtk-list@redhat.com
Reply-To: gtk-list@redhat.com

Dave Corrie <d.corrie@dial.pipex.com> writes:
> I have two problems in trying to compile GTK--0.9.19:
> 
> 1) I have GTK+1.0.6 installed under /usr and GTK+1.1.2 installed under
> /usr/local, so to force GTK-- to compile against GTK+1.0.6, I used the
> command:
> 
>   ./configure --with-gtk-prefix=/usr
> 
> This generated the following error:
> 
>   checking for gtk-config... /usr/bin/gtk-config
>   checking for GTK - version >= 1.0.0... *** GTK+ header files (version
>   1.1.2) do not match
>   *** library (version 1.0.6)
>   no
>   configure: error: Cannot find proper gtk version

ouch. Seems our way of checking if gtk+ exists does not work
anymore. I'll fix that by making AM_PATH_GTK's job manually by calling
gtk-config.

>   c++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../src -I. -I. -I./.. -I..
>   -I/usr/lib/glib/include -I/usr/X11R6/include -g -O2 -c -fPIC -DPIC
>   menu.cc
>   ./../menu.gen_h: In method `void Gtk_Menu::set_accelerator_table(class
>   Gtk_AcceleratorTable *)':
>   ./../menu.gen_h:189: `class Gtk_AcceleratorTable' has no member named
>   `gtkacceleratortable'
>   ./../menu.gen_h: In method `void Gtk_Menu::set_accelerator_table(const
>   class Gtk_AcceleratorTable &)':
>   ./../menu.gen_h:195: `class Gtk_AcceleratorTable' has no member named
>   `gtkacceleratortable'

hmm, looks like this is (again) broken. Seems like the acceleratortable needs
to be changed to acceleratortable_. (only happens on gtk+1.0 :)

> Is this a result of the procedure detailed in (1) or do I need to edit
> something?

Hope this helps,

-- 
-- Tero Pulkkinen -- terop@modeemi.cs.tut.fi --

-- 
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post