LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
楼主: rockmen

FC5 下安装Xgl + compiz

[复制链接]
发表于 2006-3-31 22:09:00 | 显示全部楼层
Post by rugo
没有边框是没有运行gnome-window-decorator,这个东东是compiz里面的,configure到最后的时候如果它有提示“gnome: yes”,那么应该会编译gnome-window-decorator

請問一下樓主,config到這一步,gnome總是 no ,但我己在libwindow-settings這個目錄里面執行了make && make install,是否還有什麼地方我沒有做?

按照樓主的方法,己經出到大部份XGL效果,沒花畫面但是沒有邊框,問題解決唔到,我試過在google尋找,幾日來都沒有答案,無計可行也。還請樓主幫忙幫忙解答小人問題,謝謝。

看看第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.
回复 支持 反对

使用道具 举报

发表于 2006-4-3 04:01:12 | 显示全部楼层

control-center出错,rock兄弟及大家帮忙看看。


  1. [Lee@localhost control-center-2.14.0]$ ./configure --prefix=/usr --sysconfdir=/etc --infodir=/usr/share/info --mandir=/usr/share/man --sharedstatedir=/usr/share/com --localstatedir=/var
  2. checking for a BSD-compatible install... /usr/bin/install -c
  3. checking whether build environment is sane... yes
  4. checking for gawk... gawk
  5. checking whether make sets $(MAKE)... yes
  6. checking how to create a ustar tar archive... gnutar
  7. checking whether to enable maintainer-specific portions of Makefiles... no
  8. checking for perl... /usr/bin/perl
  9. checking for XML::Parser... ok
  10. checking for iconv... /usr/bin/iconv
  11. checking for msgfmt... /usr/bin/msgfmt
  12. checking for msgmerge... /usr/bin/msgmerge
  13. checking for xgettext... /usr/bin/xgettext
  14. checking for style of include used by make... GNU
  15. checking for gcc... gcc
  16. checking for C compiler default output file name... a.out
  17. checking whether the C compiler works... yes
  18. checking whether we are cross compiling... no
  19. checking for suffix of executables...
  20. checking for suffix of object files... o
  21. checking whether we are using the GNU C compiler... yes
  22. checking whether gcc accepts -g... yes
  23. checking for gcc option to accept ANSI C... none needed
  24. checking dependency style of gcc... gcc3
  25. checking what warning flags to pass to the C compiler... -Wall -Wmissing-prototypes
  26. checking what language compliance flags to pass to the C compiler...
  27. checking for library containing strerror... none required
  28. checking for gcc... (cached) gcc
  29. checking whether we are using the GNU C compiler... (cached) yes
  30. checking whether gcc accepts -g... (cached) yes
  31. checking for gcc option to accept ANSI C... (cached) none needed
  32. checking dependency style of gcc... (cached) gcc3
  33. checking how to run the C preprocessor... gcc -E
  34. checking for egrep... grep -E
  35. checking for ANSI C header files... yes
  36. checking build system type... i686-pc-linux
  37. checking host system type... i686-pc-linux
  38. checking for a sed that does not truncate output... /bin/sed
  39. checking for ld used by gcc... /usr/bin/ld
  40. checking if the linker (/usr/bin/ld) is GNU ld... yes
  41. checking for /usr/bin/ld option to reload object files... -r
  42. checking for BSD-compatible nm... /usr/bin/nm -B
  43. checking whether ln -s works... yes
  44. checking how to recognise dependent libraries... pass_all
  45. checking for sys/types.h... yes
  46. checking for sys/stat.h... yes
  47. checking for stdlib.h... yes
  48. checking for string.h... yes
  49. checking for memory.h... yes
  50. checking for strings.h... yes
  51. checking for inttypes.h... yes
  52. checking for stdint.h... yes
  53. checking for unistd.h... yes
  54. checking dlfcn.h usability... yes
  55. checking dlfcn.h presence... yes
  56. checking for dlfcn.h... yes
  57. checking for g++... g++
  58. checking whether we are using the GNU C++ compiler... yes
  59. checking whether g++ accepts -g... yes
  60. checking dependency style of g++... gcc3
  61. checking how to run the C++ preprocessor... g++ -E
  62. checking for g77... g77
  63. checking whether we are using the GNU Fortran 77 compiler... yes
  64. checking whether g77 accepts -g... yes
  65. checking the maximum length of command line arguments... 32768
  66. checking command to parse /usr/bin/nm -B output from gcc object... ok
  67. checking for objdir... .libs
  68. checking for ar... ar
  69. checking for ranlib... ranlib
  70. checking for strip... strip
  71. checking if gcc supports -fno-rtti -fno-exceptions... no
  72. checking for gcc option to produce PIC... -fPIC
  73. checking if gcc PIC flag -fPIC works... yes
  74. checking if gcc static flag -static works... yes
  75. checking if gcc supports -c -o file.o... yes
  76. checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
  77. checking whether -lc should be explicitly linked in... no
  78. checking dynamic linker characteristics... GNU/Linux ld.so
  79. checking how to hardcode library paths into programs... immediate
  80. checking whether stripping libraries is possible... yes
  81. checking if libtool supports shared libraries... yes
  82. checking whether to build shared libraries... yes
  83. checking whether to build static libraries... yes
  84. configure: creating libtool
  85. appending configuration tag "CXX" to libtool
  86. checking for ld used by g++... /usr/bin/ld
  87. checking if the linker (/usr/bin/ld) is GNU ld... yes
  88. checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
  89. checking for g++ option to produce PIC... -fPIC
  90. checking if g++ PIC flag -fPIC works... yes
  91. checking if g++ static flag -static works... yes
  92. checking if g++ supports -c -o file.o... yes
  93. checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
  94. checking dynamic linker characteristics... GNU/Linux ld.so
  95. checking how to hardcode library paths into programs... immediate
  96. appending configuration tag "F77" to libtool
  97. checking if libtool supports shared libraries... yes
  98. checking whether to build shared libraries... yes
  99. checking whether to build static libraries... yes
  100. checking for g77 option to produce PIC... -fPIC
  101. checking if g77 PIC flag -fPIC works... yes
  102. checking if g77 static flag -static works... yes
  103. checking if g77 supports -c -o file.o... yes
  104. checking whether the g77 linker (/usr/bin/ld) supports shared libraries... yes
  105. checking dynamic linker characteristics... GNU/Linux ld.so
  106. checking how to hardcode library paths into programs... immediate
  107. checking for pkg-config... /usr/bin/pkg-config
  108. checking pkg-config is at least version 0.9.0... yes
  109. checking for GDU_MODULE_VERSION_CHECK... yes
  110. checking locale.h usability... yes
  111. checking locale.h presence... yes
  112. checking for locale.h... yes
  113. checking for LC_MESSAGES... yes
  114. checking libintl.h usability... yes
  115. checking libintl.h presence... yes
  116. checking for libintl.h... yes
  117. checking for ngettext in libc... yes
  118. checking for dgettext in libc... yes
  119. checking for bind_textdomain_codeset... yes
  120. checking for msgfmt... /usr/bin/msgfmt
  121. checking for dcgettext... yes
  122. checking for gmsgfmt... /usr/bin/msgfmt
  123. checking for xgettext... /usr/bin/xgettext
  124. 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
  125. checking for usleep... yes
  126. checking for putenv... yes
  127. checking for setenv... yes
  128. checking for X... libraries , headers
  129. checking for gethostbyname... yes
  130. checking for connect... yes
  131. checking for remove... yes
  132. checking for shmat... yes
  133. checking for IceConnectionNumber in -lICE... yes
  134. checking for XScreenSaverQueryInfo... no
  135. checking for XScreenSaverQueryInfo in -lXss... no
  136. checking for XScreenSaverQueryInfo in -lXext... no
  137. checking X11/Xlib.h usability... yes
  138. checking X11/Xlib.h presence... yes
  139. checking for X11/Xlib.h... yes
  140. checking for X11/extensions/xf86misc.h... yes
  141. checking X11/extensions/XKB.h usability... yes
  142. checking X11/extensions/XKB.h presence... yes
  143. checking for X11/extensions/XKB.h... yes
  144. checking for CAPPLET... yes
  145. checking for GNOMECC... yes
  146. checking for GNOME_SETTINGS_DAEMON... yes
  147. checking for OLD_CAPPLET... yes
  148. checking for GNOME... yes
  149. checking for GTK... yes
  150. checking for VFS_CAPPLET... yes
  151. checking for GNOME_DESKTOP... yes
  152. checking for DEFAULT_APPLICATIONS_CAPPLET... yes
  153. checking for SOUND_CAPPLET... yes
  154. checking for METACITY... yes
  155. checking for LIBXKLAVIER... configure: error: gnome-control-center depends on libxklavier.
  156. The latest release is available from http://prdownloads.sourceforge.net/gswitchit
  157. [Lee@localhost control-center-2.14.0]$ ./configure --prefix=/usr --sysconfdir=/etc --infodir=/usr/share/info --mandir=/usr/share/man --sharedstatedir=/usr/share/com --localstatedir=/var
  158. checking for a BSD-compatible install... /usr/bin/install -c
  159. checking whether build environment is sane... yes
  160. checking for gawk... gawk
  161. checking whether make sets $(MAKE)... yes
  162. checking how to create a ustar tar archive... gnutar
  163. checking whether to enable maintainer-specific portions of Makefiles... no
  164. checking for perl... /usr/bin/perl
  165. checking for XML::Parser... ok
  166. checking for iconv... /usr/bin/iconv
  167. checking for msgfmt... /usr/bin/msgfmt
  168. checking for msgmerge... /usr/bin/msgmerge
  169. checking for xgettext... /usr/bin/xgettext
  170. checking for style of include used by make... GNU
  171. checking for gcc... gcc
  172. checking for C compiler default output file name... a.out
  173. checking whether the C compiler works... yes
  174. checking whether we are cross compiling... no
  175. checking for suffix of executables...
  176. checking for suffix of object files... o
  177. checking whether we are using the GNU C compiler... yes
  178. checking whether gcc accepts -g... yes
  179. checking for gcc option to accept ANSI C... none needed
  180. checking dependency style of gcc... gcc3
  181. checking what warning flags to pass to the C compiler... -Wall -Wmissing-prototypes
  182. checking what language compliance flags to pass to the C compiler...
  183. checking for library containing strerror... none required
  184. checking for gcc... (cached) gcc
  185. checking whether we are using the GNU C compiler... (cached) yes
  186. checking whether gcc accepts -g... (cached) yes
  187. checking for gcc option to accept ANSI C... (cached) none needed
  188. checking dependency style of gcc... (cached) gcc3
  189. checking how to run the C preprocessor... gcc -E
  190. checking for egrep... grep -E
  191. checking for ANSI C header files... yes
  192. checking build system type... i686-pc-linux
  193. checking host system type... i686-pc-linux
  194. checking for a sed that does not truncate output... /bin/sed
  195. checking for ld used by gcc... /usr/bin/ld
  196. checking if the linker (/usr/bin/ld) is GNU ld... yes
  197. checking for /usr/bin/ld option to reload object files... -r
  198. checking for BSD-compatible nm... /usr/bin/nm -B
  199. checking whether ln -s works... yes
  200. checking how to recognise dependent libraries... pass_all
  201. checking for sys/types.h... yes
  202. checking for sys/stat.h... yes
  203. checking for stdlib.h... yes
  204. checking for string.h... yes
  205. checking for memory.h... yes
  206. checking for strings.h... yes
  207. checking for inttypes.h... yes
  208. checking for stdint.h... yes
  209. checking for unistd.h... yes
  210. checking dlfcn.h usability... yes
  211. checking dlfcn.h presence... yes
  212. checking for dlfcn.h... yes
  213. checking for g++... g++
  214. checking whether we are using the GNU C++ compiler... yes
  215. checking whether g++ accepts -g... yes
  216. checking dependency style of g++... gcc3
  217. checking how to run the C++ preprocessor... g++ -E
  218. checking for g77... g77
  219. checking whether we are using the GNU Fortran 77 compiler... yes
  220. checking whether g77 accepts -g... yes
  221. checking the maximum length of command line arguments... 32768
  222. checking command to parse /usr/bin/nm -B output from gcc object... ok
  223. checking for objdir... .libs
  224. checking for ar... ar
  225. checking for ranlib... ranlib
  226. checking for strip... strip
  227. checking if gcc supports -fno-rtti -fno-exceptions... no
  228. checking for gcc option to produce PIC... -fPIC
  229. checking if gcc PIC flag -fPIC works... yes
  230. checking if gcc static flag -static works... yes
  231. checking if gcc supports -c -o file.o... yes
  232. checking whether the gcc linker (/usr/bin/ld) supports shared libraries... yes
  233. checking whether -lc should be explicitly linked in... no
  234. checking dynamic linker characteristics... GNU/Linux ld.so
  235. checking how to hardcode library paths into programs... immediate
  236. checking whether stripping libraries is possible... yes
  237. checking if libtool supports shared libraries... yes
  238. checking whether to build shared libraries... yes
  239. checking whether to build static libraries... yes
  240. configure: creating libtool
  241. appending configuration tag "CXX" to libtool
  242. checking for ld used by g++... /usr/bin/ld
  243. checking if the linker (/usr/bin/ld) is GNU ld... yes
  244. checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
  245. checking for g++ option to produce PIC... -fPIC
  246. checking if g++ PIC flag -fPIC works... yes
  247. checking if g++ static flag -static works... yes
  248. checking if g++ supports -c -o file.o... yes
  249. checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
  250. checking dynamic linker characteristics... GNU/Linux ld.so
  251. checking how to hardcode library paths into programs... immediate
  252. appending configuration tag "F77" to libtool
  253. checking if libtool supports shared libraries... yes
  254. checking whether to build shared libraries... yes
  255. checking whether to build static libraries... yes
  256. checking for g77 option to produce PIC... -fPIC
  257. checking if g77 PIC flag -fPIC works... yes
  258. checking if g77 static flag -static works... yes
  259. checking if g77 supports -c -o file.o... yes
  260. checking whether the g77 linker (/usr/bin/ld) supports shared libraries... yes
  261. checking dynamic linker characteristics... GNU/Linux ld.so
  262. checking how to hardcode library paths into programs... immediate
  263. checking for pkg-config... /usr/bin/pkg-config
  264. checking pkg-config is at least version 0.9.0... yes
  265. checking for GDU_MODULE_VERSION_CHECK... yes
  266. checking locale.h usability... yes
  267. checking locale.h presence... yes
  268. checking for locale.h... yes
  269. checking for LC_MESSAGES... yes
  270. checking libintl.h usability... yes
  271. checking libintl.h presence... yes
  272. checking for libintl.h... yes
  273. checking for ngettext in libc... yes
  274. checking for dgettext in libc... yes
  275. checking for bind_textdomain_codeset... yes
  276. checking for msgfmt... /usr/bin/msgfmt
  277. checking for dcgettext... yes
  278. checking for gmsgfmt... /usr/bin/msgfmt
  279. checking for xgettext... /usr/bin/xgettext
  280. 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
  281. checking for usleep... yes
  282. checking for putenv... yes
  283. checking for setenv... yes
  284. checking for X... libraries , headers
  285. checking for gethostbyname... yes
  286. checking for connect... yes
  287. checking for remove... yes
  288. checking for shmat... yes
  289. checking for IceConnectionNumber in -lICE... yes
  290. checking for XScreenSaverQueryInfo... no
  291. checking for XScreenSaverQueryInfo in -lXss... no
  292. checking for XScreenSaverQueryInfo in -lXext... no
  293. checking X11/Xlib.h usability... yes
  294. checking X11/Xlib.h presence... yes
  295. checking for X11/Xlib.h... yes
  296. checking for X11/extensions/xf86misc.h... yes
  297. checking X11/extensions/XKB.h usability... yes
  298. checking X11/extensions/XKB.h presence... yes
  299. checking for X11/extensions/XKB.h... yes
  300. checking for CAPPLET... yes
  301. checking for GNOMECC... yes
  302. checking for GNOME_SETTINGS_DAEMON... yes
  303. checking for OLD_CAPPLET... yes
  304. checking for GNOME... yes
  305. checking for GTK... yes
  306. checking for VFS_CAPPLET... yes
  307. checking for GNOME_DESKTOP... yes
  308. checking for DEFAULT_APPLICATIONS_CAPPLET... yes
  309. checking for SOUND_CAPPLET... yes
  310. checking for METACITY... yes
  311. checking for LIBXKLAVIER... configure: error: gnome-control-center depends on libxklavier.
  312. The latest release is available from http://prdownloads.sourceforge.net/gswitchit
复制代码

但是

  1. [Lee@localhost control-center-2.14.0]$ cd libwindow-settings/
  2. [Lee@localhost libwindow-settings]$ make
  3. make: *** 没有指明目标并且找不到 makefile。 停止。
复制代码


我装了gcc*了,问题依旧。希望大家帮忙解答一下。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-3 09:40:59 | 显示全部楼层
Post by xbx_lee

  1. checking for LIBXKLAVIER... configure: error: gnome-control-center depends on libxklavier.
  2. The latest release is available from http://prdownloads.sourceforge.net/gswitchit
复制代码



这不就提示你缺了libxklavier-devel的包了吗?
回复 支持 反对

使用道具 举报

发表于 2006-4-3 11:55:01 | 显示全部楼层
不好意思,昨天搞得太晚了,人昏昏沉沉的,给您添麻烦了。不过还有个问题:注:如果要compiz支持svg的话,需要CVS cairo的支持,在编译cairo之前记得装上libsvg和libsvg-cairo,cairo不就是glitz吗?我究竟应该怎么编译才能让compiz支持svg呢?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-3 12:02:51 | 显示全部楼层
Post by xbx_lee
不好意思,昨天搞得太晚了,人昏昏沉沉的,给您添麻烦了。不过还有个问题:注:如果要compiz支持svg的话,需要CVS cairo的支持,在编译cairo之前记得装上libsvg和libsvg-cairo,cairo不就是glitz吗?我究竟应该怎么编译才能让compiz支持svg呢?


glitz只是cairo其中一个后端。你按libsvg,libsvg-cairo,cairo的顺序安装就可以支持svg了,不过要记得在configure时,先configure --help看看
回复 支持 反对

使用道具 举报

发表于 2006-4-3 19:54:03 | 显示全部楼层
我用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。结果如下:

  1. cairo will be compiled with the following surface backends:
  2.   Xlib: yes
  3.   Quartz: no
  4.   XCB: no
  5.   Win32: no
  6.   PostScript: no
  7.   PDF: no
  8.   glitz: no

  9. the following font backends:
  10.   FreeType: yes
  11.   Win32: no
  12.   ATSUI: no

  13. and the following features:
  14.   PNG functions: yes
复制代码


然后因为INSTALL里面说过默认的安装处为:/usr/local/lib,所以加上了

  1. PKG_CONFIG_PATH=/usr/lib/pkgconfig
  2. LD_LIBRARY_PATH=/usr/cairo/lib
  3. export PKG_CONFIG_PATH LD_LIBRARY_PATH
复制代码

结果还是:

  1. the following optional plugins will be compiled:
  2.   gconf: yes
  3.   place: yes
  4.   svg:   no

  5. and the following optional features will be compiled:
  6.   gnome: yes
  7.   kde:   no
复制代码

真令人灰心呢,搞了好几天了已经。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-3 22:12:12 | 显示全部楼层
Post by xbx_lee

真令人灰心呢,搞了好几天了已经。


要下载CVS的cairo呢~,configure cairo的时候,尽量enable多点模块
回复 支持 反对

使用道具 举报

发表于 2006-4-3 22:44:36 | 显示全部楼层
Post by rockmen
要下载CVS的cairo呢~,configure cairo的时候,尽量enable多点模块


不好意思,cvs的命令是什么呢?
回复 支持 反对

使用道具 举报

发表于 2006-4-3 22:53:40 | 显示全部楼层
請問樓主,你的字體在編譯XGL後,會變得不清晰嗎?
我的系統,中文字體會變成fc4的時代,看不清楚。
回复 支持 反对

使用道具 举报

发表于 2006-4-4 07:37:29 | 显示全部楼层
首先安装cvs的glitz(因为Xgl里面的ChangeLog写了要latest glitz):
代码:

cvs -d :pserver:anoncvs@cvs.freedesktop.org:/cvs/cairo co glitz


请问这一步怎么实现?呵呵,谢谢,不好意思。新手。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表