DBUS ARM 移植

自闭症网瘾萝莉.ら 提交于 2019-12-09 11:38:42

 

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 用户

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!