【问题标题】:How to add dbus to an embedded python package如何将 dbus 添加到嵌入式 python 包
【发布时间】:2016-05-05 09:30:23
【问题描述】:

我正在使用嵌入式 python 创建一个综合 rpm 包,并且需要在我的构建中包含 dbus。

所以我尝试安装 dbus-python 并得到这个错误:

configure: error: Package requirements (dbus-1 >= 1.6) were not met:

No package 'dbus-1' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables DBUS_CFLAGS
and DBUS_LIBS to avoid the need to call pkg-config.

想法? 谢谢!

【问题讨论】:

    标签: python linux centos rpm dbus


    【解决方案1】:

    需要安装C级D-Bus开发包dbus-devel

    【讨论】:

    • 在 Ubuntu 上我必须这样做:sudo apt-get install libdbus-1-dev libdbus-glib-1-dev
    猜你喜欢
    • 2018-09-19
    • 1970-01-01
    • 2016-07-27
    • 1970-01-01
    • 1970-01-01
    • 2017-09-21
    • 2015-10-08
    • 2013-11-01
    • 1970-01-01
    相关资源
    最近更新 更多