kernel 2.6.16でVMware

kernel 2.6.16が出たので早速入れ替えたんだけど、VMware-5.5.1-19175のvmware-config.plが

The kernel defined by this directory of header files does not have the same address space size as your running kernel.

といって先に進まなくなった。

とりあえず、場当たり的な↓なパッチでOKそう。

--- vmware-config.pl.orig       2006-01-19 15:00:36.000000000 +0900
+++ vmware-config.pl    2006-03-22 18:34:17.000000000 +0900
@@ -1969,7 +1969,7 @@
     . ' -E - | ' . shell_string($gHelper{'grep'}) . ' '
     . shell_string($pattern));
   chomp($header_page_offset);
-  $header_page_offset =~ s/^$pattern \(?0x([0-9a-fA-F]{8,}).*$/$1/;
+  $header_page_offset =~ s/^$pattern \(?.+?0x([0-9a-fA-F]{8,}).*$/$1/;
   if ($header_page_offset =~ /[0-9a-fA-F]{8,}/) {
     # We found a valid page offset
     if (defined($gSystem{'page_offset'}) and