缺少 gconf/gconf-client.h

缺少 gconf/gconf-client.h

我正在尝试按照以下说明安装 Evolution 插件:

如何将 Evolution 最小化到 Ubuntu 中的系统托盘?

在此sudo make阶段,我得到以下输出:

make  all-recursive
make[1]: Entering directory `/home/gilnaa/Downloads/evolution-tray-0.0.8'
Making all in src
make[2]: Entering directory `/home/gilnaa/Downloads/evolution-tray-0.0.8/src'
make  all-am
make[3]: Entering directory `/home/gilnaa/Downloads/evolution-tray-0.0.8/src'
  CC     tray.lo
tray.c:28:32: fatal error: gconf/gconf-client.h: No such file or directory
compilation terminated.
make[3]: *** [tray.lo] Error 1
make[3]: Leaving directory `/home/gilnaa/Downloads/evolution-tray-0.0.8/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/gilnaa/Downloads/evolution-tray-0.0.8/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/gilnaa/Downloads/evolution-tray-0.0.8'
make: *** [all] Error 2

参见以下行:

tray.c:28:32: fatal error: gconf/gconf-client.h: No such file or directory

我怎么解决这个问题?

答案1

这意味着您需要安装 gconf 的 C 头文件(又称开发库)。尝试安装包libgconf2-dev,然后重试。

相关内容