dbus with qt bindings (follow-up)

Dennis Veatch dveatch at woh.rr.com
Sun Apr 17 01:36:52 UTC 2005


On Saturday 16 April 2005 07:40 am, Dennis Veatch wrote:
> On Saturday 16 April 2005 02:55 am, Florin Braescu wrote:
> > Pe data de Sîm 16 Apr 2005 05:33, Dennis Veatch a scris:
> > > On Friday 15 April 2005 05:17 pm, Dennis Veatch wrote:
> > > > On Friday 15 April 2005 04:54 pm, Dennis Veatch wrote:
> > > > > Has anyone gotten this to compile? With qt bindings enabled the
> > > > > dbus configure phase stops with ;
> > > > >
> > > > > checking for moc... no
> > > > > checking for qglobal.h... found
> > > > > configure: WARNING: Qt development libraries not found
> > > > > configure: error: Qt integration explicitly required, and Qt
> > > > > libraries not found
> > > > >
> > > > >
> > > > > Qt is installed. I did find something on google about Pyrex needing
> > > > > to be installed, which it is. Also there was some mention on this
> > > > > thread about it is really looking for libkdecore from kdelibs ;
> > > > >
> > > > > http://lists.freedesktop.org/pipermail/dbus/2004-December/001843.ht
> > > > >ml
> > > > >
> > > > > But nothing I have found tells me how to resolve the problem. Any
> > > > > pointers? _______________________________________________
> > > >
> > > > Moving to /usr/src/dbus-0.23.4 and running a plain "./configure"
> > > > completes without error and shows the following;
> > > >
> > > >  Maintainer mode:          no
> > > >         gcc coverage profiling:   no
> > > >         Building unit tests:      no
> > > >         Building verbose mode:    no
> > > >         Building assertions:      no
> > > >         Building checks:          yes
> > > >         Building Qt bindings:     yes
> > > >         Building GLib bindings:   yes
> > > >         Building Python bindings: yes
> > > >         Building SELinux support: no
> > > >         Building Mono bindings:   no
> > > >         Building Mono docs:       no
> > > >         Building GTK+ tools:      yes
> > > >         Building X11 code:        yes
> > > >         Building Doxygen docs:    yes
> > > >         Building XML docs:        no
> > > >
> > > > Note that Qt bindings will be used. So at this point, well actually I
> > > > still do not know what the problem is except from command line works
> > > > and the lin does not.
> > > > _______________________________________________
> > >
> > > Some more findings.
> > >
> > > Running the following from command line works but not from lin ;
> > >
> > > ./configure --enable-glib --enable-x --enable-checks --with-xml=libxml
> > > --with-system-pid-file=/var/run/messagebus.pid
> > > --with-system-socket=/var/lib/dbus/system_bus_socket
> > > --with-session-socket-dir=/tmp --enable-qt --enable-gtk
> > >
> > > That's essentially from the "OPTS" line in the BUILD. So through
> > > elimination I have found removing "--enable-checks" from the "OPTS"
> > > line in the BUILD allowed the lin to complete successfully. I do not
> > > know what sort of checks it is doing exactly or why that switch will
> > > not let the lin work. _______________________________________________
> >
> >   Try to put
> >
> >   export PATH=$QTDIR/bin:$PATH
> >
> > in the BUILD file.
> >
> >   Florin
> > _______________________________________________
>
> Adding that path did not work.
>
> Dennis
> _______________________________________________


You were on the right path Florin. What it took was adding

export PATH=$KDEDIR/bin:$PATH

Though I did leave the exported Qt path in there.

Poking around the dbus bugzilla and google led me to that. Oh and the current 
version of dbus is 0.32. This bug report that lead me to this is

https://bugs.freedesktop.org/show_bug.cgi?id=1485

Additionally it looks like those optional depends are not really needed by 
looking at the configure.in. They are automatically checked for their 
presence.


More information about the Lunar mailing list