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
posted @ 2020-12-14 17:11  thomas_blog  阅读(1829)  评论(0编辑  收藏  举报