Re: [Ekiga-list] fatal error: gtk/gtk.h: No such file or directory
- From: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
- To: Ekiga mailing list <ekiga-list gnome org>, herman aeronetworks ca
- Subject: Re: [Ekiga-list] fatal error: gtk/gtk.h: No such file or directory
- Date: Tue, 26 Jul 2011 15:31:58 +0200
On 16/05/11 20:18, herman wrote:
On 05/16/2011 10:10 PM, herman wrote:
On 05/16/2011 09:55 PM, herman wrote:
On 05/16/2011 09:41 PM, herman wrote:
On 05/16/2011 09:23 PM, Eugen Dedu wrote:
make V=1
.... snip...
libtool: compile: g++ -DHAVE_CONFIG_H -I. -I../../../..
-I../../../../lib/engine/framework
-I../../../../lib/engine/notification -I/usr/include/sigc++-2.0
-I/usr/lib/sigc++-2.0/include -pthread -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/dbus-1.0
-I/usr/lib/dbus-1.0/include -g -O2 -Wall -Wextra -Winit-self
-Wswitch-default -Wswitch-enum -Wstrict-aliasing=2 -Wfloat-equal
-Wshadow -MT libnotify-main.lo -MD -MP -MF ..deps/libnotify-main.Tpo
-c .../../../../lib/engine/components/libnotify/libnotify-main.cpp
-fPIC -DPIC -o .libs/libnotify-main.o
In file included from /usr/include/libnotify/notify.h:28:0,
from
.../../../../lib/engine/components/libnotify/libnotify-main.cpp:41:
/usr/include/libnotify/notification.h:28:21: fatal error: gtk/gtk.h:
No such file or directory
compilation terminated.
make[6]: *** [libnotify-main.lo] Error 1
make[6]: Leaving directory
`/home/herman/Ekiga/ekiga-3.2.7/lib/engine/components/libnotify'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory
`/home/herman/Ekiga/ekiga-3.2.7/lib/engine/components'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/home/herman/Ekiga/ekiga-3.2.7/lib/engine'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/herman/Ekiga/ekiga-3.2.7/lib'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/herman/Ekiga/ekiga-3.2.7/lib'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/herman/Ekiga/ekiga-3.2.7'
make: *** [all] Error 2
[herman@leo ekiga-3.2.7]$
The header file is here:
[herman@leo ekiga-3.2.7]$ find /usr -name gtk.h
/usr/include/gtk-2.0/gtk/gtk.h
/usr/include/gtk-3.0/gtk/gtk.h
So something like -I/usr/include/gtk-2.0/gtk/ is missing.
I could add that manually if you could tell me in which file
makefile I should add it.
Cheers,
H.
_______________________________________________
ekiga-list mailing list
ekiga-list gnome org
http://mail.gnome.org/mailman/listinfo/ekiga-list
Hmm, in file: lib/engine/components/libnotify/Makefile I see the
following:
GTK_CFLAGS = -pthread -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0
-I/usr/include/cairo -I/usr/include/gdk-pixbuf-2.0
-I/usr/include/pango-1.0 -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng12
Should it be /usr/include/gtk-2.0/gtk/ ?
_______________________________________________
ekiga-list mailing list
ekiga-list gnome org
http://mail.gnome.org/mailman/listinfo/ekiga-list
OK I sort of figured it out, but I'm not good with the configuration
system and has no idea how it really works, so I hacked the Makefile
and added GTK_CFLAGS:
libnotify-main.lo: $(libnotify_dir)/libnotify-main.cpp
$(LIBTOOL) --tag=CXX $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile
$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS)
$(CPPFLAGS) $(AM_CXXFLAGS) $(CXXFLAGS) $(GTK_CFLAGS)
It is busy compiling now - this little netbook is sloooooow - cross
fingers...
_______________________________________________
ekiga-list mailing list
ekiga-list gnome org
http://mail.gnome.org/mailman/listinfo/ekiga-list
Aaaawww man.
The compile finished with no errors, but make install failed:
...snip...
scrollkeeper-update -p /var/lib/rarian -o /usr/share/omf/ekiga
make[2]: Leaving directory `/home/herman/Ekiga/ekiga-3.2.7/help'
make[1]: Leaving directory `/home/herman/Ekiga/ekiga-3.2.7/help'
make[1]: Entering directory `/home/herman/Ekiga/ekiga-3.2.7'
make[2]: Entering directory `/home/herman/Ekiga/ekiga-3.2.7'
make[2]: Nothing to be done for `install-exec-am'.
test -z "/usr/share/applications" || /bin/mkdir -p
"/usr/share/applications"
/usr/bin/install -c -m 644 ekiga.desktop '/usr/share/applications'
GCONF_CONFIG_SOURCE=xml:merged:/etc/gconf/gconf.xml.defaults gconftool-2
--makefile-install-rule ekiga.schemas 2>&1 > /dev/null
gconftool-2 --shutdown
**
GLib-GIO:ERROR:gdbusconnection.c:2270:initable_init: assertion failed:
(connection->initialization_error == NULL)
make[2]: *** [install-schemas] Aborted (core dumped)
make[2]: Leaving directory `/home/herman/Ekiga/ekiga-3.2.7'
make[1]: *** [install-am] Error 2
make[1]: Leaving directory `/home/herman/Ekiga/ekiga-3.2.7'
make: *** [install-recursive] Error 1
[root@leo ekiga-3.2.7]#
Well, this is not for a lack of trying, but with the configuration and
make tools, I really don't know what I am doing...
Sorry to answer so late. The assertion error above has nothing to do
with ekiga. You need to use "su -" instead of "su", see
https://bugzilla.redhat.com/show_bug.cgi?id=650644. I cannot explain
precisely why.
As for gtk issue, I forgot how it got solved, do you remember how?
--
Eugen
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]