[gtkmm] unable to compile gtkmm-2.2.0



I am attempting to install gtkmm-2.2.0 on a fedora 1 box. 

Using gcc version 3.3.2 20031022 (Red Hat Linux 3.3.2-1).

Does anyone know where I should be looking for info that will help me
solve either of these?

Experiencing a bug similar to bug number 122053
http://bugzilla.gnome.org/show_bug.cgi?id=122053
When I do make, I get : 

In file included from notebook.cc:3:
../../gtk/gtkmm/notebook.h: In member function `const
   Gtk::Notebook_Helpers::Page&
   Gtk::Notebook_Helpers::PageIterator::operator*() const':
../../gtk/gtkmm/notebook.h:774: error:
`Gtk::Notebook_Helpers::PageIterator' is
   an inaccessible base of `Gtk::Notebook_Helpers::Page'
../../gtk/gtkmm/notebook.h: In member function `const
   Gtk::Notebook_Helpers::Page*
   Gtk::Notebook_Helpers::PageIterator::operator->() const':
../../gtk/gtkmm/notebook.h:780: error:
`Gtk::Notebook_Helpers::PageIterator' is
   an inaccessible base of `Gtk::Notebook_Helpers::Page'
make[5]: *** [notebook.lo] Error 1

Further down the listing for 122053, there is an attachment for a
workaround, I've tried some of the workaround, though my understanding
of what exactly it is meant to be doing is limited and so my attempt,
was quite possibly flawed. 

Further down still, it says this problem has been patched, I am unable
to find the patch though. 
It also says the fix has been committed to 2.4 (if I'm reading it
correctly). So I tried installing 2.4, but run into problems in the
install of glibmm-2.4.0. 

when attempting to make glibmm-2.4.0 :


In file included from spawn.cc:3:
../../glib/glibmm/spawn.h:39: error: syntax error before `;' token
../../glib/glibmm/spawn.h:144: error: type specifier omitted for
parameter `Pid
   '
../../glib/glibmm/spawn.h:144: error: syntax error before `*' token
../../glib/glibmm/spawn.h:153: error: type specifier omitted for
parameter `Pid
   '
../../glib/glibmm/spawn.h:153: error: syntax error before `*' token
../../glib/glibmm/spawn.h:163: error: type specifier omitted for
parameter `Pid
   '
../../glib/glibmm/spawn.h:163: error: syntax error before `*' token
../../glib/glibmm/spawn.h:169: error: type specifier omitted for
parameter `Pid
   '
../../glib/glibmm/spawn.h:169: error: syntax error before `*' token
../../glib/glibmm/spawn.h:195: error: `Pid' was not declared in this
scope
../../glib/glibmm/spawn.h:195: error: syntax error before `)' token
spawn.cc:74: error: type specifier omitted for parameter `Pid'
spawn.cc:74: error: syntax error before `*' token
spawn.cc: In function `void Glib::spawn_async_with_pipes(...)':
spawn.cc:79: error: `child_setup' undeclared (first use this function)
spawn.cc:79: error: (Each undeclared identifier is reported only once
for each
   function it appears in.)
spawn.cc:84: error: `working_directory' undeclared (first use this
function)
spawn.cc:85: error: `argv' undeclared (first use this function)
spawn.cc:86: error: `envp' undeclared (first use this function)
spawn.cc:87: error: `flags' undeclared (first use this function)
spawn.cc:90: error: `child_pid' undeclared (first use this function)
spawn.cc:91: error: `standard_input' undeclared (first use this
function)
spawn.cc:91: error: `standard_output' undeclared (first use this
function)
spawn.cc:91: error: `standard_error' undeclared (first use this
function)
spawn.cc: At global scope:
spawn.cc:102: error: type specifier omitted for parameter `Pid'
spawn.cc:102: error: syntax error before `*' token
spawn.cc: In function `void Glib::spawn_async_with_pipes(...)':
spawn.cc:106: error: redefinition of `void
Glib::spawn_async_with_pipes(...)'
spawn.cc:78: error: `void Glib::spawn_async_with_pipes(...)' previously
defined
   here
spawn.cc:106: error: redefinition of `void
Glib::spawn_async_with_pipes(...)'
spawn.cc:78: error: `void Glib::spawn_async_with_pipes(...)' previously
defined
   here
spawn.cc: At global scope:
spawn.cc:130: error: type specifier omitted for parameter `Pid'
spawn.cc:130: error: syntax error before `*' token
spawn.cc:154: error: type specifier omitted for parameter `Pid'
spawn.cc:154: error: syntax error before `*' token
spawn.cc: In function `void Glib::spawn_async(...)':
spawn.cc:155: error: redefinition of `void Glib::spawn_async(...)'
spawn.cc:131: error: `void Glib::spawn_async(...)' previously defined
here
spawn.cc:155: error: redefinition of `void Glib::spawn_async(...)'
spawn.cc:131: error: `void Glib::spawn_async(...)' previously defined
here
spawn.cc: At global scope:
spawn.cc:273: error: `Pid' was not declared in this scope
spawn.cc:273: error: syntax error before `)' token
spawn.cc: In function `void Glib::spawn_close_pid(...)':
spawn.cc:275: error: `pid' undeclared (first use this function)
spawn.cc:275: error: `g_spawn_close_pid' undeclared (first use this
function)
make[5]: *** [spawn.lo] Error 1
make[5]: Leaving directory `/home/ben/glibmm-2.4.0/glib/glibmm'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/ben/glibmm-2.4.0/glib/glibmm'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/ben/glibmm-2.4.0/glib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/ben/glibmm-2.4.0/glib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/ben/glibmm-2.4.0'
make: *** [all] Error 2


Thanks.
Ben. 




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