Hi,
I got it to work now. For completeness:
1) the bluez packages (see original post) in FedoraC4 are broken. They
don't work and crash in the way I posted.
=> get latest version and compile yourself
2) the current version of bluez-utils (2.22) doesn't compile propperly on
FC4. The ./configure doesn't find the dbus libraries and just doesn't
compile with dbus support, but without dbus support bluez is unusable for
me. I would concider this to be a bug in bluez, but ymmv.
Now without dbus support sdp doesn't work, e.g. sdptool browse just
returns
Failed to connect to SDP server on 00:07:A4:03:97:24: Connection timed
out
So if a tool doesn't work without dbus, I'd highly recommend to make dbus
a requirement, not an option.
The problem with compiling on FC4 is that for some funky reason dbus
headers are spread over two directories:
/usr/include/dbus-1.0/dbus/* (e.g. dbus.h)
and one other file in
/usr/lib/dbus-1.0/include/dbus/dbus-arch-deps.h
So you have to -I _both_ directories to make #include dbus/dbus.h compile.
Cheers, Rolf