分页: 1 / 1

在Ubuntu 5.04上成功安装VMware 5

发表于 : 2005-05-15 18:02
杨珂
我在用Ubuntu 5.04安装VMware 5 时遇到了一个问题,后在ubuntu英文论坛找到了完整的解决方法,现已安装成功,想必使用Ubuntu 5.04默认安装的朋友同样会遇到这个问题,所以写出来共大家分享!

这个问题是安装到“确认C文件的位置” “What is the locaton of the directory of C header files that match your runing kernel?"这步就进行不下去了。

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

The path "/usr/src/linux/include" is not an existing directory.

解决这个问题需在终端里输入3个命令
$uname -r

$sudo apt-get install linux-headers-`uname -r`

$sudo apt-get install build-essential

ubuntu英文论坛原文如下
转自http://ubuntuforums.org/archive/index.php/t-25258.html


I fixed the problem via this way:



You need to install the headers for the release of the kernel you have installed. To find this out you can type

>> uname -r

to get the header you can apt-get install them,

>> sudo apt-get install linux-headers-`uname -r`

or select the appropriate package in synaptic.

Note: you'll also need gcc etc which if you don't have already you can get with

>> sudo apt-get install build-essential

After installation the vmware installer should just pick up the right place and not require anything but the defaults.

If it's still being stupid, the path to include can be found in /lib/modules/<<module release number>>/build/include

Cheers.


thank you anyway...

发表于 : 2005-05-16 15:18
cydusk
昨天刚刚在vmware5里装好ubuntu,但是马上就发现不能装vmware tools,晚上找了一个晚上就没有什么结果。
呵呵~非常感谢,

发表于 : 2005-05-18 10:02
john_yao
装了。速度太慢。呵呵,我是本本族,原来内存就紧张,所以最后还是算了。

发表于 : 2005-05-18 10:09
yongyi
VM在我机运行得很呛。现在双系统。本想搞好WINE就不用两头跑的了,可惜WINE的效果都不如人意。删了。哈。