VMware5.0安装在FC4的问题
安装了VMware后执行vmware-config.pl配置命令在提示:
Trying to find a suitable vmmon module for your running kernel.
None of the pre-built vmmon modules for VMware Workstation is suitable for your
running kernel.Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? yes
后出现
Using compiler "/usr/bin/gcc". Use environment variable CC to override.
What is the location of the directory of C header files that match your running
kernel?
于是我输入 :/usr/src/kernels/2.6.17-1.2142_FC4-i686/include
但就是没有通过:
The kernel defined by this directory of header files does not have the same
address space size as your running kernel.
就因为默认的没有这个目录,才键入这个目录........貌似它这个目录是Debian的目录.
我试过用/usr/include 但没有内核。
我输入/usr/include的时候,他提示没有内核.....他要带c header and kernel.....
我安装了kernel.src的文件包,2141版本的。
#rpm -qa |grep kernel*
kernel-devel-2.6.17-1.2141_FC4
kernel-module-ntfs-2.6.17-1.2139_FC4-2.1.27-1.lvn4
kernel-module-ntfs-2.6.17-1.2141_FC4-2.1.27-1.lvn4
kernel-devel-2.6.11-1.1369_FC4
kernel-2.6.11-1.1369_FC4
kernel-module-nvidia-2.6.17-1.2139_FC4-1.0.8762-1.lvn4
kernel-module-nvidia-2.6.17-1.2141_FC4-1.0.8762-1.lvn4
kernel-2.6.17-1.2142_FC4
kernel-2.6.17-1.2139_FC4
kernel-devel-2.6.17-1.2139_FC4
kernel-2.6.17-1.2141_FC4
kernel-module-nvidia-2.6.17-1.2142_FC4-1.0.8762-1.lvn4
kernel-devel-2.6.17-1.2142_FC4
# uname -ra
Linux ez08.smec 2.6.17-1.2142_FC4 #1 Tue Jul 11 22:41:14 EDT 2006 i686 i686 i386 GNU/Linux 我在FC5下装VM的时候也遇到类似的问题,下了kernel-devel后,文件对应上了,但是也有你那个错误:The kernel defined by this directory of header files does not have the same
address space size as your running kernel.
我在VMware的论坛上搜索了一下,有很多类似的问题
http://www.vmware.com/community/search.jspa?q=vmmon&searchID=1546372&rankBy=10001&start=15
http://www.vmware.com/community/thread.jspa?messageID=43029&#43029
我安装了一个vmware-any-any-update patch后就好用了,你也试试吧
公社下载地址:http://www.linuxfans.org/nuke//modules.php?name=Site_Downloads&op=geninfo&did=4500
页:
[1]