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



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 --



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]