LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
12
返回列表 发新帖
楼主: Avast

emerge -avuND world 很多包都不能编译通过

[复制链接]
 楼主| 发表于 2009-4-14 09:40:25 | 显示全部楼层
Post by axlrose;1974079

  1. [ebuild  N    ] x11-drivers/nvidia-drivers-180.44  USE="acpi gtk -custom-cflags (-multilib)" 0 kB [0]
  2. [ebuild  N    ] media-video/nvidia-settings-180.44  0 kB [0]

复制代码


你用的是N卡吗?以前没用N卡驱动?
如果你用startx方式的话,可以  startx >startx.log 2>&1 来看有什么问题
你的意思是上面列出的所有包都编译不过?还是只是小部分几个包?
刚用GENTOO的话第一个碰到的就是USE问题,正常了,USE问题要看个人喜好,还有经验来设置了,ccache开着相对会加速一下


原来用n卡 现在拔掉n卡用 集成的sis显卡了 这两个包被我emerge -C掉了之后 忘记改make.conf中的use设置了
我去更新一下我的emerge world 的list :)

不是所有的包都编译通过 不通过的有: syslog-ng stardict recode-3.6_p15

我是在将系统升级到~x86之后 就再也没能进去x过

startx >> startx.log 2>&1

  1. xauth:  creating new authority file /home/davy/.serverauth.12074


  2. X.Org X Server 1.5.3
  3. Release Date: 5 November 2008
  4. X Protocol Version 11, Revision 0
  5. Build Operating System: Linux 2.6.28-gentoo-r2 i686
  6. Current Operating System: Linux Davy-desktop 2.6.28-gentoo-r2 #1 Fri Feb 27 21:53:40 CST 2009 i686
  7. Build Date: 28 March 2009  07:49:20PM

  8.         Before reporting problems, check http://wiki.x.org
  9.         to make sure that you have the latest version.
  10. Markers: (--) probed, (**) from config file, (==) default setting,
  11.         (++) from command line, (!!) notice, (II) informational,
  12.         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
  13. (==) Log file: "/var/log/Xorg.0.log", Time: Tue Apr 14 17:36:09 2009
  14. (==) Using config file: "/etc/X11/xorg.conf"
  15. (EE) Failed to load module "freetype" (module does not exist, 0)
  16. (WW) SIS: No matching Device section for instance (BusID PCI:0@0:0:0) found
  17. (WW) SIS: No matching Device section for instance (BusID PCI:0@0:1:0) found
  18. (WW) SIS: No matching Device section for instance (BusID PCI:0@0:2:0) found
  19. (WW) SIS: No matching Device section for instance (BusID PCI:0@0:2:5) found
  20. (WW) SIS: No matching Device section for instance (BusID PCI:0@0:3:0) found
  21. (WW) SIS: No matching Device section for instance (BusID PCI:0@0:3:1) found
  22. (WW) SIS: No matching Device section for instance (BusID PCI:0@0:3:2) found
  23. (WW) SIS: No matching Device section for instance (BusID PCI:0@0:3:3) found
  24. (WW) SIS: No matching Device section for instance (BusID PCI:0@0:4:0) found
  25. [fvwm][FlocaleGetFontSet]: (-*-fixed-medium-r-semicondensed-*-13-*-*-*-*-*-*-*,-*-fixed-medium-r-normal-*-14-*-*-*-*-*-*-*,-*-*-medium-r-normal-*-16-*-*-*-*-*-*-*) Missing font charsets:
  26. GBK-0
  27. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/fvwm-crystal/trayer-app.png
  28. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/apps/trayer.png
  29. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/apps/stalonetray.png
  30. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/fvwm-crystal/trayer-app.png
  31. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/fvwm-crystal/trayer-app.png
  32. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/fvwm-crystal/trayer-app.png
  33. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/fvwm-crystal/trayer-app.png
  34. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/fvwm-crystal/trayer-app.png
  35. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/fvwm-crystal/trayer-app.png
  36. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/fvwm-crystal/trayer-app.png
  37. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/fvwm-crystal/trayer-app.png
  38. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/fvwm-crystal/trayer-app.png
  39. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/fvwm-crystal/trayer-app.png
  40. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/fvwm-crystal/trayer-app.png
  41. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/fvwm-crystal/trayer-app.png
  42. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/fvwm-crystal/trayer-app.png
  43. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/categories/help.png
  44. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/categories/help.png
  45. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/categories/help.png
  46. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/categories/help.png
  47. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/categories/help.png
  48. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/categories/help.png
  49. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/categories/help.png
  50. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/categories/help.png
  51. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/categories/help.png
  52. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/categories/help.png
  53. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/categories/help.png
  54. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/categories/help.png
  55. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/categories/help.png
  56. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/categories/help.png
  57. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/categories/help.png
  58. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/categories/help.png
  59. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/categories/help.png
  60. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/categories/help.png
  61. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/categories/help.png
  62. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/categories/help.png
  63. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/categories/help.png
  64. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/categories/help.png
  65. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/categories/help.png
  66. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/categories/help.png
  67. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/categories/help.png
  68. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/categories/help.png
  69. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/categories/help.png
  70. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/categories/help.png
  71. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/categories/help.png
  72. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/categories/help.png
  73. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/categories/help.png
  74. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/categories/help.png
  75. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/categories/help.png
  76. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/categories/help.png
  77. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/categories/help.png
  78. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/categories/help.png
  79. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/categories/help.png
  80. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/categories/help.png
  81. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/categories/help.png
  82. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/categories/help.png
  83. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/categories/help.png
  84. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/categories/help.png
  85. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/categories/help.png
  86. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/categories/help.png
  87. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/categories/help.png
  88. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/categories/help.png
  89. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/categories/help.png
  90. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/categories/help.png
  91. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/categories/help.png
  92. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/categories/help.png
  93. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/categories/help.png
  94. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/categories/help.png
  95. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/categories/help.png
  96. [fvwm][scanForPixmap]: <<WARNING>> Couldn't load image from 22x22/categories/help.png
  97. Unrecognised condition "False" in TestRc command.
  98. Unrecognised condition "False" in TestRc command.
  99. [fvwm][ParseBinding]: <<WARNING>> Binding specified AnyModifier and other modifers too. Excess modifiers are ignored.
  100. [fvwm][style_parse_and_set_window_style]: <<WARNING>> Unconsumed argument in MiniIcon 22x22/apps/jumpnbump.png. Icon 32x32/apps/jumpnbump.png: Icon 32x32/apps/jumpnbump.png
  101. [fvwm][CMD_EdgeResistance]: <<DEPRECATED>> The command EdgeResistance with three arguments is obsolete. Please use the following commands instead:
  102. [fvwm][]: <<DEPRECATED>> EdgeResistance 0
  103. [fvwm][]: <<DEPRECATED>> Style * EdgeMoveDelay 0
  104. [fvwm][]: <<DEPRECATED>> Style * EdgeMoveResistance 100
  105.   File "/usr/bin/fvwm-crystal.apps", line 209
  106.     def getAppsData(databases=[database],checkExecs=False,searchIconsIn='',sortOrder='prio',minLength=3,with=None,without=None,rootName='/Applications',topInSub=True,fileIcon='default.png',dirIcon='directory.png'):
  107.                                                                                                            ^
  108. SyntaxError: invalid syntax
  109.   File "/usr/bin/fvwm-crystal.apps", line 209
  110.     def getAppsData(databases=[database],checkExecs=False,searchIconsIn='',sortOrder='prio',minLength=3,with=None,without=None,rootName='/Applications',topInSub=True,fileIcon='default.png',dirIcon='directory.png'):
  111.                                                                                                            ^
  112. SyntaxError: invalid syntax
  113.   File "/usr/bin/fvwm-crystal.apps", line 209
  114.     def getAppsData(databases=[database],checkExecs=False,searchIconsIn='',sortOrder='prio',minLength=3,with=None,without=None,rootName='/Applications',topInSub=True,fileIcon='default.png',dirIcon='directory.png'):
  115.                                                                                                            ^
  116. SyntaxError: invalid syntax
  117. ApplicationPanel: No buttons defined. Quitting
  118. [FvwmButtons-Music][FlocaleGetFontSet]: (fixed) Missing font charsets:
  119. GB2312.1980-0, GBK-0, ISO10646-1
  120. [FvwmButtons-MainMenu][FlocaleGetFontSet]: (fixed) Missing font charsets:
  121. GB2312.1980-0, GBK-0, ISO10646-1
  122. [FvwmButtons-Clock][FlocaleGetFontSet]: (fixed) Missing font charsets:
  123. GB2312.1980-0, GBK-0, ISO10646-1
  124. [FvwmIconMan-Icons][FlocaleGetFontSet]: (-*-fixed-medium-r-semicondensed-*-13-*-*-*-*-*-*-*,-*-fixed-medium-r-normal-*-14-*-*-*-*-*-*-*,-*-*-medium-r-normal-*-16-*-*-*-*-*-*-*) Missing font charsets:
  125. GBK-0
  126. [FvwmPager][FlocaleGetFontSet]: (-*-fixed-medium-r-semicondensed-*-13-*-*-*-*-*-*-*,-*-fixed-medium-r-normal-*-14-*-*-*-*-*-*-*,-*-*-medium-r-normal-*-16-*-*-*-*-*-*-*) Missing font charsets:
  127. GBK-0
复制代码


看起来问题很多 囧
回复 支持 反对

使用道具 举报

发表于 2009-4-14 10:02:00 | 显示全部楼层
可以用grep EE log来查找信息,可以在 /var/log/Xorg.0.log上找到
(EE) Failed to load module "freetype" (module does not exist, 0)

你用的是fvwm-crystal呀,里面还有一些小错误似的,建议你可以考虑换一个wm或桌面来排除是fvwm的错还是xorg的错误,我这里说的 "换" 是用于测试的换   哈哈我已经很久没用fvwm了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-4-14 11:12:59 | 显示全部楼层
Post by axlrose;1974095
可以用grep EE log来查找信息,可以在 /var/log/Xorg.0.log上找到
(EE) Failed to load module "freetype" (module does not exist, 0)

你用的是fvwm-crystal呀,里面还有一些小错误似的,建议你可以考虑换一个wm或桌面来排除是fvwm的错还是xorg的错误,我这里说的 "换" 是用于测试的换   哈哈我已经很久没用fvwm了


发现  升级到xserver 1.53之后
/usr/lib/xorg/modules下面找不到了freetype 和 vga 模块了

这两个都不需要了么?代替freetype模块的是什么?

注释掉 xorg.conf中的freetype模块之后x仍然是失去键盘鼠标响应
ssh到系统后可以kill X
回复 支持 反对

使用道具 举报

发表于 2009-4-14 11:26:20 | 显示全部楼层
有时对多次重复的错误可以试试临时关闭ccache
回复 支持 反对

使用道具 举报

发表于 2009-4-14 11:41:13 | 显示全部楼层
Post by yourfriend;1974138
有时对多次重复的错误可以试试临时关闭ccache

绝对是经验之谈,哈哈,我昨天弄gnome的问题,把ccache禁了,同时清掉缓存,方法的话看man, 提醒一下,设置一下环境变量再清,如 CCACHE_TMP=/var/tmp/ccache ccache -C  (现在在WIN下不能完全确定参数的正确性,请参考 man)

在 /etc/X11/xorg.conf 里注释掉那行freetype吧
升级 到 xorg 1.5.3的原因呀,你到旁边的archlinux版上,有个文章,以前是顶置一段时间的了,我一下找不到了,我当时也遇到你现在的情况了,按贴子的方法就摆平了,LZ你自己慢慢找些吧,我记得我好像收藏到BLOG里的,你先找找,找不到我再帮你找
回复 支持 反对

使用道具 举报

发表于 2009-4-14 11:44:08 | 显示全部楼层
动用google一下就找到了,你参考一下吧,等你的好消息
  1. 小结 Xorg 1.5.3升级
  2. 周五, 2009-01-30 16:02 — athurg
  3. 此文来自于LinuxSir上ArchLinux讨论区的http://www.linuxsir.cn/bbs/member.php?u=174630>channon所撰!
  4. xorg.conf是通过hwd -xa生成的。
  5. 1、注释掉Section "Files"中的RgbPath项(remove "rgbpath" in section"files")
  6. 2、修改i810为intel(我原先用i810,现在只能用intel,根据你的自己设置)(change i810 to intel (if there is))
  7. 3、注释掉Section "ServerLayout"中inputdevice项,删除所有Section “InputDevice”(comments inputdevice in section "serverlayout" and remove all section "inputdevice")
  8. 4. rc.conf中的daemons添加hal(add hal in daemons list in rc.conf)
  9. 5. 或许你还需要添加下面的配置 (这个是备用方案,以禁用X的hal)(may be you also need this)
  10. Section "ServerFlags"
  11. Option "AllowEmptyInput" "False"
  12. Option "AutoAddDevices" "False"
  13. EndSection
复制代码
http://www.linuxsir.cn/bbs/thread339907.html    小结 Xorg 1.5.3升级
PS:用习惯五笔,发现错别字越来越多了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-4-14 22:25:13 | 显示全部楼层
Post by axlrose;1974149
动用google一下就找到了,你参考一下吧,等你的好消息

  1. 小结 Xorg 1.5.3升级
  2. 周五, 2009-01-30 16:02 — athurg

  3. 此文来自于LinuxSir上ArchLinux讨论区的http://www.linuxsir.cn/bbs/member.php?u=174630>channon所撰!

  4. xorg.conf是通过hwd -xa生成的。
  5. 1、注释掉Section "Files"中的RgbPath项(remove "rgbpath" in section"files")

  6. 2、修改i810为intel(我原先用i810,现在只能用intel,根据你的自己设置)(change i810 to intel (if there is))

  7. 3、注释掉Section "ServerLayout"中inputdevice项,删除所有Section “InputDevice”(comments inputdevice in section "serverlayout" and remove all section "inputdevice")

  8. 4. rc.conf中的daemons添加hal(add hal in daemons list in rc.conf)

  9. 5. 或许你还需要添加下面的配置 (这个是备用方案,以禁用X的hal)(may be you also need this)
  10. Section "ServerFlags"
  11. Option "AllowEmptyInput" "False"
  12. Option "AutoAddDevices" "False"
  13. EndSection
复制代码

http://www.linuxsir.cn/bbs/thread339907.html    小结 Xorg 1.5.3升级
PS:用习惯五笔,发现错别字越来越多了


谢谢啊

按上述配置xorg.conf启动x键鼠无响应


好像是升级x86到~x86之后太多旧配置都不能用的原因

十分感谢帮忙:)

我找找升级openrc的文章 看看

目前我的系统的rc rc.conf 还没融合
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-4-15 11:34:55 | 显示全部楼层
X终于重见天日了
谢谢帮忙

Section "ServerFlags"
Option "AllowEmptyInput" "False"
Option "AutoAddDevices" "False"
EndSection

这个比较重要,我这边必须加了这些才能响应键盘鼠标

从x86升级到~x86还真是不容易,目前还有几个疑问:

1. 内核中的apggart驱动的作用是什么,在搞X启动的时候发现这个模块没有加载的这个模块的情况下 X仍能启动
2. 内核没有加载sis的显卡驱动,x也能启动?


#lsmod

  1. Module                  Size  Used by
  2. ipv6                  189492  10
  3. snd_seq                36816  0
  4. snd_seq_device          5644  1 snd_seq
  5. snd_pcm_oss            20384  0
  6. snd_mixer_oss          12160  1 snd_pcm_oss
  7. nls_utf8                1664  1
  8. nls_cp936             126848  1
  9. vfat                    9216  1
  10. fat                    39580  1 vfat
  11. usbhid                 13588  0
  12. snd_maestro3           15524  0
  13. snd_ac97_codec         87712  1 snd_maestro3
  14. ac97_bus                1536  1 snd_ac97_codec
  15. snd_pcm                48776  3 snd_pcm_oss,snd_maestro3,snd_ac97_codec
  16. snd_timer              15620  2 snd_seq,snd_pcm
  17. snd_page_alloc          7304  1 snd_pcm
  18. snd                    39716  8 snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_maestro3,snd_ac97_codec,snd_pcm,snd_timer
  19. ehci_hcd               27404  0
  20. ohci_hcd               19216  0
  21. sis900                 17280  0
  22. soundcore               5088  1 snd
  23. mii                     4096  1 sis900
  24. usbcore                96316  3 usbhid,ehci_hcd,ohci_hcd
  25. 8250_pnp               13952  0
  26. 8250                   25412  1 8250_pnp
  27. serial_core            14720  1 8250
  28. parport_pc             20516  0
  29. thermal                15260  0
  30. button                  6032  0
  31. processor              34352  1 thermal
  32. thermal_sys             8736  2 thermal,processor
复制代码


#lspci

  1. 00:09.0 Multimedia audio controller: ESS Technology ES1988 Allegro-1 (rev 12)
  2. 01:00.0 VGA compatible controller: Silicon Integrated Systems [SiS] 661/741/760 PCI/AGP or 662/761Gx PCIE VGA Display Adapter
复制代码



2.
回复 支持 反对

使用道具 举报

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

本版积分规则

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