Fedora13安裝vmware出現(xiàn) :
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文件復(fù)制到`/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.下載相應(yīng)的kernel-devel.rpm包進(jìn)行安裝
Fedora13 Alpha版本內(nèi)核版本為:
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
注:不同的版本可在此網(wǎng)站找到相應(yīng)的文件。
----- 如果網(wǎng)絡(luò)暢通,可以 運(yùn)行 [ yum -y install kernel-devel ],進(jìn)行安裝就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后重啟一下計(jì)算機(jī),因?yàn)榇藭r(shí)的系統(tǒng)檢測(cè)的內(nèi)核仍為啟動(dòng)時(shí)的內(nèi)核版本。
4.重新運(yùn)行VMware的配置文件
[root@localhost bin]# /usr/bin/vmware-config-tools.pl
轉(zhuǎn)載自:
http://hi.baidu.com/wmhx/blog/item/312d7ada4c06c6d6b7fd48a1.html