星期四, 八月 05, 2010

Ubuntu7.10成功安装VMWareTool

2007/10/28 下午 05:54

Creating a new VMware Tools installer database using the tar4 format.

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.1 build-55017 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? [/lib/modules/2.6.22-14-generic/build/include]

Extracting the sources of the vmmemctl module.

Building the vmmemctl module.

Using 2.6.x kernel build system.

make: Entering directory `/tmp/vmware-config0/vmmemctl-only'

make -C /lib/modules/2.6.22-14-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules

make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'

CC [M] /tmp/vmware-config0/vmmemctl-only/os.o

SHIPPED /tmp/vmware-config0/vmmemctl-only/vmmemctl1.o

LD [M] /tmp/vmware-config0/vmmemctl-only/vmmemctl.o

Building modules, stage 2.

MODPOST 1 modules

WARNING: could not find /tmp/vmware-config0/vmmemctl-only/.vmmemctl1.o.cmd for /tmp/vmware-config0/vmmemctl-only/vmmemctl1.o

CC      /tmp/vmware-config0/vmmemctl-only/vmmemctl.mod.o

LD [M] /tmp/vmware-config0/vmmemctl-only/vmmemctl.ko

make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'

cp -f vmmemctl.ko ./../vmmemctl.o

make: Leaving directory `/tmp/vmware-config0/vmmemctl-only'

The module loads perfectly in the running kernel.

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]

Extracting the sources of the vmhgfs module.

Building the vmhgfs module.

Using 2.6.x kernel build system.

make: Entering directory `/tmp/vmware-config0/vmhgfs-only'

make -C /lib/modules/2.6.22-14-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules

make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'

CC [M] /tmp/vmware-config0/vmhgfs-only/backdoor.o

CC [M] /tmp/vmware-config0/vmhgfs-only/backdoorGcc32.o

CC [M] /tmp/vmware-config0/vmhgfs-only/bdhandler.o

CC [M] /tmp/vmware-config0/vmhgfs-only/cpName.o

CC [M] /tmp/vmware-config0/vmhgfs-only/cpNameLinux.o

CC [M] /tmp/vmware-config0/vmhgfs-only/cpNameLite.o

CC [M] /tmp/vmware-config0/vmhgfs-only/dbllnklst.o

CC [M] /tmp/vmware-config0/vmhgfs-only/dentry.o

CC [M] /tmp/vmware-config0/vmhgfs-only/dir.o

CC [M] /tmp/vmware-config0/vmhgfs-only/eventManager.o

CC [M] /tmp/vmware-config0/vmhgfs-only/file.o

CC [M] /tmp/vmware-config0/vmhgfs-only/filesystem.o

/tmp/vmware-config0/vmhgfs-only/filesystem.c: 在函数 ‘HgfsInitFileSystem’ 中:

/tmp/vmware-config0/vmhgfs-only/filesystem.c:582: 错误: 提供给函数 ‘kmem_cache_create’ 的实参太少

/tmp/vmware-config0/vmhgfs-only/filesystem.c:593: 错误: 提供给函数 ‘kmem_cache_create’ 的实参太少

make[2]: *** [/tmp/vmware-config0/vmhgfs-only/filesystem.o] 错误 1

make[1]: *** [_module_/tmp/vmware-config0/vmhgfs-only] 错误 2

make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'

make: *** [vmhgfs.ko] 错误 2

make: Leaving directory `/tmp/vmware-config0/vmhgfs-only'

Unable to build the vmhgfs module.

The filesystem driver (vmhgfs module) is used only for the shared folder

feature. The rest of the software provided by VMware Tools is designed to work

independently of this feature.

If you wish to have the shared folders feature, you can install the driver by

running vmware-config-tools.pl again after making sure that gcc, binutils, make

and the kernel sources for your running kernel are installed on your machine.

These packages are available on your distribution's installation CD.

[ Press Enter key to continue ]  

pcnet32                34308 0

Unloading pcnet32 module

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

None of the pre-built vmxnet modules for VMware Tools is suitable for your

running kernel. Do you want this program to try to build the vmxnet module for

your system (you need to have a C compiler installed on your system)? [yes]

Extracting the sources of the vmxnet module.

Building the vmxnet module.

Using 2.6.x kernel build system.

make: Entering directory `/tmp/vmware-config1/vmxnet-only'

make -C /lib/modules/2.6.22-14-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules

make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'

CC [M] /tmp/vmware-config1/vmxnet-only/vmxnet.o

Building modules, stage 2.

MODPOST 1 modules

CC      /tmp/vmware-config1/vmxnet-only/vmxnet.mod.o

LD [M] /tmp/vmware-config1/vmxnet-only/vmxnet.ko

make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'

cp -f vmxnet.ko ./../vmxnet.o

make: Leaving directory `/tmp/vmware-config1/vmxnet-only'

The module loads perfectly in the running kernel.

update-initramfs: Generating /boot/initrd.img-2.6.22-14-generic

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

None of the pre-built vmblock modules for VMware Tools is suitable for your

running kernel. Do you want this program to try to build the vmblock module

for your system (you need to have a C compiler installed on your system)?

[yes]

Extracting the sources of the vmblock module.

Building the vmblock module.

Using 2.6.x kernel build system.

make: Entering directory `/tmp/vmware-config1/vmblock-only'

make -C /lib/modules/2.6.22-14-generic/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules

make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'

CC [M] /tmp/vmware-config1/vmblock-only/linux/block.o

CC [M] /tmp/vmware-config1/vmblock-only/linux/control.o

CC [M] /tmp/vmware-config1/vmblock-only/linux/dbllnklst.o

CC [M] /tmp/vmware-config1/vmblock-only/linux/dentry.o

CC [M] /tmp/vmware-config1/vmblock-only/linux/file.o

CC [M] /tmp/vmware-config1/vmblock-only/linux/filesystem.o

CC [M] /tmp/vmware-config1/vmblock-only/linux/inode.o

CC [M] /tmp/vmware-config1/vmblock-only/linux/module.o

CC [M] /tmp/vmware-config1/vmblock-only/linux/stubs.o

CC [M] /tmp/vmware-config1/vmblock-only/linux/super.o

LD [M] /tmp/vmware-config1/vmblock-only/vmblock.o

Building modules, stage 2.

MODPOST 1 modules

CC      /tmp/vmware-config1/vmblock-only/vmblock.mod.o

LD [M] /tmp/vmware-config1/vmblock-only/vmblock.ko

make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'

cp -f vmblock.ko ./../vmblock.o

make: Leaving directory `/tmp/vmware-config1/vmblock-only'

The module loads perfectly in the running kernel.

[EXPERIMENTAL] The Virtual Machine Communication Interface (VMCI) service

provides a new communication capability with the Host, primarily for

development at the moment. Would you like to enable this feature? [no]

Detected X.org version 1.3.

No drivers for X.org version: 1.3.

Please choose one of the following display sizes that X will start with (1 -

15):

[1] "640x480"

[2] "800x600"

[3] "1024x768"

[4] "1152x864"

[5] "1280x800"

[6]< "1152x900"

[7] "1280x1024"

[8] "1376x1032"

[9] "1400x900"

[10] "1400x1050"

[11] "1440x900"

[12] "1680x1050"

[13] "1600x1200"

[14] "1920x1200"

[15] "2364x1773"

Please enter a number between 1 and 15:

[6]

似乎由于内核的原因需要编译而且还编译出了些错,但是仍然安装完成,很是高兴。但是安装完了以后马上就找不到网卡了。我于是重新启动了客户机,网卡就找回了,哈哈哈。先把终端记录提供给大家参考。

没有评论: