LinuxSir.cn,穿越时空的Linuxsir!

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

升级了xorg7,但是有关X的程序都没法编译了

[复制链接]
发表于 2006-4-5 22:06:50 | 显示全部楼层 |阅读模式
configure时总是出现下面的信息:

  1. checking for X... configure: error: Can't find X includes. Please check your installation and add the correct paths!
复制代码


可是我觉得关于X的包我没少装阿?不知道有什么方法没有。
发表于 2006-4-5 22:30:08 | 显示全部楼层
xorg7的安装路径和以前的不同了。
回复 支持 反对

使用道具 举报

发表于 2006-4-5 22:50:26 | 显示全部楼层
装这个包试试:xextproto
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-5 22:50:53 | 显示全部楼层
看官方的wiki上说:
Some packages fail to build and complain about missing X11 includes

Just reinstall the packages xproto and libx11, even if they are already installed.
可是照做以后还是一样阿。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-5 22:53:04 | 显示全部楼层
Post by sssslang
装这个包试试:xextproto

重装了一下这个包,结果照旧……
回复 支持 反对

使用道具 举报

发表于 2006-4-5 22:57:05 | 显示全部楼层
还是把你的xorg.conf贴上来看看
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-5 23:01:33 | 显示全部楼层
我觉得和xorg.conf关系不会很大吧。

  1. # nvidia-xconfig: X configuration file generated by nvidia-xconfig
  2. # nvidia-xconfig:  version 1.0  (buildmeister@builder3)  Wed Dec 14 16:39:22 PST 2005

  3. # File generated by xorgconfig.

  4. Section "ServerLayout"
  5.     Identifier     "Simple Layout"
  6.     Screen         "Screen 1" 0 0
  7.     InputDevice    "Mouse1" "CorePointer"
  8.     InputDevice    "Keyboard1" "CoreKeyboard"
  9. EndSection

  10. Section "Files"
  11.     RgbPath         "/usr/share/X11/rgb"
  12.     ModulePath      "/usr/lib/xorg/modules"
  13.     FontPath        "/usr/share/fonts/misc"
  14.     FontPath        "/usr/share/fonts/75dpi"
  15.     FontPath        "/usr/share/fonts/100dpi"
  16.     FontPath        "/usr/share/fonts/TTF"
  17.     FontPath        "/usr/share/fonts/Type1"
  18.     FontPath        "/usr/local/share/fonts"
  19.     FontPath        "/usr/share/fonts/wqy"
  20. EndSection

  21. Section "Module"
  22.     Load           "dbe"          # Double buffer extension
  23.     SubSection     "extmod"
  24.         Option         "omit xfree86-dga"   # don't initialise the DGA extension
  25.     EndSubSection
  26.     Load           "type1"
  27.     Load           "speedo"
  28.     Load           "freetype"
  29.     Load           "xft"
  30.     Load           "bitmap"
  31.     Load           "glx"
  32.     Load           "record"
  33.     Load           "GLcore"
  34. EndSection

  35. Section "InputDevice"
  36.     Identifier     "Keyboard1"
  37.     Driver         "kbd"
  38.     Option         "AutoRepeat" "500 30"
  39.     Option         "XkbRules" "xorg"
  40.     Option         "XkbModel" "pc101"
  41.     Option         "XkbLayout" "us"
  42.     Option         "XkbOptions" "grp:switch,lv3:switch"
  43. EndSection

  44. Section "InputDevice"
  45.     Identifier     "Mouse1"
  46.     Driver         "mouse"
  47.     Option         "Protocol" "IMPS/2"
  48.     Option         "ZAxisMapping" "4 5"
  49.     Option         "Device" "/dev/psaux"
  50.     Option         "Emulate3Buttons" "true"
  51.     Option         "Emulate3Timeout" "70"
  52.     Option         "SendCoreEvents" "true"
  53. EndSection

  54. Section "Monitor"
  55.     Identifier     "My Monitor"
  56.     HorizSync       50.0 - 90.0
  57.     VertRefresh     85.0 - 90.0
  58. EndSection

  59. Section "Device"

  60.     #VideoRam    256
  61.     # Insert Clocks lines here if appropriate
  62.     Identifier     "* Generic VESA compatible"
  63.     Driver         "nvidia"
  64.     Option           "NvAGP" "3"
  65. EndSection

  66. Section "Screen"
  67.     Identifier     "Screen 1"
  68.     Device         "* Generic VESA compatible"
  69.     Monitor        "My Monitor"
  70.     DefaultDepth    24
  71. #    Option         "RenderAccel" "true"
  72.     Option         "AllowGLXWithComposite" "true"
  73.     SubSection     "Display"
  74.         Viewport    0 0
  75.         Depth       8
  76.         Modes      "640x400"
  77.     EndSubSection
  78.     SubSection     "Display"
  79.         Viewport    0 0
  80.         Depth       16
  81.         Modes      "640x480"
  82.     EndSubSection
  83.     SubSection     "Display"
  84.         Viewport    0 0
  85.         Depth       24
  86.         Modes      "1024x768" "640x480"
  87.     EndSubSection
  88. EndSection

  89. Section "Extensions"
  90.     Option         "Composite" "Enable"
  91.     Option         "RENDER" "Enable"
  92. EndSection

复制代码
回复 支持 反对

使用道具 举报

发表于 2006-4-6 02:15:04 | 显示全部楼层
把所有xorg-xxx-xxx得包全部重装一下囉
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-6 13:05:40 | 显示全部楼层
呵呵,我用vmware里的arch编译了,是eva的一个cvs版本。
回复 支持 反对

使用道具 举报

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

本版积分规则

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