Re: [gtkmm] Error during installation of gtkmm on a Fedora machine



On Sunday 03 October 2004 20:34, Besnik Bleta wrote:
> Hi all,
>
> I'm trying to install efax-gtk on my Fedora machine and it asked about
> gtkmm package.
> I had both libsigc++-1.2 and libsigc++-2.0 installed. Than tried the
> followings:
>
>
> export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig:$PKG_CONFIG_PATH
> ./configure               (which run till th end, no errors)
> make                       (which, regardless the version of gtkmm  -
> 2.0 or 2.2, stops with the following error:
>
> 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:766: 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:772: error:
> `Gtk::Notebook_Helpers::PageIterator' is
>     an inaccessible base of `Gtk::Notebook_Helpers::Page'
> make[5]: *** [notebook.lo] Error 1
> make[4]: *** [all-recursive] Error 1
> make[3]: *** [all-recursive] Error 1
> make[2]: *** [all-recursive-am] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all-recursive-am] Error 2

It looks like you are using gcc-3.4.

If you have GTK+-2.2 installed, then you need to use gtkmm-2.2.12 (which will 
compile with gcc-3.4 but earlier versions will not).  If you have GTK+-2.4 
installed, then you need to use gtkmm-2.4.

Chris.



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