[问题]vmware安装vmware-tools不成功啊,请问"c header files......"是什么?

Kvm、VMware、Virtualbox、Xen、Qemu 等
回复
waterxhg
帖子: 5
注册时间: 2008-01-10 16:16

[问题]vmware安装vmware-tools不成功啊,请问"c header files......"是什么?

#1

帖子 waterxhg » 2008-08-20 22:21

root@ubuntu:/home/water/vmware-tools-distrib# ./vmware-install.pl
A previous installation of VMware Tools has been detected.

The previous installation was made by the tar installer (version 4).

Keeping the tar4 installer database format.

Uninstalling the tar installation of VMware Tools.

Stopping VMware Tools services in the virtual machine:
Guest operating system daemon: done

The removal of VMware Tools 6.0.4 build-93057 for Linux completed successfully.
Thank you for having tried this software.

Installing VMware Tools.

In which directory do you want to install the binary files?
[/usr/bin]

What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc]

What is the directory that contains the init scripts?
[/etc/init.d]

In which directory do you want to install the daemon files?
[/usr/sbin]

In which directory do you want to install the library files?
[/usr/lib/vmware-tools]

The path "/usr/lib/vmware-tools" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes]

In which directory do you want to install the documentation files?
[/usr/share/doc/vmware-tools]

The path "/usr/share/doc/vmware-tools" does not exist currently. This program
is going to create it, including needed parent directories. Is this what you
want? [yes]

The installation of VMware Tools 6.0.4 build-93057 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".

Before running VMware Tools for the first time, you need to configure it by
invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want
this program to invoke the command for you now? [yes]


Stopping VMware Tools services in the virtual machine:
Guest operating system daemon: done
Trying to find a suitable vmmemctl module for your running kernel.

None of the pre-built vmmemctl modules for VMware Tools is suitable for your
running kernel. Do you want this program to try to build the vmmemctl module
for your system (you need to have a C compiler installed on your system)?
[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]

The path "/usr/src/linux/include" is an existing directory, but it does not
contain a "linux" subdirectory as expected.
头像
yyrl
帖子: 121
注册时间: 2008-01-31 14:17
联系:

#2

帖子 yyrl » 2008-08-20 23:19

要装头文件,用这个命令
sudo aptitude install build-essential linux-headers-$(uname -r)
德不孤,必有邻。
风来疏竹,风过而竹不留声,雁照寒潭,雁去而潭不留影。故君子事来而心始现,事去而心随空。
回复