Starting D-BUS

Peter Kümmel syntheticpp at gmx.net
Thu Nov 9 15:28:40 CET 2006


Paulo Jorge Guedes wrote:
>> -----Original Message-----
>> From: Ralf Habacker [mailto:ralf.habacker at freenet.de]
>> Sent: quinta-feira, 9 de Novembro de 2006 12:47
>> To: KDE on Windows
>> Subject: Re: Starting D-BUS
>>
>> Paulo Jorge Guedes schrieb:
>>> Hi,
>>>
>>> Simple question, how to start dbus on win32?
>>>
>> This depends on where you have installed dbus. Say dbus is compiled
> for
>> and install into c:\Program Files\dbus you should open a command line
> and
>> run
>> set PATH=<path where libxml2.dll is located>;%PATH%
>> set PATH="c:\Program Files\dbus\bin";%PATH%
>> dbus-launch
> 
> Strange, I don't have dbus-launch...
> Anyway, I build and installed (in d:\dbus\bin) dbus from svn and it
> seems to have some paths hardcoded:
> 
> D:\>dbus-launch
> "starting global dbus daemon"
> The system cannot find the file c:/Programme/dbus/bin/dbus-daemon.
> 
> Paulo

Hi Paulo,
does this patch help?


$ svn diff cmake
Index: cmake/dbus-launch.bat.cmake
===================================================================
--- cmake/dbus-launch.bat.cmake (revision 364)
+++ cmake/dbus-launch.bat.cmake (working copy)
@@ -12,5 +12,5 @@
        start bin\dbus-daemon --config-file=bus\build-session.conf
 ) else (
   @echo "starting global dbus daemon"
-       start c:/Programme/dbus/bin/dbus-daemon --session
+       start %PROGRAMFILES%/dbus/bin/dbus-daemon --session
 )


-- 
Peter Kümmel



More information about the Kde-windows mailing list