LinuxSir.cn,穿越时空的Linuxsir!

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

请教高手!我在编译安装显卡驱动时出现如下错误,不知如何解决,请高手指点一二!谢谢!

[复制链接]
发表于 2011-4-8 22:37:57 | 显示全部楼层 |阅读模式
nn@linux:~/xf86-video-intel-2.14.902> ./configure prefix=/usr --exec-prefix=/
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether to disable maintainer-specific portions of Makefiles... yes
checking for style of include used by make... GNU
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking for gcc option to accept ISO C99... -std=gnu99
checking how to run the C preprocessor... gcc -std=gnu99 -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for a sed that does not truncate output... /usr/bin/sed
checking for a sed that does not truncate output... (cached) /usr/bin/sed
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc -std=gnu99... /usr/x86_64-suse-linux/bin/ld
checking if the linker (/usr/x86_64-suse-linux/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking for /usr/x86_64-suse-linux/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for ar... ar
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc -std=gnu99 object... ok
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc -std=gnu99 supports -fno-rtti -fno-exceptions... no
checking for gcc -std=gnu99 option to produce PIC... -fPIC -DPIC
checking if gcc -std=gnu99 PIC flag -fPIC -DPIC works... yes
checking if gcc -std=gnu99 static flag -static works... yes
checking if gcc -std=gnu99 supports -c -o file.o... yes
checking if gcc -std=gnu99 supports -c -o file.o... (cached) yes
checking whether the gcc -std=gnu99 linker (/usr/x86_64-suse-linux/bin/ld -m elf_x86_64) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for GEN4ASM... no
checking for UDEV... no
checking if RANDR is defined... no
checking if RENDER is defined... no
checking if XF86DRI is defined... no
checking if DPMSExtension is defined... no
checking for XORG... no
configure: error: Package requirements (xorg-server >= 1.6 xproto fontsproto ) were not met:

No package 'xorg-server' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables XORG_CFLAGS
and XORG_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
nn@linux:~/xf86-video-intel-2.14.902>
发表于 2011-4-8 22:43:02 | 显示全部楼层
我suse编译显卡还没成功过
回复 支持 反对

使用道具 举报

发表于 2011-4-8 23:42:54 | 显示全部楼层
囧了,Intel的显卡……没用过
回复 支持 反对

使用道具 举报

发表于 2011-4-8 23:43:41 | 显示全部楼层
不过看提示是缺乏了xorg-server这个包,安装一个试试:
sudo zypper install xorg-server
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-4-9 06:13:44 | 显示全部楼层
linux:/home/nn/桌面 # zypper install xorg-server
Loading repository data...
Reading installed packages...
'xorg-server' not found in package names. Trying capabilities.
No provider of 'xorg-server' found.
Resolving package dependencies...

Nothing to do.
回复 支持 反对

使用道具 举报

发表于 2011-4-9 08:53:51 | 显示全部楼层
Intel的显卡驱动?Intel的显卡没有官方闭源驱动只有开源驱动,因此各大发行版的源里都有驱动包的,为什么要自己编译?
xorg-server在不同的发行版里不一定就是用的这个名字,找找类似的吧……
回复 支持 反对

使用道具 举报

发表于 2011-4-9 09:26:46 | 显示全部楼层
intel的好像直接就能用吧,不用自己驱。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2011-4-9 09:42:24 | 显示全部楼层
Intel 酷睿i5 2300
LGA 1155
哪个源里有驱动?没有一个源里的驱动能匹配!只有编译最新的!
回复 支持 反对

使用道具 举报

发表于 2011-4-9 10:42:45 | 显示全部楼层
Post by chenmeng10;2134193
Intel 酷睿i5 2300
LGA 1155
哪个源里有驱动?没有一个源里的驱动能匹配!只有编译最新的!


什么意思?驱动支持列表里有HD的,源里的驱动不够新?
回复 支持 反对

使用道具 举报

发表于 2011-4-9 12:05:57 | 显示全部楼层
请楼主正确安装xorg的开发包,应该是xorg-devel之类的。
回复 支持 反对

使用道具 举报

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

本版积分规则

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