Re: [Ekiga-list] fatal error: gtk/gtk.h: No such file or directory




On 05/16/2011 10:18 PM, 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...
_______________________________________________
ekiga-list mailing list
ekiga-list gnome org
http://mail.gnome.org/mailman/listinfo/ekiga-list
OK, it turns out that the failed installer did install it, but it still crashes, same as before: 2011/05/16 22:27:29.785 7:58.436 Housekeeper:0xb6b7cb70 OpalUDP Setting interface to 192.168.168.1%vmnet8 2011/05/16 22:27:29.786 7:58.436 Housekeeper:0xb6b7cb70 SIP Transaction timers set: retry=0.500, completion=6.000 2011/05/16 22:27:29.787 7:58.437 Housekeeper:0xb6b7cb70 SIP SUBSCRIBE transaction id=z9hG4bK1056202b-577e-e011-94ca-00265eebdaf4 timeout, making retry 1, timeout 1.000
Segmentation fault (core dumped)

So compiling Ekiga myself on the actual machine that I want to run it on, doesn't help.

BTW, I tried Fedora 15 Beta 2 in a VM and there, Ekiga runs.

Cheers,

Herman


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]