2013-09-24, 12:01
Hi,
I'm doing some work on XBMC for Boxee Box and is now trying to add dbus support but is out of my knowledge zone. So far I have got dbus to cross compile for the i686 architecture and xbmc does recognize it when building and thus enable dbus in the code. But when trying to run it on the Boxee Box I get these errors:
When I run dbus-launch on the BB I get this output:
And this is my cmake config for dbus:
I did try to build with ./configure instead of cmake but could not get it to find the dependecies even if the correct lib path was added, and thus I can't use the ac_cv_have_abstract_sockets=yes flag. Any help would be appreciated on solving this one!
I'm doing some work on XBMC for Boxee Box and is now trying to add dbus support but is out of my knowledge zone. So far I have got dbus to cross compile for the i686 architecture and xbmc does recognize it when building and thus enable dbus in the code. But when trying to run it on the Boxee Box I get these errors:
Code:
18:03:03 T:3046815424 DEBUG: ConsoleUPowerSyscall: org.freedesktop.DBus.Error.BadAddress - '=' character not found or has no value following it
18:03:03 T:3046815424 DEBUG: UPowerSyscall: org.freedesktop.DBus.Error.BadAddress - '=' character not found or has no value following it
18:03:04 T:3046815424 DEBUG: UDisks: org.freedesktop.DBus.Error.BadAddress - '=' character not found or has no value following it
18:03:04 T:3046815424 DEBUG: DeviceKit.Disks: org.freedesktop.DBus.Error.BadAddress - '=' character not found or has no value following it
Code:
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-33rvhHWTKH,guid=a650a5e8a792b0d36f65f1b600002db7
DBUS_SESSION_BUS_PID=3122
Code:
ExternalProject_Add(
dbus
URL http://dbus.freedesktop.org/releases/dbus/dbus-1.6.14.tar.gz
URL_MD5 1c22aebdf952e92908800f1ec2aeb0c4
CONFIGURE_COMMAND CC=${TARGET}-gcc ${CMAKE_COMMAND} cmake -DDBUSDIR=${TARGET_DIR} -DDBUS_INSTALL_SYSTEM_LIBS=1
BUILD_COMMAND make
INSTALL_COMMAND make install
COMMAND ${CMAKE_COMMAND} -E copy_if_different dbus-1.pc ${TARGET_DIR}/lib/pkgconfig
BUILD_IN_SOURCE 1
DEPENDS dbus_expat
)