红联Linux门户
Linux帮助
当前位置: 红联Linux门户 > Ubuntu

VM tools安装问题

发布时间:2010-01-27 19:37:16来源:红联作者:mcu_mouse
在网上找了N篇教程都是告诉直接按回车就行了,但我的到一个步骤后就不行了。后来有人告诉我更新后就可以了,但我今天更新了还是不行。
看提示好像是说有一个什么库没有找到。应该如何操作,请高手解答

bin doc etc FILES INSTALL installer lib vmware-install.pl
reset@reset-desktop:~/vmtools/vmware-tools-distrib$ ./vmware-install.pl
Please re-run this program as the super user.

Execution aborted.

reset@reset-desktop:~/vmtools/vmware-tools-distrib$
reset@reset-desktop:~/vmtools/vmware-tools-distrib$
reset@reset-desktop:~/vmtools/vmware-tools-distrib$ sudo ./vmware-install.pl
[sudo] password for reset:
A previous installation of VMware software has been detected.

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

Keeping the tar3 installer database format.

Uninstalling the tar installation of VMware Tools.

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



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

Installing the content of the package.

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 5.5.1 build-19175 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:-ne done

Trying to find a suitable vmhgfs module for your running kernel.

None of the pre-built vmhgfs modules for VMware Tools is suitable for your
running kernel. Do you want this program to try to build the vmhgfs 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 not an existing directory.

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

共有 1 条评论

  1. bobo504 于 2010-01-27 21:47:58发表:

    装kernel-devel