Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Compiling 2.2.0 fails on Redhat Enterprise 4

Help
2006-04-13
2013-04-24
  • Andy Schofield
    Andy Schofield
    2006-04-13

    Hi, I am getting the following error when trying to make version 2.2.0. Any ideas?
    Thanks

    Compiling gui.cc...                     if g++ -DHAVE_CONFIG_H -I. -I. -I../config  -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -pthread -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libglade-2.0 -I/usr/include/libxml2   -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -DORBIT2=1 -pthread -I/usr/include/panel-2.0 -I/usr/include/gtk-2.0 -I/usr/include/libgnomeui-2.0 -I/usr/include/libbonoboui-2.0 -I/usr/lib/gtk-2.0/include -I/usr/X11R6/include -I/usr/include/atk-1.0 -I/usr/include/pango-1.0 -I/usr/include/freetype2 -I/usr/include/freetype2/config -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libgnome-2.0 -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/gconf/2 -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -I/usr/include/libxml2   -DGNUBIFF_LOCALEDIR=\""/usr/local/share/locale"\" -DGNUBIFF_DATADIR=\""/usr/local/share/gnubiff"\" -DGNUBIFF_ICONDIR=\""/usr/local/share/pixmaps"\" -DGNUBIFF_UIDIR=\""/usr/local/share/gnome-2.0/ui"\" -DREAL_DATADIR=\""/usr/local/share"\" -D_GNU_SOURCE -Wall -ansi -pedantic    -g -O2 -MT gui.o -MD -MP -MF ".deps/gui.Tpo" -c -o gui.o gui.cc; \         then mv -f ".deps/gui.Tpo" ".deps/gui.Po"; else rm -f ".deps/gui.Tpo"; exit 1; fi
    gui.cc: In member function `void GUI::create_insert_version()':
    gui.cc:247: error: `GtkAboutDialog' was not declared in this scope
    gui.cc:247: error: `about' was not declared in this scope
    gui.cc:248: error: `GTK_ABOUT_DIALOG' was not declared in this scope
    gui.cc:251: error: `gtk_about_dialog_set_version' was not declared in this scopegui.cc:251: warning: unused variable 'gtk_about_dialog_set_version'
    gui.cc:247: warning: unused variable 'GtkAboutDialog'
    gui.cc:248: warning: unused variable 'GTK_ABOUT_DIALOG'
    make[1]: *** [gui.o] Error 1
    make[1]: Leaving directory `/sandbox/rpm/BUILD/gnubiff-2.2.0/src'
    make: *** [all-recursive] Error 1

     
    • Robert Sowada
      Robert Sowada
      2006-04-13

      Hi Andy,

      your problem is probably caused by a bug in the configure file. Gnubiff 2.2.0 needs at least gtk 2.6 (at the moment there is only a test for gtk 2.4 or higher). This bug is fixed now in the CVS version of gnubiff.
      Do you have gtk 2.4 installed?

      CU Robert :-)

       
    • Andy Schofield
      Andy Schofield
      2006-04-14

      Thanks Robert - yes I have gtk 2.4 so that explains my problem.
      cheers
      Andy