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




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...

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