`
cloudhe
  • 浏览: 109039 次
  • 性别: Icon_minigender_1
  • 来自: 北京
社区版块
存档分类
最新评论

When Ubuntu6.10 cannot install vmware-tools

阅读更多
The installation stops at:
引用
What is the location of the directory of C header files that match your running
           kernel? [/usr/src/linux/include]

Whatever path I give it here will be in vain, since I don't have any headers actually.

How this problem came to me is after:

$ sudo apt-get dist-upgrade

which made my shared directory set in VMware6 could not be seen in Ubuntu any more and meanwhile got latest kernel surprisingly without any headers which finally stopped me when I was reinstalling the vmware-tools.

So, I need to install the headers for the release of the kernel just installed.

To find this out, type:

$ uname -r


Install them:
$ sudo apt-get install linux-headers-<result from uname -r above>
$ sudo apt-get install build-essential (doesn't work for me however)

Then ererything should be ok now. Go ahead and try to install vmware-tools again.

Refer to: http://www.blogjava.net/jinfeng_wang/archive/2007/05/19/102531.html
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics