$ cd /tmp/
$ tar xvfz /media/VMware\ Tools/VMwareTools-1.0.3-44356.tar.gz
$ cd vmware-tools-distrib/
$ su
パスワード:
# ./vmware-install.pl
Creating a new installer database using the tar3 format.
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/rc.d]
What is the directory that contains the init scripts?
[/etc/rc.d/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 1.0.3 build-44356 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: [ OK ]
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? [/lib/modules/2.6.18-8.el5/build/include]
Extracting the sources of the vmhgfs module.
Building the vmhgfs module.
Using 2.6.x kernel build system.
make: ディレクトリ `/tmp/vmware-config0/vmhgfs-only' に入ります
make -C /lib/modules/2.6.18-8.el5/build/include/.. SUBDIRS=$PWD
SRCROOT=$PWD/. modules
make[1]: ディレクトリ `/usr/src/kernels/2.6.18-8.el5-i686' に入ります
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/dev.o
CC [M] /tmp/vmware-config0/vmhgfs-only/driver.o
/tmp/vmware-config0/vmhgfs-only/driver.c: In function
‘HgfsChangeFileAttributes’:
/tmp/vmware-config0/vmhgfs-only/driver.c:763: error:
‘struct inode’ has no member named ‘i_blksize’
/tmp/vmware-config0/vmhgfs-only/driver.c: In function
‘HgfsInitializeInode’:
/tmp/vmware-config0/vmhgfs-only/driver.c:835: error:
‘struct inode’ has no member named ‘u’
/tmp/vmware-config0/vmhgfs-only/driver.c: In function ‘HgfsIget’:
/tmp/vmware-config0/vmhgfs-only/driver.c:884: error: ‘struct inode’
has no member named ‘u’
/tmp/vmware-config0/vmhgfs-only/driver.c: In function ‘HgfsCreate’:
/tmp/vmware-config0/vmhgfs-only/driver.c:1535: error: ‘struct inode’
has no member named ‘u’
/tmp/vmware-config0/vmhgfs-only/driver.c: In function ‘HgfsLookup’:
/tmp/vmware-config0/vmhgfs-only/driver.c:1635: error: ‘struct inode’
has no member named ‘u’
/tmp/vmware-config0/vmhgfs-only/driver.c: In function ‘HgfsMkdir’:
/tmp/vmware-config0/vmhgfs-only/driver.c:1727: error: ‘struct inode’
has no member named ‘u’
/tmp/vmware-config0/vmhgfs-only/driver.c: In function ‘HgfsDelete’:
/tmp/vmware-config0/vmhgfs-only/driver.c:1854: error: ‘struct inode’
has no member named ‘u’
/tmp/vmware-config0/vmhgfs-only/driver.c: In function ‘HgfsRename’:
/tmp/vmware-config0/vmhgfs-only/driver.c:2046: error: ‘struct inode’
has no member named ‘u’
/tmp/vmware-config0/vmhgfs-only/driver.c:2048: error: ‘struct inode’
has no member named ‘u’
/tmp/vmware-config0/vmhgfs-only/driver.c: In function ‘HgfsRevalidate’:
/tmp/vmware-config0/vmhgfs-only/driver.c:2288: error: ‘struct inode’
has no member named ‘u’
/tmp/vmware-config0/vmhgfs-only/driver.c: In function ‘HgfsSetattr’:
/tmp/vmware-config0/vmhgfs-only/driver.c:2425: error: ‘struct inode’
has no member named ‘u’
/tmp/vmware-config0/vmhgfs-only/driver.c: In function ‘HgfsOpen’:
/tmp/vmware-config0/vmhgfs-only/driver.c:2801: error: ‘struct inode’
has no member named ‘u’
/tmp/vmware-config0/vmhgfs-only/driver.c: In function ‘HgfsDirOpen’:
/tmp/vmware-config0/vmhgfs-only/driver.c:3414: error: ‘struct inode’
has no member named ‘u’
/tmp/vmware-config0/vmhgfs-only/driver.c: In function ‘HgfsClearInode’:
/tmp/vmware-config0/vmhgfs-only/driver.c:4105: error: ‘struct inode’
has no member named ‘u’
make[2]: *** [/tmp/vmware-config0/vmhgfs-only/driver.o] エラー 1
make[1]: *** [_module_/tmp/vmware-config0/vmhgfs-only] エラー 2
make[1]: ディレクトリ `/usr/src/kernels/2.6.18-8.el5-i686' から出ます
make: *** [vmhgfs.ko] エラー 2
make: ディレクトリ `/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 35269 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: ディレクトリ `/tmp/vmware-config1/vmxnet-only' に入ります
make -C /lib/modules/2.6.18-8.el5/build/include/.. SUBDIRS=$PWD
SRCROOT=$PWD/. modules
make[1]: ディレクトリ `/usr/src/kernels/2.6.18-8.el5-i686' に入ります
CC [M] /tmp/vmware-config1/vmxnet-only/vmxnet.o
Building modules, stage 2.
MODPOST
CC /tmp/vmware-config1/vmxnet-only/vmxnet.mod.o
LD [M] /tmp/vmware-config1/vmxnet-only/vmxnet.ko
make[1]: ディレクトリ `/usr/src/kernels/2.6.18-8.el5-i686' から出ます
cp -f vmxnet.ko ./../vmxnet.o
make: ディレクトリ `/tmp/vmware-config1/vmxnet-only' から出ます
The module loads perfectly in the running kernel.
Detected X.org version 7.1.
Please choose one of the following display sizes (1 - 13):
[1] "640x480"
[2] "800x600"
[3] "1024x768"
[4] "1152x864"
[5] "1280x800"
[6] "1152x900"
[7] "1280x1024"
[8] "1376x1032"
[9] "1400x1050"
[10] "1680x1050"
[11] "1600x1200"
[12] "1920x1200"
[13] "2364x1773"
Please enter a number between 1 and 13:
[3] 7
Starting VMware Tools services in the virtual machine:
Switching to guest configuration: [ OK ]
Guest vmxnet fast network device: [ OK ]
DMA setup: [ OK ]
Guest operating system daemon: [ OK ]
The configuration of VMware Tools 1.0.3 build-44356 for Linux for this
running
kernel completed successfully.
You must restart your X session before any mouse or graphics changes take
effect.
You can now run VMware Tools by invoking the following command:
"/usr/bin/vmware-toolbox" during an X session.
To use the vmxnet driver, restart networking using the following commands:
/etc/init.d/network stop
rmmod pcnet32
rmmod vmxnet
depmod -a
modprobe vmxnet
/etc/init.d/network start
Enjoy,
--the VMware team
|