Bug 335 - Build fails when configured with the --disable-gnome flag
Status:
RESOLVED FIXED
Component:
Build-Env
Version:
1.4.1
Hardware:
PC Linux
Importance:
P2 normal
Target Milestone:
---
Assignee:
Rob Caelers
URL:
Depends on:
Blocks:
Reported:
Nov 19 2003 09:33:02 UTC
by:
J. J. Ramsey
Modified:
Dec 29 2003 05:06:59 UTC
WhoWhenWhatRemovedAdded
Rob CaelersDec 29 2003 05:06:59 UTCstatusNEWRESOLVED
resolutionFIXED
Description
J. J. Ramsey  Nov 19 2003 09:33:02 UTC
I ran ./configure with the flags --prefix=/usr, --sysconfdir=/etc,
--disable-distribution, and --disable-gnome. The make failed with these errors:

RestBreakWindow.cc: In member function `Gtk::Widget*
   RestBreakWindow::create_info_panel()':
RestBreakWindow.cc:176: error: invalid use of undefined type `struct Gtk::Label
   '
/usr/include/gtkmm-2.0/gtkmm/container.h:52: error: forward declaration of `
   struct Gtk::Label'
RestBreakWindow.cc:176: error: `manage' undeclared (first use this function)
RestBreakWindow.cc:176: error: (Each undeclared identifier is reported only
   once for each function it appears in.)
RestBreakWindow.cc:182: error: `set_markup' undeclared (first use this
   function)
RestBreakWindow.cc:184: error: no matching function for call to `Gtk::HBox::
   pack_start(Gtk::Label&, bool, bool, int)'
/usr/include/gtkmm-2.0/gtkmm/box.h:302: error: candidates are: void
   Gtk::Box::pack_start(Gtk::Widget&, bool, bool, unsigned int)
/usr/include/gtkmm-2.0/gtkmm/box.h:303: error:                 void
   Gtk::Box::pack_start(Gtk::Widget&, Gtk::PackOptions, unsigned int)
make[5]: *** [workrave-RestBreakWindow.o] Error 1
make[5]: Leaving directory `/home/jj/Tarballs/workrave-1.4.1/src/app/gtkmm'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/jj/Tarballs/workrave-1.4.1/src/app/gtkmm'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/jj/Tarballs/workrave-1.4.1/src/app'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/jj/Tarballs/workrave-1.4.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/jj/Tarballs/workrave-1.4.1'
make: *** [all] Error 2

Workrave compiles fine without the --disable-gnome flag.