DBUS ARM 移植
dbus-1.5.0.tar.gz
expat-2.2.0.tar.bz2
DBUS移植
./configure --host=arm-linux-gnueabihf --prefix=/opt/rootnfs/dbusdev/expat-2.2.0/expatInstall
./configure --host=arm-linux-gnueabihf --prefix=/opt/rootnfs/dbusdev/dbus-1.5.0/dbusInstall CFLAGS=-I/opt/rootnfs/dbusdev/expat-2.2.0/expatInstall/include LDFLAGS=-L/opt/rootnfs/dbusdev/expat-2.2.0/expatInstall/lib
ARM端
export LD_LIBRARY_PATH=/tmp/dbusdev/expat-2.2.0/expatInstall/lib:/tmp/dbusdev/dbus-1.5.0/dbusInstall/lib:$LD_LIBRARY_PATH
./dbus-daemon --config-file=../etc/dbus-1/system.conf --print-address
./dbus-daemon --config-file=../etc/dbus-1/session.conf --print-address
Failed to start message bus: Failed to bind socket "/opt/rootnfs/dbusdev/dbus-1.5.0/dbusInstall/var/run/dbus/system_bus_socket": No such file or directory
修改 system.conf 檔案
./dbus-daemon --config-file=../etc/dbus-1/system.conf --print-address
unix:path=/tmp/dbusdev/dbus-1.5.0/dbusInstall/var/run/dbus/system_bus_socket,guid=18ff1e7a63dc6c7a84f38792000007f0
Failed to start message bus: Could not get UID and GID for username "messagebus"
新增 messagebus 使用者