ubuntu安装dbus
下载地址
https://dbus.freedesktop.org/releases/dbus/
编译安装
./configure --prefix=/home/ubuntu/dbus-1.13.18/install make && make install
出现如下错误:
configure: error: The pkg-config script could not be found or is too old. Make sure it is in your PATH or set the PKG_CONFIG environment variable to the full path to pkg-config.
解决办法:
sudo apt-get install pkg-config
出现如下错误:
checking for EXPAT... configure: error: Package requirements (expat) were not met: No package 'expat' found
解决办法:
sudo apt-get install libexpat1-dev