(今まで問題が起きなかったので、そんな気がするだけです。検証したわけではありません。)
kernel-sourceとgcc、gcc+が確か必要だったと記憶していますので、事前にYaSTでインストールしておいてください。
1.この圧縮された状態のものをHDDに保存します。
(GUIでhomeの自分のディレクトリのダウンロードにコピーします。)
2.解凍し、ディレクトリを変更します。
(右ボタンで展開してください。その後、そのディレクトリを開きます。)
3.そのディレクトリの中で右ボタンを押し、コンソールを開きます。
以降がコマンドラインからの入力になります。
4.そのままsuするとディレクトリが変更にならないので、suします。
5../vmware-install.plを実行し、インストールします。
ほとんどyesでいいと思いますが、一応確認しながら進めてください。
以上で完了です。
コマンドを実行した際のログです。
ほぼ文字を入力する必要はありません。
すべてenterだけです。
途中エラーが出ますが、問題なく動作します。
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/init.d]
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 8.3.7 build-341836 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]
Initializing...
Stopping VMware Tools services in the virtual machine:
Guest operating system daemon: done
Virtual Printing daemon: done
Unmounting HGFS shares: done
Guest filesystem driver: done
The module vmmemctl has already been installed on this system by another
installer or package and will not be modified by this installer. Use the flag
--clobber-kernel-modules=vmmemctl to override.
Before you can compile modules, you need to have the following installed...
make
gcc
kernel headers of the running kernel
Searching for GCC...
Detected GCC binary at "/usr/bin/gcc".
The path "/usr/bin/gcc" appears to be a valid path to the gcc binary.
Would you like to change it? [no]
Searching for a valid kernel header path...
Detected the kernel headers of the running kernel at
"/lib/modules/2.6.37.1-1.2-default/build/include".
The path "/lib/modules/2.6.37.1-1.2-default/build/include" appears to be a
valid path to the kernel headers of the running kernel.
Would you like to change it? [no]
Using 2.6.x kernel build system.
make: ディレクトリ `/tmp/vmware-root/modules/vmhgfs-only' に入ります
make -C /lib/modules/2.6.37.1-1.2-default/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: ディレクトリ `/usr/src/linux-2.6.37.1-1.2-obj/x86_64/default' に入りま す
make -C ../../../linux-2.6.37.1-1.2 O=/usr/src/linux-2.6.37.1-1.2-obj/x86_64/default/. modules
CC [M] /tmp/vmware-root/modules/vmhgfs-only/backdoorGcc64.o
CC [M] /tmp/vmware-root/modules/vmhgfs-only/message.o
CC [M] /tmp/vmware-root/modules/vmhgfs-only/dir.o
CC [M] /tmp/vmware-root/modules/vmhgfs-only/rpcout.o
CC [M] /tmp/vmware-root/modules/vmhgfs-only/filesystem.o
CC [M] /tmp/vmware-root/modules/vmhgfs-only/cpName.o
CC [M] /tmp/vmware-root/modules/vmhgfs-only/link.o
CC [M] /tmp/vmware-root/modules/vmhgfs-only/request.o
CC [M] /tmp/vmware-root/modules/vmhgfs-only/module.o
CC [M] /tmp/vmware-root/modules/vmhgfs-only/stubs.o
CC [M] /tmp/vmware-root/modules/vmhgfs-only/hgfsUtil.o
CC [M] /tmp/vmware-root/modules/vmhgfs-only/tcp.o
CC [M] /tmp/vmware-root/modules/vmhgfs-only/hgfsEscape.o
CC [M] /tmp/vmware-root/modules/vmhgfs-only/file.o
CC [M] /tmp/vmware-root/modules/vmhgfs-only/transport.o
CC [M] /tmp/vmware-root/modules/vmhgfs-only/inode.o
CC [M] /tmp/vmware-root/modules/vmhgfs-only/bdhandler.o
CC [M] /tmp/vmware-root/modules/vmhgfs-only/super.o
/tmp/vmware-root/modules/vmhgfs-only/super.c:73:4: error: unknown field ‘clear_inode’ specified in initializer
make[4]: *** [/tmp/vmware-root/modules/vmhgfs-only/super.o] エラー 1
make[3]: *** [_module_/tmp/vmware-root/modules/vmhgfs-only] エラー 2
make[2]: *** [sub-make] エラー 2
make[1]: *** [all] エラー 2
make[1]: ディレクトリ `/usr/src/linux-2.6.37.1-1.2-obj/x86_64/default' から出ま す
make: *** [vmhgfs.ko] エラー 2
make: ディレクトリ `/tmp/vmware-root/modules/vmhgfs-only' から出ます
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 ]
Using 2.6.x kernel build system.
make: ディレクトリ `/tmp/vmware-root/modules/vmxnet-only' に入ります
make -C /lib/modules/2.6.37.1-1.2-default/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: ディレクトリ `/usr/src/linux-2.6.37.1-1.2-obj/x86_64/default' に入りま す
make -C ../../../linux-2.6.37.1-1.2 O=/usr/src/linux-2.6.37.1-1.2-obj/x86_64/default/. modules
CC [M] /tmp/vmware-root/modules/vmxnet-only/vmxnet.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/vmware-root/modules/vmxnet-only/vmxnet.mod.o
LD [M] /tmp/vmware-root/modules/vmxnet-only/vmxnet.ko
make[1]: ディレクトリ `/usr/src/linux-2.6.37.1-1.2-obj/x86_64/default' から出ま す
make -C $PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= postbuild
make[1]: ディレクトリ `/tmp/vmware-root/modules/vmxnet-only' に入ります
make[1]: `postbuild' は更新済みです
make[1]: ディレクトリ `/tmp/vmware-root/modules/vmxnet-only' から出ます
cp -f vmxnet.ko ./../vmxnet.o
make: ディレクトリ `/tmp/vmware-root/modules/vmxnet-only' から出ます
Using 2.6.x kernel build system.
make: ディレクトリ `/tmp/vmware-root/modules/vmblock-only' に入ります
make -C /lib/modules/2.6.37.1-1.2-default/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: ディレクトリ `/usr/src/linux-2.6.37.1-1.2-obj/x86_64/default' に入りま す
make -C ../../../linux-2.6.37.1-1.2 O=/usr/src/linux-2.6.37.1-1.2-obj/x86_64/default/. modules
CC [M] /tmp/vmware-root/modules/vmblock-only/linux/dbllnklst.o
CC [M] /tmp/vmware-root/modules/vmblock-only/linux/dentry.o
CC [M] /tmp/vmware-root/modules/vmblock-only/linux/stubs.o
CC [M] /tmp/vmware-root/modules/vmblock-only/linux/file.o
CC [M] /tmp/vmware-root/modules/vmblock-only/linux/block.o
CC [M] /tmp/vmware-root/modules/vmblock-only/linux/inode.o
CC [M] /tmp/vmware-root/modules/vmblock-only/linux/super.o
CC [M] /tmp/vmware-root/modules/vmblock-only/linux/module.o
CC [M] /tmp/vmware-root/modules/vmblock-only/linux/filesystem.o
CC [M] /tmp/vmware-root/modules/vmblock-only/linux/control.o
LD [M] /tmp/vmware-root/modules/vmblock-only/vmblock.o
Building modules, stage 2.
MODPOST 1 modules
CC /tmp/vmware-root/modules/vmblock-only/vmblock.mod.o
LD [M] /tmp/vmware-root/modules/vmblock-only/vmblock.ko
make[1]: ディレクトリ `/usr/src/linux-2.6.37.1-1.2-obj/x86_64/default' から出ま す
make -C $PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= postbuild
make[1]: ディレクトリ `/tmp/vmware-root/modules/vmblock-only' に入ります
make[1]: `postbuild' は更新済みです
make[1]: ディレクトリ `/tmp/vmware-root/modules/vmblock-only' から出ます
cp -f vmblock.ko ./../vmblock.o
make: ディレクトリ `/tmp/vmware-root/modules/vmblock-only' から出ます
Using 2.6.x kernel build system.
make: ディレクトリ `/tmp/vmware-root/modules/vmci-only' に入ります
make -C /lib/modules/2.6.37.1-1.2-default/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: ディレクトリ `/usr/src/linux-2.6.37.1-1.2-obj/x86_64/default' に入りま す
make -C ../../../linux-2.6.37.1-1.2 O=/usr/src/linux-2.6.37.1-1.2-obj/x86_64/default/. modules
CC [M] /tmp/vmware-root/modules/vmci-only/vmciProcess.o
CC [M] /tmp/vmware-root/modules/vmci-only/vmciGuestDs.o
CC [M] /tmp/vmware-root/modules/vmci-only/vmciUtil.o
CC [M] /tmp/vmware-root/modules/vmci-only/vmciDatagram.o
CC [M] /tmp/vmware-root/modules/vmci-only/vmci_drv.o
/tmp/vmware-root/modules/vmci-only/vmci_drv.c:91:4: error: unknown field ‘ioctl’ specified in initializer
/tmp/vmware-root/modules/vmci-only/vmci_drv.c:91:4: warning: initialization from incompatible pointer type
/tmp/vmware-root/modules/vmci-only/vmci_drv.c: In function ‘vmci_init’:
/tmp/vmware-root/modules/vmci-only/vmci_drv.c:151:4: error: implicit declaration of function ‘init_MUTEX’
make[4]: *** [/tmp/vmware-root/modules/vmci-only/vmci_drv.o] エラー 1
make[3]: *** [_module_/tmp/vmware-root/modules/vmci-only] エラー 2
make[2]: *** [sub-make] エラー 2
make[1]: *** [all] エラー 2
make[1]: ディレクトリ `/usr/src/linux-2.6.37.1-1.2-obj/x86_64/default' から出ま す
make: *** [vmci.ko] エラー 2
make: ディレクトリ `/tmp/vmware-root/modules/vmci-only' から出ます
The communication service is used in addition to the standard communication
between the guest and the host. The rest of the software provided by VMware
Tools is designed to work independently of this feature.
If you wish to have the VMCI 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 ]
Using 2.6.x kernel build system.
make: ディレクトリ `/tmp/vmware-root/modules/vmci-only' に入ります
make -C /lib/modules/2.6.37.1-1.2-default/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \
MODULEBUILDDIR= modules
make[1]: ディレクトリ `/usr/src/linux-2.6.37.1-1.2-obj/x86_64/default' に入りま す
make -C ../../../linux-2.6.37.1-1.2 O=/usr/src/linux-2.6.37.1-1.2-obj/x86_64/default/. modules
CC [M] /tmp/vmware-root/modules/vmci-only/vmciProcess.o
CC [M] /tmp/vmware-root/modules/vmci-only/vmciGuestDs.o
CC [M] /tmp/vmware-root/modules/vmci-only/vmciUtil.o
CC [M] /tmp/vmware-root/modules/vmci-only/vmciDatagram.o
CC [M] /tmp/vmware-root/modules/vmci-only/vmci_drv.o
/tmp/vmware-root/modules/vmci-only/vmci_drv.c:91:4: error: unknown field ‘ioctl’ specified in initializer
/tmp/vmware-root/modules/vmci-only/vmci_drv.c:91:4: warning: initialization from incompatible pointer type
/tmp/vmware-root/modules/vmci-only/vmci_drv.c: In function ‘vmci_init’:
/tmp/vmware-root/modules/vmci-only/vmci_drv.c:151:4: error: implicit declaration of function ‘init_MUTEX’
make[4]: *** [/tmp/vmware-root/modules/vmci-only/vmci_drv.o] エラー 1
make[3]: *** [_module_/tmp/vmware-root/modules/vmci-only] エラー 2
make[2]: *** [sub-make] エラー 2
make[1]: *** [all] エラー 2
make[1]: ディレクトリ `/usr/src/linux-2.6.37.1-1.2-obj/x86_64/default' から出ま す
make: *** [vmci.ko] エラー 2
make: ディレクトリ `/tmp/vmware-root/modules/vmci-only' から出ます
The VM communication interface socket family is used in conjunction with the VM
communication interface to provide a new communication path among guests and
host. The rest of this software provided by VMware Tools is designed to work
independently of this feature. If you wish to have the VSOCK 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 the Enter key to continue.]
The module vmxnet3 has already been installed on this system by another
installer or package and will not be modified by this installer. Use the flag
--clobber-kernel-modules=vmxnet3 to override.
The module pvscsi has already been installed on this system by another
installer or package and will not be modified by this installer. Use the flag
--clobber-kernel-modules=pvscsi to override.
Detected Xorg X server version 1.9.3.
Distribution provided drivers for Xorg X server are used.
Skipping X configuration because X drivers are not included.
Creating a new initrd boot image for the kernel.
Kernel image: /boot/vmlinuz-2.6.37.1-1.2-default
Initrd image: /boot/initrd-2.6.37.1-1.2-default
Root device: /dev/system/root (mounted on / as ext4)
Resume device: /dev/sda2
Kernel Modules: vmxnet vmxnet3 vmw_pvscsi scsi_transport_spi mptbase mptscsih mptspi thermal_sys thermal ata_generic processor fan dm-mod dm-snapshot crc16 jbd2 ext4 linear
Features: dm block lvm2 resume.userspace resume.kernel
Bootsplash: openSUSE (800x600)
32269 blocks
Starting VMware Tools services in the virtual machine:
Switching to guest configuration: done
Guest operating system daemon: done
Virtual Printing daemon: done
The configuration of VMware Tools 8.3.7 build-341836 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 server session.
To enable advanced X features (e.g., guest resolution fit, drag and drop, and
file and text copy/paste), you will need to do one (or more) of the following:
1. Manually start /usr/bin/vmware-user
2. Log out and log back into your desktop session; and,
3. Restart your X session.
Enjoy,
--the VMware team
Found VMware Tools CDROM mounted at /media/VMware Tools. Ejecting device
/dev/sr0 ...
0 件のコメント:
コメントを投稿