This site has been retired. For up to date information, see handbook.gnome.org or gitlab.gnome.org.


[Home] [TitleIndex] [WordIndex

/!\ This page is not a bug tracker. If you run into a problem not listed here, please file a bug.
When entering a new problem, please enter it above the others, and follow the format of the JhbuildIssues/JhbuildIssueTemplate for new problems/modules.

List of common errors for the module gnome-power-manager.

Error - libnotify/notify.h: No such file or directory

System details: September 21st, 2006 - GNOME 2.16

Stage: Build

make[3]: Entering directory `/opt/cvs/gnome2/gnome-power-manager/src'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include   -DDBUS_API_SUBJECT_TO_CHANGE -I/opt/gnome2/include/hal -I/opt/gnome2/include/dbus-1.0 -I/opt/gnome2/lib/dbus-1.0/include   -pthread -I/opt/gnome2/include/dbus-1.0 -I/opt/gnome2/lib/dbus-1.0/include -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include   -DDBUS_VERSION_MAJOR=0 -DDBUS_VERSION_MINOR=94 -DDBUS_VERSION_MICRO=0 -DORBIT2=1 -pthread -I/opt/gnome2/include/libgnomeui-2.0 -I/opt/gnome2/include/libgnome-2.0 -I/opt/gnome2/include/libgnomecanvas-2.0 -I/opt/gnome2/include/gtk-2.0 -I/opt/gnome2/include/libart-2.0 -I/opt/gnome2/include/gconf/2 -I/opt/gnome2/include/libbonoboui-2.0 -I/opt/gnome2/include/gnome-vfs-2.0 -I/opt/gnome2/lib/gnome-vfs-2.0/include
-I/opt/gnome2/include/gnome-keyring-1 -I/opt/gnome2/include/glib-2.0 -I/opt/gnome2/lib/glib-2.0/include -I/opt/gnome2/include/orbit-2.0 -I/opt/gnome2/include/libbonobo-2.0 -I/opt/gnome2/include/bonobo-activation-2.0 -I/opt/gnome2/include/pango-1.0 -I/opt/gnome2/include -I/usr/include/freetype2 -I/opt/gnome2/lib/gtk-2.0/include -I/opt/gnome2/include/atk-1.0 -I/opt/gnome2/include/cairo -I/opt/gnome2/include/libxml2 -I/opt/gnome2/include/libglade-2.0 -I/opt/gnome2/include/libwnck-1.0     -DBINDIR=\"/opt/gnome2/bin\" -DGNOMELOCALEDIR=\""/opt/gnome2/share/locale"\" -DDATADIR=\"/opt/gnome2/share\" -DPREFIX=\""/opt/gnome2"\" -DSYSCONFDIR=\""/opt/gnome2/etc"\" -DLIBDIR=\""/opt/gnome2/lib"\" -DVERSION="\"2.17.1\"" -DGPM_DATA=\""/opt/gnome2/share/gnome-power-manager/"\"   -Werror -Wall -Wshadow -Wcast-align -Wno-uninitialized -g -fexceptions  -Wall         -Wchar-subscripts -Wmissing-declarations
-Wmissing-prototypes         -Wnested-externs -Wpointer-arith         -Wcast-align -Wsign-compare         -g -O0 -Wno-strict-aliasing -Wno-sign-compare -MT
gpm-tray-icon.o -MD -MP -MF ".deps/gpm-tray-icon.Tpo" -c -o gpm-tray-icon.o gpm-tray-icon.c; \
        then mv -f ".deps/gpm-tray-icon.Tpo" ".deps/gpm-tray-icon.Po"; else rm -f ".deps/gpm-tray-icon.Tpo"; exit 1; fi
gpm-tray-icon.c:46:30: error: libnotify/notify.h: No such file or directory
gpm-tray-icon.c:75: error: expected specifier-qualifier-list before 'NotifyNotification'
cc1: warnings being treated as errors
gpm-tray-icon.c: In function 'gpm_tray_icon_init':
gpm-tray-icon.c:598: warning: implicit declaration of function 'notify_init'
gpm-tray-icon.c:598: warning: nested extern declaration of 'notify_init'
gpm-tray-icon.c: At top level:
gpm-tray-icon.c:644: error: expected ')' before '*' token
gpm-tray-icon.c: In function 'libnotify_event':
gpm-tray-icon.c:672: error: 'GpmTrayIconPrivate' has no member named 'notify'
gpm-tray-icon.c:673: warning: implicit declaration of function 'notify_notification_close'
gpm-tray-icon.c:673: warning: nested extern declaration of 'notify_notification_close'
gpm-tray-icon.c:673: error: 'GpmTrayIconPrivate' has no member named 'notify'
gpm-tray-icon.c:682: error: 'GpmTrayIconPrivate' has no member named 'notify'
gpm-tray-icon.c:682: warning: implicit declaration of function 'notify_notification_new'
gpm-tray-icon.c:682: warning: nested extern declaration of 'notify_notification_new'
gpm-tray-icon.c:686: warning: implicit declaration of function 'notify_notification_set_timeout'
gpm-tray-icon.c:686: warning: nested extern declaration of 'notify_notification_set_timeout'
gpm-tray-icon.c:686: error: 'GpmTrayIconPrivate' has no member named 'notify'
gpm-tray-icon.c:694: error: 'GpmTrayIconPrivate' has no member named 'notify'
gpm-tray-icon.c:694: error: 'notification_closed_cb' undeclared (first use in this function)
gpm-tray-icon.c:694: error: (Each undeclared identifier is reported only once
gpm-tray-icon.c:694: error: for each function it appears in.)
gpm-tray-icon.c:696: warning: implicit declaration of function 'notify_notification_show'
gpm-tray-icon.c:696: warning: nested extern declaration of 'notify_notification_show'
gpm-tray-icon.c:696: error: 'GpmTrayIconPrivate' has no member named 'notify'
gpm-tray-icon.c: In function 'gpm_tray_icon_cancel_notify':
gpm-tray-icon.c:799: error: 'GpmTrayIconPrivate' has no member named 'notify'
gpm-tray-icon.c:800: error: 'GpmTrayIconPrivate' has no member named 'notify'
make[3]: *** [gpm-tray-icon.o] Error 1
make[3]: Leaving directory `/opt/cvs/gnome2/gnome-power-manager/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/opt/cvs/gnome2/gnome-power-manager/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/cvs/gnome2/gnome-power-manager'
make: *** [all] Error 2

Cause:

Solution:

Error - cannot find the library `/usr/lib/libgtk-x11-2.0.la'

System details: September 21st, 2006 - GNOME 2.16

Stage: Build

libtool: link: cannot find the library `/usr/lib/libgtk-x11-2.0.la' or unhandled argument `/usr/lib/libgtk-x11-2.0.la'
make[3]: *** [gnome-power-manager] Error 1
make[3]: Leaving directory `/opt/cvs/gnome2/gnome-power-manager/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/opt/cvs/gnome2/gnome-power-manager/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/cvs/gnome2/gnome-power-manager'
make: *** [all] Error 2

Cause:

Solution:

--- /usr/lib/libnotify.la.orig       2006-09-21 20:03:07.000000000 +0200
+++ /usr/lib/libnotify.la    2006-09-21 19:53:38.000000000 +0200
@@ -14,7 +14,7 @@
 old_library='libnotify.a'

 # Libraries that this one depends upon.
-dependency_libs=' /usr/lib/libgtk-x11-2.0.la /usr/lib/libgdk-x11-2.0.la /usr/lib/libatk-1.0.la /usr/lib/libgdk-x11-2.0.la /usr/lib/libpangocairo-1.0.la /usr/lib/libgdk_pixbuf-2.0.la /usr/lib/libatk-1.0.la /usr/lib/libgdk_pixbuf-2.0.la /usr/lib/libpangocairo-1.0.la /usr/lib/libcairo.la -lSM -lICE /usr/lib/libpangoft2-1.0.la /usr/lib/libpango-1.0.la -lXext -lXinerama -lXi -lXrandr -lXcursor -lXfixes /usr/lib/libpango-1.0.la /usr/lib/libgobject-2.0.la /usr/lib/libgmodule-2.0.la /usr/lib/libcairo.la /usr/lib/libfreetype.la -lz -lfontconfig -lpng12 -lXrender -lm -lX11 /usr/lib/libgobject-2.0.la /usr/lib/libgmodule-2.0.la /usr/lib/libglib-2.0.la -ldl -ldbus-glib-1 -ldbus-1 /usr/lib/libglib-2.0.la'
+#dependency_libs=' /usr/lib/libgtk-x11-2.0.la /usr/lib/libgdk-x11-2.0.la /usr/lib/libatk-1.0.la /usr/lib/libgdk-x11-2.0.la /usr/lib/libpangocairo-1.0.la /usr/lib/libgdk_pixbuf-2.0.la /usr/lib/libatk-1.0.la /usr/lib/libgdk_pixbuf-2.0.la /usr/lib/libpangocairo-1.0.la /usr/lib/libcairo.la -lSM -lICE /usr/lib/libpangoft2-1.0.la /usr/lib/libpango-1.0.la -lXext -lXinerama -lXi -lXrandr -lXcursor -lXfixes /usr/lib/libpango-1.0.la /usr/lib/libgobject-2.0.la /usr/lib/libgmodule-2.0.la /usr/lib/libcairo.la /usr/lib/libfreetype.la -lz -lfontconfig -lpng12 -lXrender -lm -lX11 /usr/lib/libgobject-2.0.la /usr/lib/libgmodule-2.0.la /usr/lib/libglib-2.0.la -ldl -ldbus-glib-1 -ldbus-1 /usr/lib/libglib-2.0.la'

 # Version information for libnotify.
 current=2


CategoryJhbuildIssues


2024-10-23 11:37