tutorial for Windows
Romain Pokrzywka
romain.pokrzywka at kdab.com
Mon Feb 28 17:04:11 PST 2011
On Monday 28 February 2011 12:07:40 Vincent Torri wrote:
> Hey,
>
> On Mon, Feb 28, 2011 at 4:59 PM, Romain Pokrzywka
> <romain.pokrzywka at kdab.com
>
> > wrote:
> >
> > Hi Vincent,
> >
> > If you just want to make sure the bus starts up correctly, you can open a
> > console and go to the bin folder where dbus
> > was build, then try running:
>
> they are in my PATH.
>
> > dbus-daemon.exe --session
>
> done
>
> > which starts up the bus, then :
> >
> > dbus-monitor
> >
> > It should print out some info, that means your bus is up and running, and
> > ready to register services objects.
>
> actually, no. I have:
>
> $ dbus-monitor.exe
> Failed to open connection to session bus: Failed to get autolaunch address
> from launched dbus-daemon
>
> in the Task manager, I see one dbus-daemon launch by dbus-daemon.exe
> --session. Then when i launch bus-monitor.exe, I see 2 others
> dbus-daemon.exe processes, one terminated almost immediatly (so it remains
> 2 dbus-daemon.exe processes running).
>
> That's all I can say.
Thanks for the info.
Weird, that sounds like dbus-monitor was built with a different version than dbus-daemon. The symptoms you describe
indicate that dbus-monitor doesn't recognize the running daemon, which is normally a built-in mechanism.
I suppose you don't have any other dbus builds in your path, or previous installations, and that you didn't modify the
file etc/session.conf ?
Otherwise it sounds like a problem related to the options passed (or not) when building dbus. Can you provide us with
the following :
- which source version you used (1.4.x ?)
- what build tool you used : cmake or automake
- which command line options you passed it
Thanks,
Romain
>
> Vincent
>
> > On Sunday 27 February 2011 16:38:17 Vincent Torri wrote:
> > > Hey,
> > >
> > > first, I know almost nothing about dbus :-)
> > >
> > > I have compiled dbus on Windows (Windows XP, using MinGW) and I would
> >
> > like
> >
> > > to see if it works. I have read most of the pages on the site, I have
> >
> > read
> >
> > > the README, but always without precise indications. What I would like
> > > to have is something like:
> > >
> > > * launch that command
> > > * launch another command
> > > * you should have in your terminal that message
> > >
> > > If I have missed some info (specific to Windows), please tell me. If
> > > not, that kind of documentation should go in the "Windows port"
> > > section, imho
> > >
> > > thank you
> > >
> > > Vincent Torri
> >
> > _______________________________________________
> > dbus mailing list
> > dbus at lists.freedesktop.org
> > http://lists.freedesktop.org/mailman/listinfo/dbus
--
Romain Pokrzywka | romain.pokrzywka at kdab.com | Senior Qt Software Engineer & Trainer
Klarälvdalens Datakonsult AB, a KDAB Group company
Tel. Sweden (HQ) +46-563-540090, USA +1-866-777-KDAB(5322)
KDAB - Qt Experts - Platform-independent software solutions
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2396 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20110228/b02144f6/attachment.bin>
More information about the dbus
mailing list