[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: vmware-config can't find header files



Tom,

Thanks for posting the patch...tested on an IBM T41, WINXP...works like a charm.

Regards,
Doug

Tom London wrote:
There is a bug in the vmware-config.pl script that is exposed by
changes to the newer kernel headers.

I've reported this to vmware:
http://www.vmware.com/community/thread.jspa?threadID=31877&tstart=0

Here is the patch described there:

--- vmware-config.pl.old        2005-12-15 21:55:24.000000000 -0800
+++ vmware-config.pl    2006-02-04 16:53:06.000000000 -0800
@@ -1969,8 +1969,8 @@
     . ' -E - | ' . shell_string($gHelper{'grep'}) . ' '
     . shell_string($pattern));
   chomp($header_page_offset);
-  $header_page_offset =~ s/^$pattern \(?0x([0-9a-fA-F]{8,}).*$/$1/;
-  if ($header_page_offset =~ /[0-9a-fA-F]{8,}/) {
+  if ($header_page_offset =~ /^$pattern \(?0x([0-9a-fA-F]{8,})/) {
+    $header_page_offset = $1;
     # We found a valid page offset
     if (defined($gSystem{'page_offset'}) and
         not (lc($header_page_offset) eq lc($gSystem{'page_offset'}))) {

tom



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]