如何将dbus添加到嵌入式python包中

时间:2016-05-05 09:30:24

标签: python linux centos rpm dbus

我正在使用嵌入式python创建一个omnibus 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.

想法? 谢谢!

1 个答案:

答案 0 :(得分:2)

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