LinuxSir.cn,穿越时空的Linuxsir!

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

virtualbox-ose 安装出错.

[复制链接]
发表于 2009-5-4 12:25:37 | 显示全部楼层 |阅读模式
>>> Emerging (1 of 8) app-emulation/virtualbox-modules-2.2.0
>>> Failed to emerge app-emulation/virtualbox-modules-2.2.0, Log file:
>>>  '/var/tmp/portage/app-emulation/virtualbox-modules-2.2.0/temp/build.log'
* 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.
*
* 29
*   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-r1
/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: app-emulation/virtualbox-modules-2.2.0 failed.
* Call stack:
*                         ebuild.sh, line   49:  Called pkg_setup
*   virtualbox-modules-2.2.0.ebuild, line   31:  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/app-emulation/virtualbox-modules-2.2.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-emulation/virtualbox-modules-2.2.0/temp/die.env'.
*

* Messages for package app-emulation/virtualbox-modules-2.2.0:

* 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: app-emulation/virtualbox-modules-2.2.0 failed.
* Call stack:
*                         ebuild.sh, line   49:  Called pkg_setup
*   virtualbox-modules-2.2.0.ebuild, line   31:  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/app-emulation/virtualbox-modules-2.2.0/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/app-emulation/virtualbox-modules-2.2.0/temp/die.env'.
*

* IMPORTANT: 1 news items need reading for repository 'gentoo'.
* Use eselect news to read news items.




这是什么意思.
发表于 2009-5-4 12:46:55 | 显示全部楼层
* die "Kernel not configured; no .config found in ${KV_OUT_DIR}"
* The die message:
* Kernel not configured; no .config found in /usr/src/linux
回复 支持 反对

使用道具 举报

 楼主| 发表于 2009-5-4 14:03:06 | 显示全部楼层
这个是什么意思,是内核没有设置好么
回复 支持 反对

使用道具 举报

发表于 2009-5-4 14:12:52 | 显示全部楼层
估计你编译完kernel就make clean了。。。
重新生成个.config
回复 支持 反对

使用道具 举报

发表于 2009-5-4 18:59:22 | 显示全部楼层
要配置编译过
并且把一堆*.o留着的(记得是)那包内核源代码才可以拿来编译virtualbox-modules
刚抓取来 eselect 过去的 “干净”的一包源代码还不能用
回复 支持 反对

使用道具 举报

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

本版积分规则

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