我试图重新编译gnome-packagekit(CentOS的最新更新将其删除,并重新安装它导致应用程序损坏)。当我尝试运行./configure
脚本时,出现以下错误:
...
checking for PACKAGEKIT... no
configure: error: Package requirements (packagekit-glib2 >= 0.7.0) were not met:
No package 'packagekit-glib2' 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 PACKAGEKIT_CFLAGS
and PACKAGEKIT_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
根据软件安装程序,CentOS安装了以下内容:
Compatibility package with PackageKit 0.8 libraries
compat-libpackagekit-glib2-16-0.8.9-1.el7 (64-bit)
但输入此(以及多种变体):
# yum info compat-libpackagekit-glib2
返回以下消息:
Error: No matching Packages to list
此外,运行whereis
命令会导致结果为空(我认为这意味着找不到包)。冗长的互联网搜索没有得出相关答案。
所以,我的问题是:
./configure
脚本的环境变量(如上所示)指定哪些值,以便我可以重新编译gnome-packagekit?