You are not logged in.

#1 2006-08-30 01:12:10

big_gie
Member
Registered: 2005-01-19
Posts: 637

makepkg errors: dbus bug?

I'm trying to update a PKGBUILD for gnome-session-manucornet and create one for pam_keyring (http://www.hekanetworks.com/index.php/p … aticId/31/).

I wasn't able to compile pam_keyring, but I suspected a bug in the package. But now I get the same error with gnome-session patched with Manu Cornet's exit dialog patch. The error is :

make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/nicolas/fichiers/programmes/PKGBUILDs/finals/gnome-session-manucornet/src/gnome-session-2.14.2/po'
Making all in gnome-session
make[2]: Entering directory `/home/nicolas/fichiers/programmes/PKGBUILDs/finals/gnome-session-manucornet/src/gnome-session-2.14.2/gnome-session'
make  all-am
make[3]: Entering directory `/home/nicolas/fichiers/programmes/PKGBUILDs/finals/gnome-session-manucornet/src/gnome-session-2.14.2/gnome-session'
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DORBIT2=1 -pthread -I/opt/gnome/include/libgnomeui-2.0 -I/opt/gnome/include/libgnome-2.0 -I/opt/gnome/include/gconf/2 -I/opt/gnome/include/libbonoboui-2.0 -I/opt/gnome/include/gnome-vfs-2.0 -I/opt/gnome/lib/gnome-vfs-2.0/include -I/opt/gnome/include/gnome-keyring-1 -I/opt/gnome/include/orbit-2.0 -I/opt/gnome/include/libbonobo-2.0 -I/opt/gnome/include/bonobo-activation-2.0 -I/opt/gnome/include/gnome-desktop-2.0 -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/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libgnomecanvas-2.0 -I/usr/include/libart-2.0 -I/usr/include/freetype2 -I/usr/include/libxml2 -I/usr/include/startup-notification-1.0   -DPREFIX=""/opt/gnome"" -DSYSCONFDIR=""/opt/gnome/etc"" -DLIBDIR=""/opt/gnome/lib"" -DDATADIR=""/opt/gnome/share""  -Wall -Wmissing-prototypes   -DGNOMELOCALEDIR=""/opt/gnome/share/locale"" -DGCONF_SANITY_CHECK=""/opt/gnome/libexec/gconf-sanity-check-2"" -DGNOME_KEYRING_DAEMON=""/opt/gnome/bin/gnome-keyring-daemon"" -DGNOME_ICONDIR=""/opt/gnome/share/pixmaps"" -DREBOOT_COMMAND="""" -DHALT_COMMAND="""" -DRSH_COMMAND=""ssh"" -DGCONFTOOL_CMD=""/opt/gnome/bin/gconftool-2"" -DDEFAULTDIR=""/opt/gnome/share/gnome"" -DESD_SERVER=""/usr/bin/esd""  -I/usr/include/dbus-1.0/dbus/  -march=i686 -O2 -pipe -MT logout.o -MD -MP -MF ".deps/logout.Tpo" -c -o logout.o logout.c;
        then mv -f ".deps/logout.Tpo" ".deps/logout.Po"; else rm -f ".deps/logout.Tpo"; exit 1; fi
logout.c:34:28: error: dbus/dbus-glib.h: No such file or directory
logout.c: In function 'gpm_dbus_interaction':
logout.c:350: error: 'DBusGConnection' undeclared (first use in this function)
logout.c:350: error: (Each undeclared identifier is reported only once
logout.c:350: error: for each function it appears in.)
logout.c:350: error: 'connection' undeclared (first use in this function)
logout.c:351: error: 'DBusGProxy' undeclared (first use in this function)
logout.c:351: error: 'proxy' undeclared (first use in this function)
logout.c:357: warning: implicit declaration of function 'dbus_g_bus_get'
logout.c:357: error: 'DBUS_BUS_SESSION' undeclared (first use in this function)
logout.c:366: warning: implicit declaration of function 'dbus_g_proxy_new_for_name'
logout.c:374: warning: implicit declaration of function 'dbus_g_proxy_call'
make[3]: *** [logout.o] Error 1
make[3]: Leaving directory `/home/nicolas/fichiers/programmes/PKGBUILDs/finals/gnome-session-manucornet/src/gnome-session-2.14.2/gnome-session'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/nicolas/fichiers/programmes/PKGBUILDs/finals/gnome-session-manucornet/src/gnome-session-2.14.2/gnome-session'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/nicolas/fichiers/programmes/PKGBUILDs/finals/gnome-session-manucornet/src/gnome-session-2.14.2'
make: *** [all] Error 2
==> ERROR: Build Failed.  Aborting...

Why can't it find "dbus/dbus-glib.h" ? Could the gcc option "-I/usr/include/dbus-1.0/dbus/" be the source of the problem?

> ls /usr/include/dbus-1.0/dbus/

connection.h    dbus-address.h          dbus-bus.h              dbus-connection.h
dbus-errors.h   dbus-glib-bindings.h    dbus-glib-error-enum.h  dbus-glib-lowlevel.h
dbus-glib.h     dbus-gtype-specialized.h dbus-macros.h          dbus-memory.h
dbus-message.h  dbus-pending-call.h     dbus-protocol.h         dbus-qt.h
dbus-server.h   dbus-shared.h           dbus-signature.h        dbus-threads.h
dbus-types.h    dbus.h                  message.h               server.h
>

If the include path is "/usr/include/dbus-1.0/dbus/" and it looks for "dbus/dbus-glib.h" it won't find it...

Where to set this?!?

Thanx!

Offline

Board footer

Powered by FluxBB