分页: 1 / 1

vmware中ubuntu遇到vmtools安装问题

发表于 : 2009-03-28 22:20
koala0808
我在vmware中安装了ubuntu,然后在命令行安装vmware-tools。运行vmware-install.pl,一路回车,挺顺利的。
到了vmware-config-tools.pl这一步,卡在指定c header files location这里。

What is the location of the directory of C header files that match your running kernel?
缺省目录给的是[/usr/src/linux/include]

我看了下系统里面/usr/src下面有两个
/linux-2.6.27-7和/linux-2.6.27-7-generic,都指定了试试,结果失败。

在网上查了一圈,回头再安装
sudo apt-get install build-essential
sudo apt-get install linux-headers-2.6.27-7-generic, 这个2.6.27-7-generic是用uname -a 看到的。

继续config,还是卡在那里,把目录指到/usr/src/linux-headers-2.6.27-7-generic/include,提示:

The directory of kernel headers (version @@VMWARE@@ UTS_RElEASE) does not match
your running kernel (version 2.6.27-7-generic). Even if the module were to compie successfully,
it would not load into the running kernel.

指到/usr/src/linux-headers-2.6.27-7/include也不行。
搞不定了,请高手指点一二。

Re: vmware中ubuntu遇到vmtools安装问题

发表于 : 2009-03-30 16:02
hit1983
我也是在配置到 vsock 这个模块时有点问题, 但是还是能继续进行的只是这个模块不能使用. 另外我的宽屏显示器只能使用1024*768这个分辨率, 郁闷