VMware4.5.1 build-7568 に、Fedora Core 3をインストールした時のメモ
そのままでは付属のVMware Toolsがうまくインストールできない。
Googleで検索したところ、ここ http://kerneltrap.org/node/4030?PHPSESSID=b58e0f21f90fd8e2e2f51eff73d48bd1 にパッチがあることが判明。
このパッチは、VMware4.5.2用のパッチなので、少々修正。
インストール手順:
1. mount /dev/cdrom /mnt 2. tar zxf /mnt/vmware-linux-tools.tar.gz 3. umount /dev/cdrom 4. cd vmware-tools-distrib 5. patch -Np1 -i vmware-4.5.2-fedora-core3-test3.patch (5箇所パッチがあたるが、2番目が失敗する) vmware-tools-distrib/bin/vmware-config-tools.pl の2988行目あたりの、 /XFree86 Version (d+.d+.?d*)/ ? $1: '0.0.0'; を、以下のように修正。 /XFree86 Version (d+.d+.?d*)/ ? $1: '4.4.0'; 6. ./vmware-install.pl 7. Answer the installation/configuration questions as usual.
vmware-4.5.2-fedora-core3-test3.patch
diff -ru vmware-tools-distrib.orig/bin/vmware-config-tools.pl vmware-tools-distrib/bin/vmware-config-tools.pl --- vmware-tools-distrib.orig/bin/vmware-config-tools.pl 2004-06-11 02:52:10.000000000 +0200 +++ vmware-tools-distrib/bin/vmware-config-tools.pl 2004-10-18 20:24:01.966295392 +0200 @@ -2849,7 +2849,7 @@ } sub xserver4 { - return xserver_bin() . '/XFree86'; + return xserver_bin() . '/Xorg'; } sub xserver3 { @@ -3052,7 +3052,7 @@ # string. Maybe it will once it settles down. if ($xversionAll eq "0.0.0") { $xversionAll = direct_command(shell_string(xserver4()) . ' -version 2>&1') =~ - /X.org Foundation/ ? '4.4.0' : '0.0.0'; + /X.org Foundation/ ? '4.4.0' : '4.4.0'; } # This search order is issued from the XF86Config man page. @@ -3063,6 +3063,8 @@ file_name_exist('/usr/X11R6/etc/X11/' . $ENV{'XF86CONFIG'})) { $xconfig_path = '/usr/X11R6/etc/X11'; $xconfig_file_name = $ENV{'XF86CONFIG'}; + } elsif (file_name_exist($xconfig_path . '/xorg.conf')) { + $xconfig_file_name = 'xorg.conf'; } elsif (file_name_exist($xconfig_path . '/XF86Config-4')) { $xconfig_file_name = 'XF86Config-4'; } elsif (file_name_exist($xconfig_path . '/XF86Config')) { @@ -3435,7 +3437,7 @@ my $inSection = 0; my @currentSection; my $sectionLine; - my $keybRegex = 'drivers+"keyboard"'; + my $keybRegex = 'drivers+"(keyboard|kbd)"'; my $kbdIdentifier = 'Keyboard'; my ($line, $copy); @@ -3568,6 +3570,7 @@ if ($major == 4 && $minor >= 2 && file_name_exist($cX4MouseDriverFile)) { $line =~ s/%MOUSE_DRIVER%/vmmouse/g; + $line =~ s-/dev/mouse-/dev/input/mice-; } else { $line =~ s/%MOUSE_DRIVER%/mouse/g; }