Fedora 12 installs kernel-PAE by default instead of the normal kernel rpm for the i386 distribution. Consequently, the header files required by vmware-config-tools.pl are found in ‘kernel-PAE-devel’ and not ‘kernel-devel’.
所以 只安裝 yum install kernel-devel 是會找不到 Kernel Header Path… 要給 kernel-PAE-devel 補上
1
[root@localhost kazuya]# yum install kernel-PAE-devel
2
Loaded plugins: presto, refresh-packagekit
3
Setting up Install Process
4
Package kernel-PAE-devel-2.6.31.5-127.fc12.i686 already installed
and
latest version
6
[root@localhost kazuya]#
補完了 重新開機 再執行 vmware-config-tools.pl 就可以了
01
[kazuya@localhost ~]$ su
03
[root@localhost kazuya]# vmware-config-tools.pl
06
Stopping VMware Tools services in the virtual machine:
07
Guest operating system daemon: [ OK ]
08
Virtual Printing daemon: [ OK ]
09
Unmounting HGFS shares: [ OK ]
10
Guest filesystem driver: [ OK ]
12
Before you can compile modules, you need to have the following installed...
16
kernel headers of the running kernel
19
Detected GCC binary at
"/usr/bin/gcc"
.
20
The path
"/usr/bin/gcc"
appears to be a valid path to the gcc binary.
21
Would you like to change it? [no]
23
Searching
for
a valid kernel header path...
24
Detected the kernel headers of the running kernel at
25
"/lib/modules/2.6.31.5-127.fc12.i686.PAE/build/include"
.
26
The path
"/lib/modules/2.6.31.5-127.fc12.i686.PAE/build/include"
appears to be
27
a valid path to the kernel headers of the running kernel.
28
Would you like to change it? [no]
30
Using 2.6.x kernel build system
36
Detected X.org version 7.6.1.
38
No drivers
for
X.org version: 7.6.1.
40
Skipping X configuration because X drivers are not included.
42
Creating a
new
initrd boot image
for
the kernel.
43
Checking acpi hot plug [ OK ]
44
Starting VMware Tools services in the virtual machine:
45
Switching to guest configuration: [ OK ]
46
Paravirtual SCSI module: [ OK ]
47
Guest filesystem driver: [ OK ]
48
Mounting HGFS shares: [FAILED]
49
Guest memory manager: [ OK ]
50
Guest vmxnet fast network device: [ OK ]
51
VM communication
interface
: [ OK ]
52
VM communication
interface
socket family: [ OK ]
53
Blocking file system: [ OK ]
54
File system sync driver: [ OK ]
55
Guest operating system daemon: [ OK ]
56
Virtual Printing daemon: [ OK ]
58
The configuration of VMware Tools 8.1.4 build-227600
for
Linux
for
this running
59
kernel completed successfully.
61
You must restart your X session before any mouse
or
graphics changes take
64
You can now run VMware Tools by invoking the following command:
65
"/usr/bin/vmware-toolbox"
during an X server session.
67
To enable advanced X features (e.g., guest resolution fit, drag
and
drop,
and
68
file
and
text
copy
/paste), you will need to
do
one (
or
more) of the following:
69
1. Manually start /usr/bin/vmware-user
70
2. Log out
and
log back into your desktop session;
and
,
71
3. Restart your X session.
73
To
use
the vmxnet driver, restart networking using the following commands:
74
/etc/init.d/network stop
78
/etc/init.d/network start
84
[root@localhost kazuya]#