vmware中ubuntu遇到vmtools安装问题

koala_0808 2009-03-29 12:16:23
我在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也不行。
搞不定了,请高手指点一二。
...全文
586 4 打赏 收藏 转发到动态 举报
写回复
用AI写文章
4 条回复
切换为时间正序
请发表友善的回复…
发表回复
emptyness 2009-10-31
  • 打赏
  • 举报
回复
这个问题 得到 ubuntu中文论坛去 比较好.
这个问题 那里会比这里专业一点.
xiaocai0001 2009-09-30
  • 打赏
  • 举报
回复
需要安装linux-kernel-devel我觉得.
sd4428813 2009-09-30
  • 打赏
  • 举报
回复
按下 Ctrl 和 Alt + F1 关闭X-window

进入文本模式下安转

19,612

社区成员

发帖
与我相关
我的任务
社区描述
系统使用、管理、维护问题。可以是Ubuntu, Fedora, Unix等等
社区管理员
  • 系统维护与使用区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧