联想Y430装新驱动xf86-video-intel-2.4.0失败,求救高手,郁闷中。。。。

笔记本/便携移动设备,手机平板等软硬件
回复
fkepfjpgy
帖子: 23
注册时间: 2008-12-20 23:36

联想Y430装新驱动xf86-video-intel-2.4.0失败,求救高手,郁闷中。。。。

#1

帖子 fkepfjpgy » 2008-12-25 17:37

我是个菜鸟,前不久刚装了UBUNTU8.10,机子是Y430G-PSE,集成的INTER G45 X4500显卡,其实系统自带的也能用,但发现很不爽,虽然可以开3D桌面,但有时会花少少的屏,问题不大,很快就又会正常的。。。。。但wine下的运行程序就郁闷了,花屏一大片啊。还有个问题就是有时开机会黑屏,关了再开才能再进,肯定是显卡驱动有问题了。于是去GOOGLE,发现有新的驱动,支持新的G4系列的,但下过来之后编译出了问题,极度郁闷,哪位高手帮我看看。。。。。。。。。。。。
root@xiaofeng-laptop:/home/xiaofeng/桌面/xf86-video-intel-2.4.0# ./configure
bash: ./configure: Permission denied
这句话好像是说配置权限不够,可我已经在ROOT超级管理员下了,怎么可能会权限不够??在普通用户里也是同样一个问题。。。。。。。。 :em20
fkepfjpgy
帖子: 23
注册时间: 2008-12-20 23:36

Re: 联想Y430装新驱动xf86-video-intel-2.4.0失败,求救高手,郁闷中。。。。

#2

帖子 fkepfjpgy » 2008-12-25 18:05

chmod a+x configure。。。。。。。。。。。。原来这样就可以了,郁闷,不过又有新问题了。。。更郁闷,不能make,看不懂一长串的英文,貌似少了啥东东,哪位高手帮我看下,谢 谢
xiaofeng@xiaofeng-laptop:~/桌面/xf86-video-intel-2.4.0$ chmod a+x configure
xiaofeng@xiaofeng-laptop:~/桌面/xf86-video-intel-2.4.0$ ./configure
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... no
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for style of include used by make... GNU
checking for gcc... gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
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 a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ld used by gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for /usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognize dependent libraries... pass_all
checking how to run the C preprocessor... gcc -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 dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 1572864
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc supports -fno-rtti -fno-exceptions... no
checking for gcc option to produce PIC... -fPIC
checking if gcc PIC flag -fPIC works... yes
checking if gcc static flag -static works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/usr/bin/ld) 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
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fPIC
checking if g++ PIC flag -fPIC works... yes
checking if g++ static flag -static works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... GNU/Linux ld.so
(cached) (cached) checking how to hardcode library paths into programs... immediate
appending configuration tag "F77" to libtool
checking for bash... /bin/bash
checking if libtool sucks... yup, it does
checking if dolt supports this host... yes, replacing libtool
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ISO C89... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking whether gcc and cc understand -c and -o together... yes
checking for intel-gen4asm... no
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for mprotect... yes
checking if XINERAMA is defined... yes
checking if RANDR is defined... yes
checking if RENDER is defined... yes
checking if XF86DRI is defined... yes
checking if DPMSExtension is defined... yes
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for XORG... yes
checking for ANSI C header files... (cached) yes
checking whether to include DRI support... checking for /usr/include/xorg/dri.h... yes
checking for /usr/include/xorg/sarea.h... yes
checking for /usr/include/xorg/dristruct.h... yes
checking for /usr/include/xorg/damage.h... yes
yes
checking for xf86Modes.h... yes
checking whether XSERVER_LIBPCIACCESS is declared... yes
checking for PCIACCESS... yes
configure: X server has new mode code
checking whether xf86RotateFreeShadow is declared... no
checking for DRI... configure: error: Package requirements (libdrm xf86driproto glproto) were not met:

No package 'libdrm' 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 DRI_CFLAGS
and DRI_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

xiaofeng@xiaofeng-laptop:~/桌面/xf86-video-intel-2.4.0$ make
make: *** 没有指明目标并且找不到 makefile。 停止。
haoyingyao
帖子: 1
注册时间: 2009-01-05 12:58

Re: 联想Y430装新驱动xf86-video-intel-2.4.0失败,求救高手,郁闷中。。。。

#3

帖子 haoyingyao » 2009-01-05 12:59

这个你需要将libdrm.pc拷贝到PKG_CONFIG_PATH路径下
这样他会识别出你编译的libdrm库,进而顺利完成安装。
回复