LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 961|回复: 4

升级系统出问题了

[复制链接]
发表于 2009-3-13 19:13:13 | 显示全部楼层 |阅读模式
昨天晚上升级系统的时候,下面这个软件包安装出错了。

>>> Failed to emerge gnome-base/libglade-2.6.3, Log file:

>>>  '/var/tmp/portage/gnome-base/libglade-2.6.3/temp/build.log'

* Messages for package gnome-base/libglade-2.6.3:

*
* ERROR: gnome-base/libglade-2.6.3 failed.
* Call stack:
*               ebuild.sh, line   49:  Called src_compile
*             environment, line 2661:  Called gnome2_src_compile
*             environment, line 2029:  Called die
* The specific snippet of code:
*       emake || die "compile failure"
*  The die message:
*   compile failure
*
* If you need support, post the topmost build error, and the call stack if relevant.
* A complete build log is located at '/var/tmp/portage/gnome-base/libglade-2.6.3/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/gnome-base/libglade-2.6.3/temp/environment'.
*
当时我也没管,因为我觉得这个是gnome下的软件,我只装了kde桌面。

结果今天打开firefox的时候出错了
/usr/lib/mozilla-firefox/firefox: symbol lookup error: /usr/lib/xulrunner-1.9/libxul.so: undefined symbol: cairo_xlib_surface_create_with_xrender_format
我也不知道这两个之间有没有联系,所以姑且当做两个问题来问吧。请问上面的问题怎么解决。

谢谢
发表于 2009-3-13 19:44:30 | 显示全部楼层
  1. sudo revdep-rebuild
复制代码
回复 支持 反对

使用道具 举报

发表于 2009-3-13 19:55:31 | 显示全部楼层
第一个:* If you need support, post the topmost build error, and the call stack if relevant.

firefox: revdep-rebuild
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-3-13 22:03:18 | 显示全部楼层
谢谢两位的回复 我revdep-rebuild以后还是不行,Firefox还是出原帖中的错误

分开贴一下/var/tmp/portage/gnome-base/libglade-2.6.3/temp/build.log中的出错地方

1

  1. checking for GTK+ - version >= 2.5.0... no                                                                                   
  2. *** Could not run GTK+ test program, checking why...                                                                        
  3. *** The test program failed to compile or link. See the file config.log for the                                             
  4. *** exact error that occured. This usually means GTK+ is incorrectly installed.
复制代码

2、glade-parser.c的每一行几乎都报这个错,摘出几行

  1. glade-parser.c: 在函数 ‘create_widget_info’ 中:                                                                             
  2. glade-parser.c:162: 警告:传递参数 1 (属于 ‘strlen’) 给指针时目标与指针有/无符号不一致                                       
  3. glade-parser.c:162: 警告:传递参数 1 (属于 ‘__builtin_strcmp’) 给指针时目标与指针有/无符号不一致                             
  4. glade-parser.c:162: 警告:传递参数 1 (属于 ‘strlen’) 给指针时目标与指针有/无符号不一致                                       
  5. glade-parser.c:162: 警告:传递参数 1 (属于 ‘__builtin_strcmp’) 给指针时目标与指针有/无符号不一致                             
  6. glade-parser.c:162: 警告:传递参数 1 (属于 ‘__builtin_strcmp’) 给指针时目标与指针有/无符号不一致                             
  7. glade-parser.c:162: 警告:传递参数 1 (属于 ‘__builtin_strcmp’) 给指针时目标与指针有/无符号不一致                             
  8. glade-parser.c:163: 警告:传递参数 2 (属于 ‘alloc_string’) 给指针时目标与指针有/无符号不一致
复制代码


3 这下面的错有点象Firefox中报的错

  1. i686-pc-linux-gnu-gcc -O2 -march=i686 -pipe -Wall -std=c9x -Wl,-O1 -o .libs/test-libglade test-libglade.o  glade/.libs/libglade-2.0.so /usr/lib/libxml2.so /usr/lib/libgtk-x11-2.0.so /usr/lib/libgdk-x11-2.0.so /usr/lib/libatk-1.0.so /usr/lib/libgdk_pixbuf-2.0.so /usr/lib/libgio-2.0.so /usr/lib/libpangocairo-1.0.so /usr/lib/libpangoft2-1.0.so /usr/lib/libcairo.so /usr/lib/libpixman-1.so /usr/lib/libpng12.so /usr/lib/libpango-1.0.so -lm /usr/lib/libfontconfig.so /usr/lib/libfreetype.so -lz /usr/lib/libexpat.so /usr/lib/libgobject-2.0.so /usr/lib/libgmodule-2.0.so -ldl /usr/lib/libglib-2.0.so
  2. /usr/lib/libgdk-x11-2.0.so: undefined reference to `cairo_xlib_surface_create_for_bitmap'
  3. /usr/lib/libgdk-x11-2.0.so: undefined reference to `cairo_xlib_surface_set_size'
  4. /usr/lib/libgdk-x11-2.0.so: undefined reference to `cairo_xlib_surface_create'
  5. collect2: ld returned 1 exit status
  6. make[2]: *** [test-libglade] 错误 1
  7. make[2]: Leaving directory `/var/tmp/portage/gnome-base/libglade-2.6.3/work/libglade-2.6.3'
  8. make[1]: *** [all-recursive] 错误 1
  9. make[1]: Leaving directory `/var/tmp/portage/gnome-base/libglade-2.6.3/work/libglade-2.6.3'
  10. make: *** [all] 错误 2
复制代码


谢谢
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-3-31 17:39:10 | 显示全部楼层
半个月没有用这个系统,问题也搁置了,刚才把cairo-1.8.6-r1换成稳定版本,问题解决了

  1. [u] x11-libs/cairo
  2.      Available versions:  1.4.12!t 1.4.12!t[1] 1.4.14!t 1.4.14!t[1] 1.6.4!t 1.6.4!t[1]
  3. 1.6.4-r1!t 1.6.4-r1!t[1] (~)1.8.0!t (~)1.8.0!t[1] (~)1.8.2!t (~)1.8.4!t (~)1.8.4-r1!t[1]
  4. (~)1.8.6!t (~)1.8.6!t[1] (~)1.8.6-r1!t {X cleartype debug directfb doc glitz newspr
  5. opengl svg test xcb}
  6.      Installed versions:  1.8.6!t[1](17时06分56秒 2009年03月31日)(X newspr -debug -directfb -doc -glitz -opengl -svg -xcb)
  7.      Homepage:            http://cairographics.org/
  8.      Description:         A vector graphics library with cross-device output support
复制代码
回复 支持 反对

使用道具 举报

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

本版积分规则

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