QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2694|回复: 6

vmware安不上?

[复制链接]
发表于 2006-4-6 00:48:33 | 显示全部楼层 |阅读模式
我用的是:VMware-workstation-5.5.1-19175.tar.gz版。解压后运行 ./vmware-install.pl程序,提示如下:
上面都正常,换回车都可以过去,到了下面这一步
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include] 按回车

提示如下:
The path "/usr/src/linux/include" is a kernel header file directory, but it doesnot contain the file "linux/version.h" as expected.  This can happen if the
kernel has never been built, or if you have invoked the "make mrproper" command
in your kernel directory.  In any case, you may want to rebuild your kernel.

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]  输入:/usr/src/linux-headers-2.6.16-1-k7/include

又提示如下:
The kernel defined by this directory of header files does not have the same
address space size as your running kernel.

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]

老是卡在这一步,不知道应该怎么办了?
 楼主| 发表于 2006-4-6 11:36:18 | 显示全部楼层
没有人回答呀,急!!!!
回复

使用道具 举报

发表于 2006-4-6 15:11:00 | 显示全部楼层
安装linux-headers
回复

使用道具 举报

 楼主| 发表于 2006-4-6 15:44:27 | 显示全部楼层
安装了。从我的贴子里就能看出来。/usr/src/linux-headers-2.6.16-1-k7/include
回复

使用道具 举报

 楼主| 发表于 2006-4-7 14:07:04 | 显示全部楼层
找到解决办法了。
回复

使用道具 举报

发表于 2006-4-14 07:44:23 | 显示全部楼层
找到解决办法了。


我跟你有一樣的問題,
請問你是如何解決的呢?

以下是安裝提示:
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include] /usr/src/linux-source-2.6.12/include

The path "/usr/src/linux-source-2.6.12/include" is a kernel header file
directory, but it does not contain the file "linux/version.h" as expected.  Thiscan happen if the kernel has never been built, or if you have invoked the "make
mrproper" command in your kernel directory.  In any case, you may want to
rebuild your kernel.
回复

使用道具 举报

 楼主| 发表于 2006-4-14 21:10:14 | 显示全部楼层
一般情况下在debian安装vmware是不会有太多问题的。但如果内核升级到2.6.16就有问题了,我在vmware的官方论坛找到说 workstation5.5不能工作在>2.6.15的内核下,晕呀!(参考:http: //www.vmware.com/community/thread.jspa?threadID=36280&tstart=0)你会遇到 The kernel defined by this directory of header files does not have the same address space size as your running kernel.
的问题。

解决办法是,可以去http://ftp.cvut.cz/vmware/下载vmware-any-any-updateXX.tar.gz,运行runme.pl修正vmware-config.pl的问题。

参考:
http://www.vmware.com/community/thread.jspa?messageID=373014&#373014
http://www.linuxsir.org/bbs/showthread.php?p=1414570
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-10-2 00:08 , Processed in 0.064884 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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