LinuxSir.cn,穿越时空的Linuxsir!

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

[help救急]update world后出问题了[gcc升级问题 老gcc被depclean删除] [感谢:blackwh

[复制链接]
发表于 2009-4-19 22:29:57 | 显示全部楼层 |阅读模式
# emerge --update --deep --newuse world
# emerge --depclean
# revdep-rebuild


depclean 是删了很多包 包括 emerald

之后进入系统没有windows manager

然后我试图编译emerald 失败


  1. >>> Unpacking emerald-0.8.2.tar.bz2 to /var/tmp/portage/x11-wm/emerald-0.8.2/work
  2. >>> Source unpacked in /var/tmp/portage/x11-wm/emerald-0.8.2/work
  3. * Applying emerald-ru.po.patch ...                                       [ ok ]
  4. >>> Configuring source in /var/tmp/portage/x11-wm/emerald-0.8.2/work/emerald-0.8.2 ...
  5. * econf: updating emerald-0.8.2/config.guess with /usr/share/gnuconfig/config.guess
  6. * econf: updating emerald-0.8.2/config.sub with /usr/share/gnuconfig/config.sub
  7. ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --disable-mime-update --build=i686-pc-linux-gnu
  8. checking for a BSD-compatible install... /usr/bin/install -c
  9. checking whether build environment is sane... yes
  10. checking for a thread-safe mkdir -p... /bin/mkdir -p
  11. checking for gawk... gawk
  12. checking whether make sets $(MAKE)... yes
  13. checking for style of include used by make... GNU
  14. checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
  15. checking for C compiler default output file name...
  16. configure: error: in `/var/tmp/portage/x11-wm/emerald-0.8.2/work/emerald-0.8.2':
  17. configure: error: C compiler cannot create executables
  18. See `config.log' for more details.

  19. !!! Please attach the following file when seeking support:
  20. !!! /var/tmp/portage/x11-wm/emerald-0.8.2/work/emerald-0.8.2/config.log
  21. *
  22. * ERROR: x11-wm/emerald-0.8.2 failed.
  23. * Call stack:
  24. *               ebuild.sh, line   49:  Called src_configure
  25. *             environment, line 2140:  Called econf '--disable-mime-update'
  26. *               ebuild.sh, line  543:  Called die
  27. * The specific snippet of code:
  28. *                           die "econf failed"
  29. *  The die message:
  30. *   econf failed
  31. *
  32. * If you need support, post the topmost build error, and the call stack if relevant.
  33. * A complete build log is located at '/var/tmp/portage/x11-wm/emerald-0.8.2/temp/build.log'.
  34. * The ebuild environment file is located at '/var/tmp/portage/x11-wm/emerald-0.8.2/temp/environment'.
  35. *

  36. >>> Failed to emerge x11-wm/emerald-0.8.2, Log file:

  37. >>>  '/var/tmp/portage/x11-wm/emerald-0.8.2/temp/build.log'

  38. * Messages for package x11-wm/emerald-0.8.2:

  39. *
  40. * ERROR: x11-wm/emerald-0.8.2 failed.
  41. * Call stack:
  42. *               ebuild.sh, line   49:  Called src_configure
  43. *             environment, line 2140:  Called econf '--disable-mime-update'
  44. *               ebuild.sh, line  543:  Called die
  45. * The specific snippet of code:
  46. *                           die "econf failed"
  47. *  The die message:
  48. *   econf failed
  49. *
  50. * If you need support, post the topmost build error, and the call stack if relevant.
  51. * A complete build log is located at '/var/tmp/portage/x11-wm/emerald-0.8.2/temp/build.log'.
  52. * The ebuild environment file is located at '/var/tmp/portage/x11-wm/emerald-0.8.2/temp/environment'.
  53. *
复制代码


我上周吧其他的linux已经删了 救急啊 我还要回去做assignment呢

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有帐号?注册

x
发表于 2009-4-19 22:49:36 | 显示全部楼层
估计是你升级了gcc,而且depclean了。但是libtool没有处理好。
emerge --oneshot -av libtool dev-libs/apr
看看。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-4-19 22:54:59 | 显示全部楼层
我看了一下确实是升了gcc

现在很麻烦的是 我的gnome基本用不了 没有windows manager 只有用root进入gnome
但进去后firefox opera等都打不开 只能勉强用links

emerge mozilla-firefox 也是 失败
我想装回原来的gcc 但 emerge也失败了

所以我现在在vista回帖

depclean留了个心眼 记下了被删的包
  1. media-libs/mutagen
  2.     selected: 1.15
  3.    protected: none
  4.      omitted: none
  5. x11-plugins/compiz-fusion-plugins-unsupported
  6.     selected: 0.7.8
  7.    protected: none
  8.      omitted: none
  9. dev-python/sip
  10.     selected: 4.7.9
  11.    protected: none
  12.      omitted: none
  13. x11-drivers/xf86-video-vesa
  14.     selected: 1.3.0
  15.    protected: none
  16.      omitted: none
  17. dev-db/mysql-init-scripts
  18.     selected: 1.2
  19.    protected: none
  20.      omitted: none
  21. dev-ruby/ruby-libglade2
  22.     selected: 0.16.0-r1
  23.    protected: none
  24.      omitted: none
  25. net-libs/xulrunner
  26.     selected: 1.8.1.19
  27.    protected: none
  28.      omitted: 1.9.0.8
  29. dev-python/sexy-python
  30.     selected: 0.1.9
  31.    protected: none
  32.      omitted: none
  33. media-libs/tunepimp
  34.     selected: 0.5.3-r1
  35.    protected: none
  36.      omitted: none
  37. xfce-base/libxfcegui4
  38.     selected: 4.4.3
  39.    protected: none
  40.      omitted: none
  41. www-servers/mongrel
  42.     selected: 1.1.5
  43.    protected: none
  44.      omitted: none
  45. kde-base/kdelibs
  46.     selected: 3.5.9-r4
  47.    protected: none
  48.      omitted: none
  49. media-libs/xine-lib
  50.     selected: 1.1.16.2
  51.    protected: none
  52.      omitted: none
  53. dev-perl/DBI
  54.     selected: 1.601
  55.    protected: none
  56.      omitted: none
  57. dev-python/cddb-py
  58.     selected: 1.4
  59.    protected: none
  60.      omitted: none
  61. dev-java/java-config
  62.     selected: 1.3.7-r1
  63.    protected: none
  64.      omitted: 2.1.7
  65. sys-apps/setserial
  66.     selected: 2.17-r3
  67.    protected: none
  68.      omitted: none
  69. media-libs/libmpd
  70.     selected: 0.17.0
  71.    protected: none
  72.      omitted: none
  73. media-libs/libmtp
  74.     selected: 0.3.6
  75.    protected: none
  76.      omitted: none
  77. sys-devel/automake
  78.     selected: 1.8.5-r3
  79.    protected: none
  80.      omitted: 1.5 1.7.9-r1 1.9.6-r2 1.10.2
  81. net-libs/libsoup
  82.     selected: 2.2.105-r2
  83.    protected: none
  84.      omitted: 2.24.3
  85. virtual/pcmcia
  86.     selected: 2.6.13
  87.    protected: none
  88.      omitted: none
  89. media-fonts/font-misc-misc
  90.     selected: 1.0.0
  91.    protected: none
  92.      omitted: none
  93. sys-devel/gcc
  94.     selected: 4.1.2
  95.    protected: none
  96.      omitted: 4.3.2-r3
  97. media-fonts/font-cursor-misc
  98.     selected: 1.0.0
  99.    protected: none
  100.      omitted: none
  101. x11-libs/liblbxutil
  102.     selected: 1.0.1
  103.    protected: none
  104.      omitted: none
  105. dev-ruby/ruby-gconf2
  106.     selected: 0.16.0
  107.    protected: none
  108.      omitted: none
  109. dev-python/pyxf86config
  110.     selected: 0.3.34-r1
  111.    protected: none
  112.      omitted: none
  113. dev-ruby/ruby-gnome2
  114.     selected: 0.16.0
  115.    protected: none
  116.      omitted: none
  117. media-libs/libofa
  118.     selected: 0.9.3
  119.    protected: none
  120.      omitted: none
  121. dev-ruby/fastthread
  122.     selected: 1.0.1
  123.    protected: none
  124.      omitted: none
  125. virtual/perl-Sys-Syslog
  126.     selected: 0.27
  127.    protected: none
  128.      omitted: none
  129. xfce-base/libxfce4util
  130.     selected: 4.4.3
  131.    protected: none
  132.      omitted: none
  133. dev-perl/PlRPC
  134.     selected: 0.2020-r1
  135.    protected: none
  136.      omitted: none
  137. dev-ruby/daemons
  138.     selected: 1.0.10
  139.    protected: none
  140.      omitted: none
  141. dev-ruby/cgi_multipart_eof_fix
  142.     selected: 2.5.0
  143.    protected: none
  144.      omitted: none
  145. dev-ruby/gem_plugin
  146.     selected: 0.2.3
  147.    protected: none
  148.      omitted: none
  149. sys-apps/pcmcia-cs
  150.     selected: 3.2.8-r2
  151.    protected: none
  152.      omitted: none
  153. media-libs/libmodplug
  154.     selected: 0.8.4-r2
  155.    protected: none
  156.      omitted: none
  157. dev-ruby/ruby-gnomecanvas2
  158.     selected: 0.16.0
  159.    protected: none
  160.      omitted: none
  161. dev-perl/Net-Daemon
  162.     selected: 0.43
  163.    protected: none
  164.      omitted: none
  165. sci-libs/fftw
  166.     selected: 3.1.2
  167.    protected: none
  168.      omitted: none
  169. sys-kernel/gentoo-sources
  170.     selected: 2.6.27-r8
  171.    protected: none
  172.      omitted: 2.6.25-r7 2.6.26-r3 2.6.29-r1
  173. perl-core/Sys-Syslog
  174.     selected: 0.27
  175.    protected: none
  176.      omitted: none
  177. dev-ruby/rubygems
  178.     selected: 1.3.1
  179.    protected: none
  180.      omitted: none
  181. dev-ruby/ruby-libart2
  182.     selected: 0.16.0
  183.    protected: none
  184.      omitted: none
  185. dev-ruby/ruby-gtk2
  186.     selected: 0.16.0-r4
  187.    protected: none
  188.      omitted: none
  189. dev-ruby/ruby-gdkpixbuf2
  190.     selected: 0.16.0
  191.    protected: none
  192.      omitted: none
  193. dev-ruby/ruby-atk
  194.     selected: 0.16.0
  195.    protected: none
  196.      omitted: none
  197. dev-ruby/ruby-pango
  198.     selected: 0.16.0
  199.    protected: none
  200.      omitted: none
  201. dev-ruby/rcairo
  202.     selected: 1.4.1
  203.    protected: none
  204.      omitted: none
  205. dev-ruby/ruby-glib2
  206.     selected: 0.16.0-r3
  207.    protected: none
  208.      omitted: none
  209. x11-themes/emerald-themes
  210.     selected: 0.5.2
  211.    protected: none
  212.      omitted: none
  213. x11-wm/emerald
  214.     selected: 0.7.8
  215.    protected: none
  216.      omitted: none
  217. dev-lang/ruby
  218.     selected: 1.8.6_p287-r5
  219.    protected: none
  220.      omitted: none
  221. dev-ruby/ruby-config
  222.     selected: 0.3.2
  223.    protected: none
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-4-19 22:56:39 | 显示全部楼层
有什么方法能撤销更新吗?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-4-19 23:05:02 | 显示全部楼层
Post by blackwhite;1976716
估计是你升级了gcc,而且depclean了。但是libtool没有处理好。
emerge --oneshot -av libtool dev-libs/apr
看看。


emerge也失败了 看来出大问题了

/var/tmp/portage/...............libtool

  1. >>> Unpacking source...
  2. >>> Unpacking libtool-1.5.26.tar.gz to /var/tmp/portage/sys-devel/libtool-1.5.26/work
  3. * Applying libtool-1.5.20-use-linux-version-in-fbsd.patch ...
  4.   [ ok ]
  5. * Applying libtool-1.5.10-locking.patch ...
  6.   [ ok ]
  7. * Applying libtool-1.5.20-version-checking.patch ...
  8.   [ ok ]
  9. * Applying libtool-1.5-filter-host-tags.patch ...
  10.   [ ok ]
  11. * Applying libtool-1.5.20-override-LD_LIBRARY_PATH.patch ...
  12.   [ ok ]
  13. * Generating ltmain.sh ...
  14.   [ ok ]
  15. * Ignore any warnings below about QA/autotools
  16. * Running autotools in '.' ...
  17. * QA Notice: 'aclocal' called by src_unpack: sys-devel/libtool-1.5.26
  18. * Use autotools.eclass instead of calling 'aclocal' directly.
  19. * QA Notice: 'automake' called by src_unpack: sys-devel/libtool-1.5.26
  20. * Use autotools.eclass instead of calling 'automake' directly.
  21. * QA Notice: 'autoconf' called by src_unpack: sys-devel/libtool-1.5.26
  22. * Use autotools.eclass instead of calling 'autoconf' directly.
  23.   [ ok ]
  24. * Running autotools in 'libltdl' ...
  25. * QA Notice: 'aclocal' called by src_unpack: sys-devel/libtool-1.5.26
  26. * Use autotools.eclass instead of calling 'aclocal' directly.
  27. acinclude.m4:6664: the serial number must appear before any macro definition
  28. * QA Notice: 'automake' called by src_unpack: sys-devel/libtool-1.5.26
  29. * Use autotools.eclass instead of calling 'automake' directly.
  30. * QA Notice: 'autoconf' called by src_unpack: sys-devel/libtool-1.5.26
  31. * Use autotools.eclass instead of calling 'autoconf' directly.
  32.   [ ok ]
  33. * Removing useless C++ checks ...
  34.   [ ok ]
  35. >>> Source unpacked in /var/tmp/portage/sys-devel/libtool-1.5.26/work
  36. >>> Compiling source in /var/tmp/portage/sys-devel/libtool-1.5.26/work/libtool-1.5.26 ...
  37. * econf: updating libtool-1.5.26/libltdl/config.guess with /usr/share/gnuconfig/config.guess
  38. * econf: updating libtool-1.5.26/libltdl/config.sub with /usr/share/gnuconfig/config.sub
  39. * econf: updating libtool-1.5.26/config.guess with /usr/share/gnuconfig/config.guess
  40. * econf: updating libtool-1.5.26/config.sub with /usr/share/gnuconfig/config.sub
  41. ./configure --prefix=/usr --host=i686-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --build=i686-pc-linux-gnu
  42. checking for a BSD-compatible install... /usr/bin/install -c
  43. checking whether build environment is sane... yes
  44. checking for a thread-safe mkdir -p... /bin/mkdir -p
  45. checking for gawk... gawk
  46. checking whether make sets $(MAKE)... yes
  47. checking for i686-pc-linux-gnu-gcc... i686-pc-linux-gnu-gcc
  48. checking for C compiler default output file name...
  49. configure: error: in `/var/tmp/portage/sys-devel/libtool-1.5.26/work/libtool-1.5.26':
  50. configure: error: C compiler cannot create executables
  51. See `config.log' for more details.

  52. !!! Please attach the following file when seeking support:
  53. !!! /var/tmp/portage/sys-devel/libtool-1.5.26/work/libtool-1.5.26/config.log
  54. *
  55. * ERROR: sys-devel/libtool-1.5.26 failed.
  56. * Call stack:
  57. *               ebuild.sh, line   49:  Called src_compile
  58. *             environment, line 2134:  Called _eapi0_src_compile
  59. *               ebuild.sh, line  607:  Called econf
  60. *               ebuild.sh, line  543:  Called die
  61. * The specific snippet of code:
  62. *                           die "econf failed"
  63. *  The die message:
  64. *   econf failed
  65. *
  66. * If you need support, post the topmost build error, and the call stack if relevant.
  67. * A complete build log is located at '/var/tmp/portage/sys-devel/libtool-1.5.26/temp/build.log'.
  68. * The ebuild environment file is located at '/var/tmp/portage/sys-devel/libtool-1.5.26/temp/environment'.
  69. *
复制代码
回复 支持 反对

使用道具 举报

发表于 2009-4-19 23:07:48 | 显示全部楼层
Post by 杨珂;1976720
有什么方法能撤销更新吗?
现在你的问题应该和gcc有关的问题。而不是系统的问题。系统gnome什么有问题,可能就是缺一俩个lib。
你先实验一下上面说的。把libtool 和 apr emerge一下。每次升级gcc后libtool都要重新emerge的。
另外你做了python-updater没有?
gcc-config -l 出来什么?
那你先emerge apr试试。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-4-19 23:09:20 | 显示全部楼层
Post by blackwhite;1976725
现在你的问题应该和gcc有关的问题。而不是系统的问题。系统gnome什么有问题,可能就是缺一俩个lib。
你先实验一下上面说的。把libtool 和 apr emerge一下。每次升级gcc后libtool都要重新emerge的。
另外你做了python-updater没有?


emerge  libtool apr挂掉了

请教什么是python-updater?
回复 支持 反对

使用道具 举报

发表于 2009-4-19 23:21:06 | 显示全部楼层
Post by 杨珂;1976727
emerge  libtool apr挂掉了

请教什么是python-updater?

那个是升级python后,把依赖python lib的包再emerge一次的一个script。
现在的问题肯定在gcc。你把gcc 4。1。2个去掉了,但是估计没有按照要求的过程升级。可能运行fix_libtool_files.sh有用。
gcc-config -l
出来什么结果?试试运行
fix_libtool_files.sh 4.1.2
现在只有多试试了。
回复 支持 反对

使用道具 举报

发表于 2009-4-19 23:25:12 | 显示全部楼层
升级gcc后是不是把旧版本干掉之前没运行fix_libtool_files.sh?如果是可以试试:gcc-config -f
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-4-19 23:35:17 | 显示全部楼层
好 先谢谢两位 我马上回去试试
回复 支持 反对

使用道具 举报

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

本版积分规则

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