LinuxSir.cn,穿越时空的Linuxsir!

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

install nvidia-drivers error

[复制链接]
发表于 2008-12-13 11:26:13 | 显示全部楼层 |阅读模式
localhost ~ # emerge nvidia-drivers
\Calculating dependencies... done!
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 2) x11-drivers/nvidia-drivers-173.14.09 to /
* NVIDIA-Linux-x86-173.14.09-pkg0.run RMD160 SHA1 SHA256 size ;-) ...    [ ok ]
* checking ebuild checksums ;-) ...                                      [ ok ]
* checking auxfile checksums ;-) ...                                     [ ok ]
* checking miscfile checksums ;-) ...                                    [ ok ]
* checking NVIDIA-Linux-x86-173.14.09-pkg0.run ;-) ...                   [ 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.

26
  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-r4
/usr/portage/eclass/linux-info.eclass: line 293: [: too many arguments
* Could not find a usable .config in the kernel source directory.
* Please ensure that /usr/src/linux points to a configured set of Linux sources.
* If you are using KBUILD_OUTPUT, please set the environment var so that
* it points to the necessary object directory so that it might find .config.
*
* ERROR: x11-drivers/nvidia-drivers-173.14.09 failed.
* Call stack:
*                         ebuild.sh, line   49:  Called pkg_setup
*   nvidia-drivers-173.14.09.ebuild, line  146:  Called linux-mod_pkg_setup
*                  linux-mod.eclass, line  579:  Called require_configured_kernel
*                 linux-info.eclass, line  192:  Called die
* The specific snippet of code:
*           die "Kernel not configured; no .config found in ${KV_OUT_DIR}"
*  The die message:
*   Kernel not configured; no .config found in /usr/src/linux
*
* 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-173.14.09/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-173.14.09/temp/die.env'.
*

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

* Could not find a usable .config in the kernel source directory.
* Please ensure that /usr/src/linux points to a configured set of Linux sources.
* If you are using KBUILD_OUTPUT, please set the environment var so that
* it points to the necessary object directory so that it might find .config.
*
* ERROR: x11-drivers/nvidia-drivers-173.14.09 failed.
* Call stack:
*                         ebuild.sh, line   49:  Called pkg_setup
*   nvidia-drivers-173.14.09.ebuild, line  146:  Called linux-mod_pkg_setup
*                  linux-mod.eclass, line  579:  Called require_configured_kernel
*                 linux-info.eclass, line  192:  Called die
* The specific snippet of code:
*           die "Kernel not configured; no .config found in ${KV_OUT_DIR}"
*  The die message:
*   Kernel not configured; no .config found in /usr/src/linux
*
* 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-173.14.09/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/x11-drivers/nvidia-drivers-173.14.09/temp/die.env'.


help!
发表于 2008-12-13 11:42:09 | 显示全部楼层
内核自己编了么?
参见

http://www.linuxsir.cn/bbs/thread338910.html
回复 支持 反对

使用道具 举报

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

本版积分规则

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