LinuxSir.cn,穿越时空的Linuxsir!

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

安装VMware时出现的新问题???

[复制链接]
发表于 2006-4-11 01:11:32 | 显示全部楼层 |阅读模式
看了很多关于VMware在Fedora5中安装的贴子。
排除了千辛万苦,总算是找到了一种最简单的方法。
(其实复杂的方法俺也是试过了。例如更改某个文件1972,1973两行的 可惜没用。)
于是找了种最简单的方法

簡單的方法(這是我從 FC5 test3 用到現在的方法,確實可行):
yum -y install gcc gcc-c++ kernel-devel

wget http://ftp.cvut.cz/vmware/vmware-any-any-update98.tar.gz

tar zxvf vmware-any-any-update98.tar.gz

cd vmware-any-any-update98

./runme.pl

开始的时候一切顺利。到了这一步的时候........

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] 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/linux/include]

我看了一下,应该是文件夹的位置有问题。好吧,我又找了好半天才找到了正确的位置
/usr/src/kernels/2.6.16-1.2080_FC5-i686/include

可是............
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include] /usr/src/kernels/2.6.16-1.2080_FC5-i686/include

The directory of kernel headers (version 2.6.16-1.2080_FC5) does not match your
running kernel (version 2.6.15-1.2054_FC5).  Even if the module were to compile
successfully, it would not load into the running kernel.

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

现在该怎么办?
我没招了。请哪位高手请不吝赐教。
最好能再出个最简单,最详细的帖子。我想对VMware有疑问的新手绝不止我一个.
 楼主| 发表于 2006-4-11 10:12:07 | 显示全部楼层
help,help,help
回复 支持 反对

使用道具 举报

发表于 2006-4-11 10:40:27 | 显示全部楼层
要装 kernel-devel-2.6.16-1.2080_FC5.i586.rpm 吧
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-11 14:19:02 | 显示全部楼层
还是不行啊!

在线等帮助.
回复 支持 反对

使用道具 举报

发表于 2006-4-11 19:05:59 | 显示全部楼层
楼主有没有VM的注册码阿?我也想试试看,正在下载呢,就是不知道哪儿能搞到注册码
我下的VM 5.5.1的
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-4-12 15:06:24 | 显示全部楼层
help,help,help,help.
回复 支持 反对

使用道具 举报

发表于 2006-4-12 15:12:42 | 显示全部楼层
Post by hstking

The directory of kernel headers (version 2.6.16-1.2080_FC5) does not match your
running kernel (version 2.6.15-1.2054_FC5).  Even if the module were to compile
successfully, it would not load into the running kernel.


这行提示写得很清楚了,说你的内核目录跟你的运行的内核目录不一样啊。

你首先弄清楚你现在运行的内核是什么,然后再去下载那个内核的源码,放到你找的那个目录那里,再继续。
回复 支持 反对

使用道具 举报

发表于 2006-4-12 23:52:09 | 显示全部楼层
What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.16-1.2080_FC5/build/include]


咱们两个用的是同一种方法,这里是我yum后默认的路径,看看你有用没有?
回复 支持 反对

使用道具 举报

发表于 2006-4-13 02:31:06 | 显示全部楼层
http://ftp.cvut.cz/vmware/
any-any update
  1. VMware
  2. In vmware-config.pl find:
  3.                          . 'not have the same address space size as your running '
  4.                      . 'kernel.' . "\n\n", 0);
  5.         }
  6.        return '';
  7.       }
  8.     }
  9. and change to:
  10.                      . 'not have the same address space size as your running '
  11.                      . 'kernel.' . "\n\n", 0);
  12.         }
  13. #      return '';
  14.       }
  15.     }
复制代码
回复 支持 反对

使用道具 举报

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

本版积分规则

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