KUniqueApplication complains ' Cannot find the D-Bus session server'
Thiago Macieira
thiago at kde.org
Wed Jun 28 09:33:34 CEST 2006
Hui Jin wrote:
>I met some problems here:
>the make just complains that dbus/qdbus.h is not found. Here is a
>quick-and-dirty hack, add the hard-coded directory to the
>CMakeList.txt : Ln 33
>
>include_directories ( /usr/local/KDE-4.0/include/dbus-1.0
>${QDBUS_INCLUDE_DIRS} ${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR}
>${KDE4_INCLUDES})
${QDBUS_INCLUDE_DIRS} should be the correct variable. This requires a bit
more of investigation of the CMakeLists.txt files.
>6. start dbus
> $ dbus-launch --sh-syntax
>It looks like the DBus environment is not corrected exported.
It's not. You're supposed to run it like this:
eval `dbus-launch --sh-syntax`
Also note that, if you have another dbus-daemon installed, it could launch
the wrong one, so you may want to set PATH correctly first.
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
thiago.macieira (AT) trolltech.com Trolltech ASA
GPG: 0x6EF45358 | Sandakerveien 116,
E067 918B B660 DBD1 105C | NO-0402
966C 33F5 F005 6EF4 5358 | Oslo, Norway
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 191 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-soc/attachments/20060628/9f4d8e70/attachment-0001.pgp
More information about the Kde-soc
mailing list