LinuxSir.cn,穿越时空的Linuxsir!

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

安装 nvidia geforce 7600 出错

[复制链接]
发表于 2009-2-19 19:18:20 | 显示全部楼层 |阅读模式
localhost ~ # USE="gtk" emerge nvidia-drivers
Calculating dependencies... done!

>>> Verifying ebuild manifests

>>> Starting parallel fetch

>>> Emerging (1 of 2) x11-drivers/nvidia-drivers-177.82
* NVIDIA-Linux-x86-177.82-pkg0.run RMD160 SHA1 SHA256 size ;-) ...      [ ok ]
* checking ebuild checksums ;-) ...                                     [ ok ]
* checking auxfile checksums ;-) ...                                    [ ok ]
* checking miscfile checksums ;-) ...                                   [ ok ]
* Determining the location of the kernel source code
* Found kernel source directory:
*     /usr/src/linux
* Found sources for kernel version:
*     
*   ERROR: Kernel configuration is invalid.
*          include/linux/autoconf.h or include/config/auto.conf are missing.
*          Run 'make oldconfig && make prepare' on kernel src to fix it.
*
* 2.
*   ERROR: Kernel configuration is invalid.
*          include/linux/autoconf.h or include/config/auto.conf are missing.
*          Run 'make oldconfig && make prepare' on kernel src to fix it.
*
* 6.
*   ERROR: Kernel configuration is invalid.
*          include/linux/autoconf.h or include/config/auto.conf are missing.
*          Run 'make oldconfig && make prepare' on kernel src to fix it.
*
* 27
*   ERROR: Kernel configuration is invalid.
*          include/linux/autoconf.h or include/config/auto.conf are missing.
*          Run 'make oldconfig && make prepare' on kernel src to fix it.
*
* -gentoo-r7
/usr/portage/eclass/linux-info.eclass: line 293: [: too many arguments
* These sources have not yet been prepared.
* We cannot build against an unprepared tree.
* To resolve this, please type the following:
*
* # cd /usr/src/linux
* # make oldconfig
* # make modules_prepare
*
* Then please try merging this module again.
*
* ERROR: x11-drivers/nvidia-drivers-177.82 failed.
* Call stack:
*                      ebuild.sh, line   49:  Called pkg_setup
*   nvidia-drivers-177.82.ebuild, line  146:  Called linux-mod_pkg_setup
*               linux-mod.eclass, line  580:  Called check_kernel_built
*              linux-info.eclass, line  476:  Called die
* The specific snippet of code:
*           die "Kernel sources need compiling first"
*  The die message:
*   Kernel sources need compiling first
*
* 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-drivers/nvidia-drivers-177.82/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-177.82/temp/die.env'.
*

>>> Failed to emerge x11-drivers/nvidia-drivers-177.82, Log file:

>>>  '/var/tmp/portage/x11-drivers/nvidia-drivers-177.82/temp/build.log'

* Messages for package x11-drivers/nvidia-drivers-177.82:

* These sources have not yet been prepared.
* We cannot build against an unprepared tree.
* To resolve this, please type the following:
*
* # cd /usr/src/linux
* # make oldconfig
* # make modules_prepare
*
* Then please try merging this module again.
*
* ERROR: x11-drivers/nvidia-drivers-177.82 failed.
* Call stack:
*                      ebuild.sh, line   49:  Called pkg_setup
*   nvidia-drivers-177.82.ebuild, line  146:  Called linux-mod_pkg_setup
*               linux-mod.eclass, line  580:  Called check_kernel_built
*              linux-info.eclass, line  476:  Called die
* The specific snippet of code:
*           die "Kernel sources need compiling first"
*  The die message:
*   Kernel sources need compiling first
*
* 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-drivers/nvidia-drivers-177.82/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-177.82/temp/die.env'.
*
发表于 2009-2-19 19:37:10 | 显示全部楼层
Post by l_s;1949762

>>> Failed to emerge x11-drivers/nvidia-drivers-177.82, Log file:

>>>  '/var/tmp/portage/x11-drivers/nvidia-drivers-177.82/temp/build.log'

* Messages for package x11-drivers/nvidia-drivers-177.82:

* These sources have not yet been prepared.
* We cannot build against an unprepared tree.
* To resolve this, please type the following:
*
* # cd /usr/src/linux
* # make oldconfig
* # make modules_prepare
*
* Then please try merging this module again.
*
* ERROR: x11-drivers/nvidia-drivers-177.82 failed.
* Call stack:
*                      ebuild.sh, line   49:  Called pkg_setup
*   nvidia-drivers-177.82.ebuild, line  146:  Called linux-mod_pkg_setup
*               linux-mod.eclass, line  580:  Called check_kernel_built
*              linux-info.eclass, line  476:  Called die
* The specific snippet of code:
*           die "Kernel sources need compiling first"
*  The die message:
*   Kernel sources need compiling first
*
* 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-drivers/nvidia-drivers-177.82/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-177.82/temp/die.env'.
*
      
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-2-19 20:02:26 | 显示全部楼层
我试一下      xxx
回复 支持 反对

使用道具 举报

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

本版积分规则

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