Re: vmware-config can't find header files

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

 



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

-- 
fedora-test-list mailing list
fedora-test-list@xxxxxxxxxx
To unsubscribe: 
https://www.redhat.com/mailman/listinfo/fedora-test-list

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]