看看第4页我的帖子里说过了这个问题:
Compiz will be built with gnome-window-decorator only if cairo is installed and pango and gtk+ are built against it. gnome-base/control-center and libwnck are also required.
checking how to hardcode library paths into programs... immediate
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GDU_MODULE_VERSION_CHECK... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed... af am ar az be bg bn bs ca cs cy da de el en_CA en_GB es et eu fa fi fr ga gl gu he hi hr hu id is it ja ko ku lt lv mk ml mn ms nb ne nl nn no nso pa pl pt pt_BR ro ru rw sk sl sq sr sr@Latn sv ta te th tr uk vi wa xh zh_CN zh_HK zh_TW zu
checking for usleep... yes
checking for putenv... yes
checking for setenv... yes
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for XScreenSaverQueryInfo... no
checking for XScreenSaverQueryInfo in -lXss... no
checking for XScreenSaverQueryInfo in -lXext... no
checking X11/Xlib.h usability... yes
checking X11/Xlib.h presence... yes
checking for X11/Xlib.h... yes
checking for X11/extensions/xf86misc.h... yes
checking X11/extensions/XKB.h usability... yes
checking X11/extensions/XKB.h presence... yes
checking for X11/extensions/XKB.h... yes
checking for CAPPLET... yes
checking for GNOMECC... yes
checking for GNOME_SETTINGS_DAEMON... yes
checking for OLD_CAPPLET... yes
checking for GNOME... yes
checking for GTK... yes
checking for VFS_CAPPLET... yes
checking for GNOME_DESKTOP... yes
checking for DEFAULT_APPLICATIONS_CAPPLET... yes
checking for SOUND_CAPPLET... yes
checking for METACITY... yes
checking for LIBXKLAVIER... configure: error: gnome-control-center depends on libxklavier.
The latest release is available from http://prdownloads.sourceforge.net/gswitchit
checking how to hardcode library paths into programs... immediate
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for GDU_MODULE_VERSION_CHECK... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... /usr/bin/msgfmt
checking for dcgettext... yes
checking for gmsgfmt... /usr/bin/msgfmt
checking for xgettext... /usr/bin/xgettext
checking for catalogs to be installed... af am ar az be bg bn bs ca cs cy da de el en_CA en_GB es et eu fa fi fr ga gl gu he hi hr hu id is it ja ko ku lt lv mk ml mn ms nb ne nl nn no nso pa pl pt pt_BR ro ru rw sk sl sq sr sr@Latn sv ta te th tr uk vi wa xh zh_CN zh_HK zh_TW zu
checking for usleep... yes
checking for putenv... yes
checking for setenv... yes
checking for X... libraries , headers
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking for XScreenSaverQueryInfo... no
checking for XScreenSaverQueryInfo in -lXss... no
checking for XScreenSaverQueryInfo in -lXext... no
checking X11/Xlib.h usability... yes
checking X11/Xlib.h presence... yes
checking for X11/Xlib.h... yes
checking for X11/extensions/xf86misc.h... yes
checking X11/extensions/XKB.h usability... yes
checking X11/extensions/XKB.h presence... yes
checking for X11/extensions/XKB.h... yes
checking for CAPPLET... yes
checking for GNOMECC... yes
checking for GNOME_SETTINGS_DAEMON... yes
checking for OLD_CAPPLET... yes
checking for GNOME... yes
checking for GTK... yes
checking for VFS_CAPPLET... yes
checking for GNOME_DESKTOP... yes
checking for DEFAULT_APPLICATIONS_CAPPLET... yes
checking for SOUND_CAPPLET... yes
checking for METACITY... yes
checking for LIBXKLAVIER... configure: error: gnome-control-center depends on libxklavier.
The latest release is available from http://prdownloads.sourceforge.net/gswitchit
复制代码
但是
[Lee@localhost control-center-2.14.0]$ cd libwindow-settings/
Post by xbx_lee
不好意思,昨天搞得太晚了,人昏昏沉沉的,给您添麻烦了。不过还有个问题:注:如果要compiz支持svg的话,需要CVS cairo的支持,在编译cairo之前记得装上libsvg和libsvg-cairo,cairo不就是glitz吗?我究竟应该怎么编译才能让compiz支持svg呢?
我用yum只能找到librsvg2,cairo和cairo-devel,我找到了librsvg-2.14-3和cairo-1.0.4的源码包。在SourceForge里找到:libsvg-cairo is being deprecated in favour of Cairo-enabled librsvg, but included for completeness and comparison. I encourage anyone who currently cares about libsvg-cairo to go give librsvg --with-cairo a try from CVS:... ...于是我下载了源码包,并且在编译librsvg时加入了./configure --prefix=/usr --with-cairo。然后装了编译安装了cairo:./configure --prefix=/usr。结果如下:
cairo will be compiled with the following surface backends:
Xlib: yes
Quartz: no
XCB: no
Win32: no
PostScript: no
PDF: no
glitz: no
the following font backends:
FreeType: yes
Win32: no
ATSUI: no
and the following features:
PNG functions: yes
复制代码
然后因为INSTALL里面说过默认的安装处为:/usr/local/lib,所以加上了
PKG_CONFIG_PATH=/usr/lib/pkgconfig
LD_LIBRARY_PATH=/usr/cairo/lib
export PKG_CONFIG_PATH LD_LIBRARY_PATH
复制代码
结果还是:
the following optional plugins will be compiled:
gconf: yes
place: yes
svg: no
and the following optional features will be compiled: