vmserver安装出错What is the location of the directory of C header files that match your running kernel?

Fedora13安装vmware出现 :
What is the location of the directory of C header files that match your running
kernel?

The path "" is not valid.
Would you like to change it? [yes]

解决办法:
1.将VMwareTools- 8.1.4-227600.tar.gz文件复制到`/software/文件夹下面
2.安装VMwareTools:
[root@localhost tian]#cd software
[root@localhost tian]#tar xvzf VMwareTools-8.1.4-227600.tar.gz
[root@localhost tian]# cd vmware-tools-distrib/
[root@localhost tian]#./vmware-install.pl
Creating a new VMware Tools installer database using the tar4 format.

Installing VMware Tools.

In which directory do you want to install the binary files?
[/usr/bin]

What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc/rc.d]

What is the directory that contains the init scripts?
[/etc/rc.d/init.d]

In which directory do you want to install the daemon files?
[/usr/sbin]

In which directory do you want to install the library files?
[/usr/lib/vmware-tools]

In which directory do you want to install the documentation files?
[/usr/share/doc/vmware-tools]

The path "/usr/share/doc/vmware-tools" does not exist currently. This program
is going to create it, including needed parent directories. Is this what you
want? [yes]

The installation of VMware Tools 8.1.4 build-227600 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".

Before running VMware Tools for the first time, you need to configure it by
invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want
this program to invoke the command for you now? [yes]

Initializing...


Stopping VMware Tools services in the virtual machine:
Guest operating system daemon:                [确定]
Virtual Printing daemon:                               [确定]
Unmounting HGFS shares:                          [确定]
Guest filesystem driver:                                [确定]



Before you can compile modules, you need to have the following installed...

make
gcc
kernel headers of the running kernel


Searching for GCC...
Detected GCC binary at "/usr/bin/gcc".
The path "/usr/bin/gcc" appears to be a valid path to the gcc binary.
Would you like to change it? [no]

Searching for a valid kernel header path...
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?
3.下载相应的kernel-devel.rpm包进行安装
Fedora13 Alpha版本内核版本为:
2.6.33-0.52.rc8.git6.fc13.i686.PAE
其下载地址为:
ftp://rpmfind.net/linux/fedora/releases/test/13-Alpha/Fedora/i386/os/Packages/kernel-devel-2.6.33-0.52.rc8.git6.fc13.i686.rpm
注:不同的版本可在此网站找到相应的文件。

----- 如果网络畅通,可以 运行 [ yum -y install kernel-devel ],进行安装就6M,很快


[root@localhost tian]#rpm -q kernel-devel
package kernel-devel is not installed
[root@localhost tian]#rpm -ivh ftp://rpmfind.net/linux/fedora/releases/test/13-Alpha/Fedora/i386/os/Packages/kernel-devel-2.6.33-0.52.rc8.git6.fc13.i686.rpm

[root@localhost tian]#rpm -q kernel-devel
[root@localhost tian]#kernel-devel-2.6.33-0.52

提示:安装完kernel-devel后重启一下计算机,因为此时的系统检测的内核仍为启动时的内核版本。

4.重新运行VMware的配置文件
[root@localhost bin]# /usr/bin/vmware-config-tools.pl


评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值