GNOME Bugzilla – Bug 348472
.104 Compilation Error
Last modified: 2006-07-25 19:07:38 UTC
Pan 0.103 and before compiled fine. Getting the following error after: ./configure make **************** Making all in gui make[3]: Entering directory `/home/kevin/pan-0.104/pan/gui' if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../.. -DORBIT2=1 -pthread -I/usr/include/libgnome-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/orbit-2.0 -I/usr/include/libbonobo-2.0 -I/usr/include/gconf/2 -I/usr/include/gnome-vfs-2.0 -I/usr/lib/gnome-vfs-2.0/include -I/usr/include/bonobo-activation-2.0 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -I/usr/include/gtkspell-2.0 -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 -DXTHREADS -D_REENTRANT -DXUSE_MTSAFE_API -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/gmime-2.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DPANLOCALEDIR=\""/usr/local/share/locale"\" -g -O2 -MT group-prefs-dialog.o -MD -MP -MF ".deps/group-prefs-dialog.Tpo" -c -o group-prefs-dialog.o group-prefs-dialog.cc; \ then mv -f ".deps/group-prefs-dialog.Tpo" ".deps/group-prefs-dialog.Po"; else rm -f ".deps/group-prefs-dialog.Tpo"; exit 1; fi group-prefs-dialog.cc: In member function `void pan::GroupPrefsDialog::save_from_gui()': group-prefs-dialog.cc:74: error: `gtk_combo_box_get_active_text' was not declared in this scope make[3]: *** [group-prefs-dialog.o] Error 1 make[3]: Leaving directory `/home/kevin/pan-0.104/pan/gui' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/home/kevin/pan-0.104/pan' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/kevin/pan-0.104' make: *** [all] Error 2
Forgot to add: Tried compiling on RHEL 4 / 2.6.9 / Gnome 2.4
Looks like `gtk_combo_box_get_active_text' wasn't added til gtk 2.6.
Ouch. That hits all of us Fink users, as well. Is gtk 2.6 or greater now a requirement?
Created attachment 69592 [details] [review] patch against 0.104 to fix.
Jeff: no, it was a goof-up. The patch in #4 should fix, I'd appreciate someone using gtk 2.4 give it a spin before I release 0.105...
With the patch from #4, Pan compiles fine now. However, when I go to "Edit->Edit Group Preferences", nothing happens. I expected to see a window similar to "Edit->Edit Preferences". There are no errors in the console.
I applied the patch (Mac OS X with Fink) and pan also compiles fine now (thanks Charles!). All the Edit->Preference panes work for me. This is with GTK+2.4.9.
Kevin, Jeff, thanks for the reporting/testing. Keep up the good work!