After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 348472 - .104 Compilation Error
.104 Compilation Error
Status: RESOLVED FIXED
Product: Pan
Classification: Other
Component: general
pre-1.0 betas
Other Linux
: Normal major
: 1.0
Assigned To: Charles Kerr
Pan QA Team
Depends on:
Blocks:
 
 
Reported: 2006-07-24 04:29 UTC by Kevin Gottsman
Modified: 2006-07-25 19:07 UTC
See Also:
GNOME target: ---
GNOME version: 2.3/2.4


Attachments
patch against 0.104 to fix. (1.17 KB, patch)
2006-07-25 16:07 UTC, Charles Kerr
none Details | Review

Description Kevin Gottsman 2006-07-24 04:29:52 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
Comment 1 Kevin Gottsman 2006-07-24 04:31:29 UTC
Forgot to add:

Tried compiling on RHEL 4 / 2.6.9 / Gnome 2.4
Comment 2 Charles Kerr 2006-07-24 13:32:14 UTC
Looks like `gtk_combo_box_get_active_text' wasn't added til gtk 2.6.

Comment 3 Jeff Berman 2006-07-25 06:02:39 UTC
Ouch.  That hits all of us Fink users, as well.  Is gtk 2.6 or greater now a requirement?
Comment 4 Charles Kerr 2006-07-25 16:07:51 UTC
Created attachment 69592 [details] [review]
patch against 0.104 to fix.
Comment 5 Charles Kerr 2006-07-25 16:09:11 UTC
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...
Comment 6 Kevin Gottsman 2006-07-25 16:33:03 UTC
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.
Comment 7 Jeff Berman 2006-07-25 17:38:02 UTC
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.

Comment 8 Charles Kerr 2006-07-25 19:07:38 UTC
Kevin, Jeff, thanks for the reporting/testing.  Keep up the good work!