安装vmtools遇到的问题

hallowwar 2010-06-24 11:52:52
到了这里时报错。
The path "" is not valid.
Would you like to change it? [yes]

What is the location of the directory of C header files that match your running
kernel?

搜搜了很多,现在我的系统kernel方面如下:

[hh@F13 ~]$ rpm -qa |grep kernel
kernel-devel-2.6.33.5-124.fc13.i686
abrt-addon-kerneloops-1.1.0-1.fc13.i686
kernel-PAE-devel-2.6.33.5-124.fc13.i686
kernel-PAE-2.6.33.3-85.fc13.i686
kernel-headers-2.6.33.5-124.fc13.i686

[hh@F13 ~]$ uname -r
2.6.33.3-85.fc13.i686.PAE

按照网上说的,现在已经有了对于kernel的kernel-devel了,但还是不行(安装后我重启了的)。

What is the location of the directory of C header files that match your running
kernel? /usr/src/kernels/2.6.33.5-124.fc13.i686/include(这个路径我以为是对的).

The path "/usr/src/kernels/2.6.33.5-124.fc13.i686/include" is not valid.
...全文
524 10 打赏 收藏 转发到动态 举报
写回复
用AI写文章
10 条回复
切换为时间正序
请发表友善的回复…
发表回复
zhupf52 2010-06-24
  • 打赏
  • 举报
回复
不懂帮顶
steptodream 2010-06-24
  • 打赏
  • 举报
回复
我纯属瞎猜的 vmtools这个不太熟 我装过几次过程中都没出现错误
帮不上了哦
hallowwar 2010-06-24
  • 打赏
  • 举报
回复
Would you like to change it? [yes]

What is the location of the directory of C header files that match your running
kernel? /usr/src/kernels/2.6.33.5-124.fc13.i686/include/

The path "/usr/src/kernels/2.6.33.5-124.fc13.i686/include/" is not valid.
Would you like to change it? [yes]
steptodream 2010-06-24
  • 打赏
  • 举报
回复
我仅有的几次装经历也没出现过问题哇 很顺利就安装上了

你把/usr/src/kernels/2.6.33.5-124.fc13.i686/include
改成/usr/src/kernels/2.6.33.5-124.fc13.i686/include/
试试
hallowwar 2010-06-24
  • 打赏
  • 举报
回复
依赖关系解决

================================================================================
软件包 架构 版本 仓库 大小
================================================================================
正在安装:
cjkuni-ukai-fonts noarch 0.2.20080216.1-42.fc13 updates 9.4 M
replacing cjkuni-fonts-common.noarch 0.2.20080216.1-37.fc13
cjkuni-uming-fonts noarch 0.2.20080216.1-42.fc13 updates 8.9 M
replacing cjkuni-fonts-common.noarch 0.2.20080216.1-37.fc13
ibus-pinyin-db-open-phrase noarch 1.3.8-1.fc13 updates 16 M
replacing ibus-pinyin-open-phrase.i686 1.3.5-1.fc13
kernel-PAE i686 2.6.33.5-124.fc13 updates 20 M

以上是yum update 之后的显示。

而我的内核:
[hh@F13 ~]$ uname -r
2.6.33.3-85.fc13.i686.PAE

这两个怎么就不一样呢? 是不是这样所以无法识别?

jianfei111 2010-06-24
  • 打赏
  • 举报
回复
要是头文件的话,/usr/目录下应该有别的内核头文件,你看看
jianfei111 2010-06-24
  • 打赏
  • 举报
回复
vmtools是虚拟机工具吧,还需要头文件啊?直接装不久可以了吗
hallowwar 2010-06-24
  • 打赏
  • 举报
回复
# Check the validity of an answer whose type is headerdir
# Return a clean answer if valid, or ''
sub check_answer_headerdir {
my $answer = shift;
my $source = shift;
my $pattern = '@@VMWARE@@';
my $header_version_uts;
my $header_smp;
my $uts_headers;

$answer = dir_remove_trailing_slashes($answer);

if (not (-d $answer)) {
if ($source eq 'user') {
print wrap('The path "' . $answer . '" is not an existing directory.'
. "\n\n", 0);
}
return '';
}


我的answer看来一直都是空的。
hallowwar 2010-06-24
  • 打赏
  • 举报
回复
[Quote=引用 5 楼 setarcos 的回复:]

到底有没有这个目录: /usr/src/kernels/2.6.33.5-124.fc13.i686/include/

难道不是 /usr/src/linux-2.6.33.5-124.fc13.i686/include
[/Quote]

[root@F13 hh]# cd /usr/src/kernels/2.6.33.5-124.fc13.i686/include/
[root@F13 include]# ls
acpi crypto Kbuild math-emu net rxrpc trace
asm-generic drm keys media pcmcia scsi video
config generated linux mtd rdma sound xen
[root@F13 include]# pwd
/usr/src/kernels/2.6.33.5-124.fc13.i686/include

他就是这个啊,感觉好像到了F12就是这样的一个路径了,我这个是F13.
Setarcos 2010-06-24
  • 打赏
  • 举报
回复
到底有没有这个目录: /usr/src/kernels/2.6.33.5-124.fc13.i686/include/

难道不是 /usr/src/linux-2.6.33.5-124.fc13.i686/include

4,436

社区成员

发帖
与我相关
我的任务
社区描述
Linux/Unix社区 内核源代码研究区
社区管理员
  • 内核源代码研究区社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧