LinuxSir.cn,穿越时空的Linuxsir!

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

安装gnome-light的错误

[复制链接]
发表于 2007-3-14 13:40:47 | 显示全部楼层 |阅读模式
checking for X... no
configure: error: X11 development libraries/headers not found

!!! Please attach the following file when filing a report to bugs.gentoo.org:
!!! /var/tmp/portage/x11-libs/startup-notification-0.8/work/startup-notification-0.8/config.log

!!! ERROR: x11-libs/startup-notification-0.8 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 1196:   Called src_compile
  ebuild.sh, line 642:   Called econf
  ebuild.sh, line 577:   Called die

!!! econf failed
!!! 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/x11-libs/startup-notification-0.8/temp/build.log'.
发表于 2007-3-14 15:16:27 | 显示全部楼层
碰到startup-notification无法编译的时候,需要下载bin包(using google),tbz2为后缀的文件,cp到/usr/portage/packages/All里面,然后运行emerge -ka startup-notification安装

再继续emerge就可以了~回头再emerge这个包~
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-3-15 10:00:02 | 显示全部楼层
Post by shooter
碰到startup-notification无法编译的时候,需要下载bin包(using google),tbz2为后缀的文件,cp到/usr/portage/packages/All里面,然后运行emerge -ka startup-notification安装

再继续emerge就可以了~回头再emerge这个包~


感谢楼上兄弟的回答
现在的问题是:
1.我没有packeages这个目录,只有/usr/portage ,是否需要自己mkdir
2.只找到了startup-notification-0.8.tar.bz2  这个文件.这个不知道是否适合最新的portage

请楼上的继续指点
回复 支持 反对

使用道具 举报

发表于 2007-3-15 19:23:18 | 显示全部楼层
Post by shooter
碰到startup-notification无法编译的时候,需要下载bin包(using google),tbz2为后缀的文件,cp到/usr/portage/packages/All里面,然后运行emerge -ka startup-notification安装

再继续emerge就可以了~回头再emerge这个包~


不会吧 用emerge还要自己去google包
回复 支持 反对

使用道具 举报

发表于 2007-3-15 20:22:13 | 显示全部楼层
你已经有这个包了。
可把下面这个文件的内容帖出来
/var/tmp/portage/x11-libs/startup-notification-0.8/temp/build.log
大家帮你看看错在哪里。
回复 支持 反对

使用道具 举报

发表于 2007-3-16 05:35:46 | 显示全部楼层
emerge --sync
后再试试吧
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-3-16 10:19:36 | 显示全部楼层
那里的问题已经搞定
按照老外的做法
emerge gentookit
nuse -E X
emegre cairo
就OK了
新问题出现,gnome都已经安装完毕了
startx的时候出现了问题

  1. Module Loader present
  2. Markers: (--) probed, (**) from config file, (==) default setting,
  3.         (++) from command line, (!!) notice, (II) informational,
  4.         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
  5. (==) Log file: "/var/log/Xorg.0.log", Time: Fri Mar 16 10:13:48 2007
  6. (EE) Unable to locate/open config file
  7. New driver is "vmware"
  8. (==) Using default built-in configuration (55 lines)
  9. (EE) Failed to load module "vmware" (module does not exist, 0)
  10. (EE) Failed to load module "fbdev" (module does not exist, 0)
  11. (EE) Failed to load module "vesa" (module does not exist, 0)
  12. (EE) Failed to load module "vga" (module does not exist, 0)
  13. (EE) Failed to load module "mouse" (module does not exist, 0)
  14. (EE) Failed to load module "kbd" (module does not exist, 0)
  15. (EE) No drivers available.

  16. Fatal server error:
  17. no screens found
  18. XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"
  19.       after 0 requests (0 known processed) with 0 events remaining.
复制代码


缺少那么多模块?为什么?
回复 支持 反对

使用道具 举报

发表于 2007-3-16 11:35:48 | 显示全部楼层
配置你的xorg.conf
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-3-16 11:48:16 | 显示全部楼层
通过emerges -s 找到了很多包,都安装了
没有提示模块错误

localhost X11 # startx      
xauth:  creating new authority file /root/.serverauth.16191

X Window System Version 7.2.0
Release Date: 22 January 2007
X Protocol Version 11, Revision 0, Release 7.2
Build Operating System: Linux 2.6.20-gentoo-r1 i686
Current Operating System: Linux localhost 2.6.20-gentoo-r1 #1 SMP Fri Mar 9 19:13:12 Local time zone must be set--see zic m i686
Build Date: 15 March 2007
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Mar 16 11:37:15 2007
(==) Using config file: "/etc/X11/xorg.conf"

(EE) No devices detected.

Fatal server error:
no screens found
XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"
      after 0 requests (0 known processed) with 0 events remaining.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2007-3-16 11:56:42 | 显示全部楼层
Post by limon
配置你的xorg.conf

cat /etc/X11/xorg.conf|grep -V "#"|sort

  1.        Depth           24
  2.         Depth           4
  3.         Depth           8
  4.         Depth           8
  5.         Modes           "1280x1024"
  6.         Modes           "1280x1024"
  7.         Modes           "1280x1024"
  8.         Modes           "1280x1024"
  9.         Option          "rgb bits" "8"
  10.         Option          "rgb bits" "8"
  11.         Option  "omit xfree86-dga"
  12.         Visual          "StaticColor"
  13.         Visual          "StaticColor"
  14.         Depth           8
  15.         DotClock        25.175
  16.         HTimings        640 664 760 800
  17.         Modes           "640x480"
  18.         Modes           "640x480"
  19.         Modes           "640x480"
  20.         VTimings        480 491 493 525
  21.         ViewPort        0 0
  22.         Virtual         800 600
  23.     BusID       "PCI:0:10:0"
  24.     BusID       "PCI:1:0:0"
  25.     DefaultDepth        16
  26.     DefaultDepth        8
  27.     DefaultDepth 8
  28.     Device              "MGA G200 AGP"
  29.     Device              "MGA Millennium I"
  30.     Device      "Generic VGA"
  31.     Driver      "mga"
  32.     Driver      "mga"
  33.     Driver      "mouse"
  34.     Driver      "mouse"
  35.     Driver      "trident"
  36.     Driver      "vga"
  37.     EndMode
  38.     EndSubSection
  39.     EndSubSection
  40.     EndSubSection
  41.     EndSubSection
  42.     EndSubSection
  43.     EndSubSection
  44.     EndSubSection
  45.     EndSubsection
  46.     FontPath    "/usr/share/fonts/100dpi"
  47.     FontPath    "/usr/share/fonts/75dpi"
  48.     FontPath    "/usr/share/fonts/TTF"
  49.     FontPath    "/usr/share/fonts/Type1"
  50.     FontPath    "/usr/share/fonts/local"
  51.     FontPath    "/usr/share/fonts/misc"
  52.     Identifier          "Screen MGA1"
  53.     Identifier          "Screen MGA2"
  54.     Identifier  "Generic Monitor"
  55.     Identifier  "Generic VGA"
  56.     Identifier  "Keyboard1"
  57.     Identifier  "MGA G200 AGP"
  58.     Identifier  "MGA Millennium I"
  59.     Identifier  "Main Layout"
  60.     Identifier  "Mouse1"
  61.     Identifier  "Mouse2"
  62.     Identifier  "Screen 1"
  63.     Identifier  "another layout"
  64.     Identifier  "any supported Trident chip"
  65.     Identifier  "simple layout"
  66.     InputDevice "Mouse1" "CorePointer"
  67.     InputDevice "Mouse1" "CorePointer"
  68.     InputDevice "Mouse1" "CorePointer"
  69.     InputDevice "Mouse2" "SendCoreEvents"
  70.     InputDevice "Keyboard1" "CoreKeyboard"
  71.     InputDevice "Keyboard1" "CoreKeyboard"
  72.     InputDevice "Keyboard1" "CoreKeyboard"
  73.     Load        "dbe"
  74.     Load        "freetype"
  75.     Load        "type1"
  76.     Mode "640x480"
  77.     Monitor             "Generic Monitor"
  78.     Monitor             "Generic Monitor"
  79.     Monitor     "Generic Monitor"
  80.     Option              "no accel"
  81.     Option      "AutoRepeat"    "500 5"
  82.     Option      "Device"        "/dev/mouse"
  83.     Option      "Device"        "/dev/mouse2"
  84.     Option      "Protocol"      "Microsoft"
  85.     Option      "Protocol"      "MouseMan"
  86.     Option      "hw cursor" "off"
  87.     Option      "off time"      "60"
  88.     Option      "pci retry"
  89.     Option      "standby time"  "20"
  90.     Option      "suspend time"  "30"
  91.     RgbPath     "/usr/share/X11/rgb"
  92.     Screen      "Screen 1"
  93.     Screen      "Screen 1"
  94.     Screen      "Screen MGA 1"
  95.     Screen      "Screen MGA 1"  ""      ""      ""      "Screen MGA 2"
  96.     Screen      "Screen MGA 2"  ""      ""      "Screen MGA 1"  ""
  97.     SubSection  "extmod"
  98.     SubSection "Display"
  99.     SubSection "Display"
  100.     SubSection "Display"
  101.     SubSection "Display"
  102.     SubSection "Display"
  103.     SubSection "Display"
  104.     SubSection "Display"
  105.    Driver       "keyboard"
  106. EndSection
  107. EndSection
  108. EndSection
  109. EndSection
  110. EndSection
  111. EndSection
  112. EndSection
  113. EndSection
  114. EndSection
  115. EndSection
  116. EndSection
  117. EndSection
  118. EndSection
  119. EndSection
  120. EndSection
  121. EndSection
  122. EndSection
  123. Section "Device"
  124. Section "Device"
  125. Section "Device"
  126. Section "Device"
  127. Section "Files"
  128. Section "InputDevice"
  129. Section "InputDevice"
  130. Section "InputDevice"
  131. Section "Module"
  132. Section "Monitor"
  133. Section "Screen"
  134. Section "Screen"
  135. Section "Screen"
  136. Section "ServerFlags"
  137. Section "ServerLayout"
  138. Section "ServerLayout"
  139. Section "ServerLayout"
复制代码
回复 支持 反对

使用道具 举报

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

本版积分规则

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