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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM