./vmware-install.pl后碰到The path to “" is not valid.的问题,在找到解决办法:
1.gedit bin/vmware-config-tools.pl
2.注释掉一行代码
sub getValidKernelHeadersPath {
my $kh_path = shift;
my $modconfig = shift;
my $appLoaderArgs = shift;
my $answer;
my $query;
my $default;
# while (1)
{
if (system("$modconfig --validate-kernel-headers \"$kh_path\" " .
"$appLoaderArgs >/dev/null 2>&1") == 0) {
$query = "The path \"$kh_path\" appears to be a valid path to the " .
"kernel headers of the running kernel.";
$default = 'no';
} else {
$query = "The path \"$kh_path\" is not valid.";
$default = 'yes';
$kh_path = '';
}
$answer = get_answer($query . "\n Would you like to change it?",
'yesno', $default);
if ($answer eq 'yes') {
# Get new path.
$kh_path = query('What is the location of the ' .
'directory of C header files that match your ' .
'running kernel?', $kh_path, 0);
} else {
last;
}
}
return $kh_path;
}
3.vmware-install.pl询问输入kernel header时输入正确的path即可,如/usr/src/kernels/2.6.34.7-56.fc13.i686/include
阅读(1005) | 评论(3) | 转发(0) |