Wireshark-dev: Re: [Wireshark-dev] Make gtk3 default (over gtk2)?

From: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
Date: Wed, 24 Jul 2013 19:31:34 +0200



On Wed, Jul 24, 2013 at 7:23 PM, Jakub Zawadzki <darkjames-ws@xxxxxxxxxxxx> wrote:
On Tue, Jul 23, 2013 at 03:50:44PM +0200, Joerg Mayer wrote:
> So let me rephrase that: Let us make gtk3 the default for now, until it
> will be superseeded by qtshark ;-)

./configure after r50863:
#v+
checking for GTK+ - version >= 3.0.0... no
*** Could not run GTK+ test program, checking why...
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means GTK+ is incorrectly installed.
configure: error: Neither Qt nor GTK+ 3.0.0 or later are available, so Wireshark can't be compiled
#v-

;]
Need to make
sudo apt-get install libgtk-3-dev

but it don't build in my Ubuntu 13.04 box...
 
ui/gtk/libgtkui.a(libgtkui_a-bytes_view.o): In function `bytes_view_realize':
/wireshark/ui/gtk/bytes_view.c:221: undefined reference to `gtk_widget_get_colormap'
/wireshark/ui/gtk/bytes_view.c:237: undefined reference to `gdk_window_set_back_pixmap'
ui/gtk/libgtkui.a(libgtkui_a-bytes_view.o): In function `bytes_view_destroy_object':
/wireshark/ui/gtk/bytes_view.c:163: undefined reference to `gtk_object_get_type'
ui/gtk/libgtkui.a(libgtkui_a-capture_dlg.o): In function `capture_prep_cb':
/wireshark/ui/gtk/capture_dlg.c:4871: undefined reference to `ws_gtk_grid_attach_extended'
/wireshark/ui/gtk/capture_dlg.c:4879: undefined reference to `ws_gtk_grid_attach_extended'
/wireshark/ui/gtk/capture_dlg.c:4891: undefined reference to `ws_gtk_grid_attach_extended'
/wireshark/ui/gtk/capture_dlg.c:4899: undefined reference to `ws_gtk_grid_attach_extended'
/wireshark/ui/gtk/capture_dlg.c:4903: undefined reference to `ws_gtk_grid_attach_extended'
ui/gtk/libgtkui.a(libgtkui_a-capture_dlg.o):/wireshark/ui/gtk/capture_dlg.c:4920: more undefined references to `ws_gtk_grid_attach_extended' follow
ui/gtk/libgtkui.a(libgtkui_a-rtp_player.o): In function `decode_streams':
/wireshark/ui/gtk/rtp_player.c:2176: undefined reference to `gtk_statusbar_set_has_resize_grip'
/wireshark/ui/gtk/rtp_player.c:2223: undefined reference to `gtk_statusbar_set_has_resize_grip'
ui/gtk/libgtkui.a(libgtkui_a-rtp_player.o): In function `rtp_player_dlg_create':
/wireshark/ui/gtk/rtp_player.c:2438: undefined reference to `gtk_statusbar_set_has_resize_grip'
collect2: error: ld returned 1 exit status
make[2]: *** [wireshark] Error 1
make[2]: quittant le répertoire « /wireshark »
make[1]: *** [all-recursive] Error 1
make[1]: quittant le répertoire « /wireshark »
make: *** [all] Error 2

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev@xxxxxxxxxxxxx>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
             mailto:wireshark-dev-request@xxxxxxxxxxxxx?subject=unsubscribe