Gentoo Archives: gentoo-user

From: Grant <emailgrant@×××××.com>
To: Gentoo mailing list <gentoo-user@l.g.o>
Subject: [gentoo-user] GtkMozEmbed error
Date: Sun, 20 Jul 2008 02:22:46
1 I'm really struggling with the error I get when trying to compile miro
2 via the ebuild. It used to work but something
3 happened a while ago that prevents it from compiling now. I've tried
4 quite a few things to fix it. Does this tell anybody anything?
6 /usr/include/xulrunner-1.9/unstable/gtkmozembed.h:63:1: warning: this
7 is the location of the previous definition
8 /var/tmp/portage/media-tv/miro-1.2.3/work/Miro-1.2.3/platform/gtk-x11/platform/frontends/html/MozillaBrowser.c:
9 In function 'void log_warning(char*)':
10 /var/tmp/portage/media-tv/miro-1.2.3/work/Miro-1.2.3/platform/gtk-x11/platform/frontends/html/MozillaBrowser.c:246:
11 error: invalid conversion from 'long int' to 'PyGILState_STATE'
12 /var/tmp/portage/media-tv/miro-1.2.3/work/Miro-1.2.3/platform/gtk-x11/platform/frontends/html/MozillaBrowser.c:
13 In function 'gint
14 __pyx_f_8platform_9frontends_4html_14MozillaBrowser_new_window_cb(GtkMozEmbed*,
15 GtkMozEmbed**, guint, PyObject*)':
16 /var/tmp/portage/media-tv/miro-1.2.3/work/Miro-1.2.3/platform/gtk-x11/platform/frontends/html/MozillaBrowser.c:1435:
17 error: cannot convert 'GtkWidget*' to 'GtkMozEmbed*' in assignment
18 /var/tmp/portage/media-tv/miro-1.2.3/work/Miro-1.2.3/platform/gtk-x11/platform/frontends/html/MozillaBrowser.c:1438:
19 error: cannot convert 'GtkWidget*' to 'GtkContainer*' for argument '1'
20 to 'void gtk_container_add(GtkContainer*, GtkWidget*)'
21 error: command 'x86_64-pc-linux-gnu-g++' failed with exit status 1
23 - Grant