Compiler construction 如何解决dbus对libnih的依赖性。/configure?
在vps环境中,我刚刚安装了Compiler construction 如何解决dbus对libnih的依赖性。/configure?,compiler-construction,vps,configure,dbus,upstart,Compiler Construction,Vps,Configure,Dbus,Upstart,在vps环境中,我刚刚安装了 dbus-1.6.8 要求 libnih-1.0.3 但是,libnih的安装到此为止: checking for DBUS... no configure: error: Package requirements (dbus-1 >= 1.2.16) were not met: No package 'dbus-1' found Consider adjusting the PKG_CONFIG_PATH environment variable i
dbus-1.6.8
要求
libnih-1.0.3
但是,libnih的安装到此为止:
checking for DBUS... no
configure: error: Package requirements (dbus-1 >= 1.2.16) 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.
See the pkg-config man page for more details.
在哪里设置PKG_CONFIG_PATH环境变量
我的dbus路径是:
/home/MYUSER/usr/local/bin/lib/dbus-1.0
检查dbus-1.0目录,它可能会有一个pkg_config(pr someso)子目录 然后,将PKG_CONFIG_PATH设置为包含该子目录:
export PKG_CONFIG_PATH=/home/MYUSER/usr/local/bin/lib/dbus-1.0/SUBDIR:$PKG_CONFIG_PATH