Starting D-BUS
Christian Ehrlicher
Ch.Ehrlicher at gmx.de
Wed Nov 15 20:31:09 CET 2006
Ralf Habacker schrieb:
> Paulo Jorge Guedes schrieb:
>>> -----Original Message-----
>>> From: Ralf Habacker [mailto:ralf.habacker at freenet.de]
>>> Sent: sexta-feira, 10 de Novembro de 2006 15:53
>>> To: KDE on Windows
>>> Subject: Re: Starting D-BUS
>>>
>>
>>> It's very important to use recent dbus sources, because it changes
>>>
>> very
>>
>>> fast. Additional it is important that the QDBus library is full
>>> functional, which may not be in any cases at now. We recognized
>>>
>> problems
>>
>>> with registered methods/services not callable. Not sure, where the
>>> problems are.
>>>
>>> You can check qdbus state by compiling the qdbus tools and examples
>>> provided by qt sources. A howto could be found
>>>
>>>
>> http://www.kdelibs.com/wiki/index.php/Building_KDElibs_4_using_GCC_and_M
>> in
>>
>>> GW_with_Qt_4.2#Installing_Qt_Library
>>>
>> I'm using Qt 4.2.1 and updated to winDBus-10.11.2006.
>>
>> dbus-launch is successful and returns this output:
>>
>> _dbus_set_signal_handler() has to be implemented
>> _dbus_set_signal_handler() has to be implemented
>>
> this could be ignored
>> And when I try to run an application I get this error:
>>
>> D:\kde\build-nmake\kdewebdev>klinkstatus
>> 5820: assertion failed "*address != '\0'" file
>> "D:\kde\winDBus-10.11.2006\dbus\d
>> bus-transport.c" line 222 function unknown function
>>
>> What could be the problem?
>>
>>
> Do you have the following variables in your environment, which should be
> set by dbus-launch (showable with the 'set' command on the command line)
>
> DBUS_SESSION_BUS_ADDRESS=tcp:host=localhost,port=12434
> DBUS_SYSTEM_BUS_DEFAULT_ADDRESS=tcp:host=localhost,port=12434
>
> It is possible to run dbus-viewer or qdbus (located in <qt-root>/bin)
>
> If all works well it is possible to set a breakpoint on check_address()
> and return the backtrace (bt with gdb, I don't know for msvc) to see
> from which function the check_address() call was initiated ?
>
>
>
> If I remember right was Peter faced with the same problem. May be he can
> give more informations.
The problem only was that the two env vars
> DBUS_SESSION_BUS_ADDRESS=tcp:host=localhost,port=12434
> DBUS_SYSTEM_BUS_DEFAULT_ADDRESS=tcp:host=localhost,port=12434
were not set. Therefore dbus tries to autolaunch the dbus daemon which
fails because I'm unable to implement _dbus_get_autolaunch_adress().
Christian
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://mail.kde.org/pipermail/kde-windows/attachments/20061115/55acd703/attachment.pgp
More information about the Kde-windows
mailing list