Trolltech Home | Qtopia-interest Home | Recent Threads | All Threads | Author | Date
All threads index page 1

Qtopia-interest Archive, October 2007
qtopia-core fails to build the dbus unit test


Message 1 in thread

Hi,

trying to build qtopia-core 4.3.2 with dbus 1.1.1 :

1) using dbus auto-detection

D-Bus auto-detection... ()
make[1]: Entering directory 
`/tmp/buildd/qtopia-core-4.3.2/config.tests/unix/dbus'
g++ -c -pipe -O2 -Wall -W  -I../../../mkspecs/qws/linux-x86_64-g++ -I. -I. -o 
dbus.o dbus.cpp
dbus.cpp:2:23: error: dbus/dbus.h: No such file or directory
dbus.cpp:5:2: error: #error Needs at least dbus version 1
dbus.cpp: In function 'int main(int, char**)':
dbus.cpp:10: error: 'dbus_shutdown' was not declared in this scope
make[1]: *** [dbus.o] Error 1
make[1]: Leaving directory 
`/tmp/buildd/qtopia-core-4.3.2/config.tests/unix/dbus'
D-Bus disabled.
The QtDBus module cannot be enabled because libdbus-1 version 0.62 was not 
found.
 Turn on verbose messaging (-v) to ./configure to see the final report.
 If you believe this message is in error you may use the continue
 switch (-continue) to ./configure to continue.
make: *** [config.status] Error 101

2) using `pkg-config --cflags dbus-1` passed to configure script

D-Bus auto-detection... ()
make[1]: Entering directory 
`/tmp/buildd/qtopia-core-4.3.2/config.tests/unix/dbus'
g++ -c -pipe -O2 -Wall -W  -I../../../mkspecs/qws/linux-x86_64-g++ -I. -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I. -o 
dbus.o dbus.cpp
g++  -o dbus dbus.o
dbus.o: In function `main':
dbus.cpp:(.text+0x5): undefined reference to `dbus_shutdown'
collect2: ld returned 1 exit status
make[1]: *** [dbus] Error 1
make[1]: Leaving directory 
`/tmp/buildd/qtopia-core-4.3.2/config.tests/unix/dbus'
D-Bus disabled.
The QtDBus module cannot be enabled because libdbus-1 version 0.62 was not 
found.
 Turn on verbose messaging (-v) to ./configure to see the final report.
 If you believe this message is in error you may use the continue
 switch (-continue) to ./configure to continue.
make: *** [config.status] Error 101

any ideas ? dbus too recent ?

btw, something strange in the auto-detection script (1). it doesn't append 
include path properly.

cheers,

Fathi

--
 [ signature omitted ]