./setup.py build Package gtk+-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk+-2.0' found Package gtk+-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk+-2.0' found running build running build_ext building 'trayicon' extension creating build creating build/temp.linux-i686-2.4 gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/python2.4 -c trayicon.c -o build/temp.linux-i686-2.4/trayicon.otrayicon.override:5:23: pygobject.h: No such file or directory In file included from trayicon.override:6: eggtrayicon.h:24:25: gtk/gtkplug.h: No such file or directory eggtrayicon.h:25:22: gdk/gdkx.h: No such file or directory In file included from trayicon.override:6: eggtrayicon.h:36: error: syntax error before "typedef" eggtrayicon.h:41: error: syntax error before "GtkPlug" eggtrayicon.h:41: warning: no semicolon at end of struct or union eggtrayicon.h:43: warning: type defaults to `int' in declaration of `stamp' eggtrayicon.h:43: warning: data definition has no type or storage class eggtrayicon.h:45: error: syntax error before "selection_atom" eggtrayicon.h:45: warning: type defaults to `int' in declaration of `selection_atom' eggtrayicon.h:45: warning: data definition has no type or storage class eggtrayicon.h:46: error: syntax error before "manager_atom" eggtrayicon.h:46: warning: type defaults to `int' in declaration of `manager_atom' eggtrayicon.h:46: warning: data definition has no type or storage class eggtrayicon.h:47: error: syntax error before "system_tray_opcode_atom" eggtrayicon.h:47: warning: type defaults to `int' in declaration of `system_tray_opcode_atom' eggtrayicon.h:47: warning: data definition has no type or storage class eggtrayicon.h:48: error: syntax error before "orientation_atom" eggtrayicon.h:48: warning: type defaults to `int' in declaration of `orientation_atom' eggtrayicon.h:48: warning: data definition has no type or storage class eggtrayicon.h:49: error: syntax error before "manager_window" eggtrayicon.h:49: warning: type defaults to `int' in declaration of `manager_window' eggtrayicon.h:49: warning: data definition has no type or storage class eggtrayicon.h:51: error: syntax error before "orientation" eggtrayicon.h:51: warning: type defaults to `int' in declaration of `orientation' eggtrayicon.h:51: warning: data definition has no type or storage class eggtrayicon.h:56: error: syntax error before "GtkPlugClass" eggtrayicon.h:56: warning: no semicolon at end of struct or union eggtrayicon.h:59: error: syntax error before "egg_tray_icon_get_type" eggtrayicon.h:59: warning: type defaults to `int' in declaration of `egg_tray_icon_get_type' eggtrayicon.h:59: warning: data definition has no type or storage class eggtrayicon.h:61: error: syntax error before '*' token eggtrayicon.h:62: warning: function declaration isn't a prototype eggtrayicon.h:64: warning: type defaults to `int' in declaration of `gchar' eggtrayicon.h:64: error: syntax error before '*' token eggtrayicon.h:64: warning: function declaration isn't a prototype eggtrayicon.h:66: error: syntax error before "egg_tray_icon_send_message" eggtrayicon.h:67: error: syntax error before "gint" eggtrayicon.h:69: warning: type defaults to `int' in declaration of `egg_tray_icon_send_message' eggtrayicon.h:69: warning: function declaration isn't a prototype eggtrayicon.h:69: warning: data definition has no type or storage class eggtrayicon.h:71: error: syntax error before "guint" eggtrayicon.h:71: warning: function declaration isn't a prototype eggtrayicon.h:73: error: syntax error before "egg_tray_icon_get_orientation" eggtrayicon.h:73: warning: type defaults to `int' in declaration of `egg_tray_icon_get_orientation' eggtrayicon.h:73: warning: data definition has no type or storage class trayicon.c:16: error: syntax error before "static" trayicon.c:27: error: syntax error before '*' token trayicon.c:28: warning: function declaration isn't a prototype trayicon.c: In function `_wrap_egg_tray_icon_new': trayicon.c:32: error: `args' undeclared (first use in this function) trayicon.c:32: error: (Each undeclared identifier is reported only once trayicon.c:32: error: for each function it appears in.) trayicon.c:32: error: `kwargs' undeclared (first use in this function) trayicon.c:34: error: `self' undeclared (first use in this function) trayicon.c:34: error: `GObject' undeclared (first use in this function) trayicon.c:34: error: syntax error before ')' token trayicon.c:40: warning: implicit declaration of function `pygobject_register_wrapper' trayicon.c: At top level: trayicon.c:48: error: `PyGObject' undeclared here (not in a function) trayicon.c:71: warning: implicit declaration of function `offsetof' trayicon.c:71: error: `PyGObject' undeclared here (not in a function) trayicon.c:71: error: `weakreflist' undeclared here (not in a function) trayicon.c:71: error: initializer element is not constant trayicon.c:71: error: (near initialization for `PyEggTrayIcon_Type.tp_weaklistoffset') trayicon.c:81: error: `PyGObject' undeclared here (not in a function) trayicon.c:81: error: `inst_dict' undeclared here (not in a function) trayicon.c:81: error: initializer element is not constant trayicon.c:81: error: (near initialization for `PyEggTrayIcon_Type.tp_dictoffset') trayicon.c: In function `trayicon_register_classes': trayicon.c:120: warning: implicit declaration of function `pygobject_register_class' error: command 'gcc' failed with exit status 1 make: *** [build] Error 1