LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1072|回复: 5

2.6.17-1.2187_FC5_x86_64中安装vmware 5.5.2-29772.i386,无法用vmware-any-any-upda

[复制链接]
发表于 2006-10-7 19:25:36 | 显示全部楼层 |阅读模式
2.6.17-1.2187_FC5_x86_64中,
安装vmware 5.5.2-29772.i386,
无法用vmware-any-any-update101~104配置!错误如下:
[root@yd-xzn vmware-any-any-update102]# ./runme.pl
Updating /usr/bin/vmware-config.pl ... already patched
Updating /usr/bin/vmware ... No patch needed/available
Updating /usr/bin/vmnet-bridge ... No patch needed/available
Updating /usr/lib/vmware/bin/vmware-vmx ... No patch needed/available
Updating /usr/lib/vmware/bin-debug/vmware-vmx ... No patch needed/available
VMware modules in "/usr/lib/vmware/modules/source" has been updated.

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

Making sure services for VMware Workstation are stopped.

Stopping VMware services:
   Virtual machine monitor                                 [确定]

Configuring fallback GTK+ 2.4 libraries.

In which directory do you want to install the mime type icons?
[/usr/share/icons]

What directory contains your desktop menu entry files? These files have a
.desktop file extension. [/usr/share/applications]

In which directory do you want to install the application's icon?
[/usr/share/pixmaps]

Trying to find a suitable vmmon module for your running kernel.

None of the pre-built vmmon modules for VMware Workstation is suitable for your
running kernel.  Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? [yes]

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]

The path "/usr/src/linux/include" is not an existing directory.

正在查找原因及对策。大家装好过vmware 5.5.2吗?
 楼主| 发表于 2006-10-7 19:31:30 | 显示全部楼层
FC5_x86_64 2054中安装vmware 5.5.1,用vmware-any-any-update101很容易就安装好了。
回复 支持 反对

使用道具 举报

发表于 2006-10-7 19:33:53 | 显示全部楼层
从来没装过虚拟机 ...

你的问题是没装内核源代码。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-10-7 19:36:45 | 显示全部楼层
http://www.linuxfans.org/nuke/mo ... p;t=165581&sid=
里所说,确保安装了kernel-devel。正在yum install kernel-devel !
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-10-7 19:55:37 | 显示全部楼层
安装成功!

安装信息如下:
[root@yd-xzn vmware-any-any-update104]# ./runme.pl
Updating /usr/bin/vmware-config.pl ... already patched
Updating /usr/bin/vmware ... No patch needed/available
Updating /usr/bin/vmnet-bridge ... No patch needed/available
Updating /usr/lib/vmware/bin/vmware-vmx ... No patch needed/available
Updating /usr/lib/vmware/bin-debug/vmware-vmx ... No patch needed/available
VMware modules in "/usr/lib/vmware/modules/source" has been updated.

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

Making sure services for VMware Workstation are stopped.

Stopping VMware services:
   Virtual machine monitor                                 [确定]

Configuring fallback GTK+ 2.4 libraries.

In which directory do you want to install the mime type icons?
[/usr/share/icons]

What directory contains your desktop menu entry files? These files have a
.desktop file extension. [/usr/share/applications]

In which directory do you want to install the application's icon?
[/usr/share/pixmaps]

Trying to find a suitable vmmon module for your running kernel.

None of the pre-built vmmon modules for VMware Workstation is suitable for your
running kernel.  Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? [yes]

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.17-1.2187_FC5/build/include]

Extracting the sources of the vmmon module.

Building the vmmon module.

Building for VMware Workstation 5.5.2.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmmon-only'
make -C /lib/modules/2.6.17-1.2187_FC5/build/include/.. SUBDIRS=$PWD SRCROOT=$PW D/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.17-1.2187_FC5-x86_64'
  CC [M]  /tmp/vmware-config0/vmmon-only/linux/driver.o
  CC [M]  /tmp/vmware-config0/vmmon-only/linux/hostif.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/cpuid.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/hash.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/memtrack.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/phystrack.o
  CC [M]  /tmp/vmware-config0/vmmon-only/common/task.o
cc1plus: 警告:命令行选项“-Werror-implicit-function-declaration”对 C/ObjC 是有 效的,但对 C++ 无效
cc1plus: 警告:命令行选项“-Wdeclaration-after-statement”对 C/ObjC 是有效的,但 对 C++ 无效
cc1plus: 警告:命令行选项“-Wno-pointer-sign”对 C/ObjC 是有效的,但对 C++ 无效
cc1plus: 警告:命令行选项“-Wstrict-prototypes”对 Ada/C/ObjC 是有效的,但对 C++  无效
/tmp/vmware-config0/vmmon-only/common/task_compat.h: In function ‘void Task_Swi tch_V45(VMDriver*, Vcpuid)’:
/tmp/vmware-config0/vmmon-only/common/task_compat.h:1713: 警告:此函数中的 ‘sys enterState$validEIP’ 在使用前可能未初始化
/tmp/vmware-config0/vmmon-only/common/task_compat.h:1713: 警告:此函数中的 ‘sys enterState$cs’ 在使用前可能未初始化
/tmp/vmware-config0/vmmon-only/common/task_compat.h:1713: 警告:此函数中的 ‘sys enterState$rsp’ 在使用前可能未初始化
/tmp/vmware-config0/vmmon-only/common/task_compat.h:1713: 警告:此函数中的 ‘sys enterState$rip’ 在使用前可能未初始化
  CC [M]  /tmp/vmware-config0/vmmon-only/common/vmx86.o
  CC [M]  /tmp/vmware-config0/vmmon-only/vmcore/compat.o
  CC [M]  /tmp/vmware-config0/vmmon-only/vmcore/moduleloop.o
  LD [M]  /tmp/vmware-config0/vmmon-only/vmmon.o
  Building modules, stage 2.
  MODPOST
  CC      /tmp/vmware-config0/vmmon-only/vmmon.mod.o
  LD [M]  /tmp/vmware-config0/vmmon-only/vmmon.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.17-1.2187_FC5-x86_64'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/tmp/vmware-config0/vmmon-only'
The module loads perfectly in the running kernel.

Do you want networking for your virtual machines? (yes/no/help) [yes]

Configuring a bridged network for vmnet0.

The following bridged networks have been defined:

. vmnet0 is bridged to eth0

All your ethernet interfaces are already bridged.

Do you want to be able to use NAT networking in your virtual machines? (yes/no)
[yes]

Configuring a NAT network for vmnet8.

Do you want this program to probe for an unused private subnet? (yes/no/help)
[yes]

Probing for an unused private subnet (this can take some time)...

The subnet 192.168.250.0/255.255.255.0 appears to be unused.

The following NAT networks have been defined:

. vmnet8 is a NAT network on private subnet 192.168.250.0.

Do you wish to configure another NAT network? (yes/no) [no]

Do you want to be able to use host-only networking in your virtual machines?
[yes]

Configuring a host-only network for vmnet1.

Do you want this program to probe for an unused private subnet? (yes/no/help)
[yes]

Probing for an unused private subnet (this can take some time)...

The subnet 172.16.9.0/255.255.255.0 appears to be unused.

The following host-only networks have been defined:

. vmnet1 is a host-only network on private subnet 172.16.9.0.

Do you wish to configure another host-only network? (yes/no) [no]

Extracting the sources of the vmnet module.

Building the vmnet module.

Building for VMware Workstation 5.5.2.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config0/vmnet-only'
make -C /lib/modules/2.6.17-1.2187_FC5/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/kernels/2.6.17-1.2187_FC5-x86_64'
  CC [M]  /tmp/vmware-config0/vmnet-only/driver.o
  CC [M]  /tmp/vmware-config0/vmnet-only/hub.o
  CC [M]  /tmp/vmware-config0/vmnet-only/userif.o
  CC [M]  /tmp/vmware-config0/vmnet-only/netif.o
  CC [M]  /tmp/vmware-config0/vmnet-only/bridge.o
  CC [M]  /tmp/vmware-config0/vmnet-only/procfs.o
  CC [M]  /tmp/vmware-config0/vmnet-only/smac_compat.o
  CC [M]  /tmp/vmware-config0/vmnet-only/smac_linux.x86_64.o
  LD [M]  /tmp/vmware-config0/vmnet-only/vmnet.o
  Building modules, stage 2.
  MODPOST
  CC      /tmp/vmware-config0/vmnet-only/vmnet.mod.o
  LD [M]  /tmp/vmware-config0/vmnet-only/vmnet.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.17-1.2187_FC5-x86_64'
cp -f vmnet.ko ./../vmnet.o
make: Leaving directory `/tmp/vmware-config0/vmnet-only'
The module loads perfectly in the running kernel.

Starting VMware services:
   Virtual machine monitor                                 [确定]
   Virtual ethernet                                        [确定]
   Bridged networking on /dev/vmnet0                       [确定]
   Host-only networking on /dev/vmnet1 (background)        [确定]
   Host-only networking on /dev/vmnet8 (background)        [确定]
   NAT service on /dev/vmnet8                              [确定]

The configuration of VMware Workstation 5.5.2 build-29772 for Linux for this
running kernel completed successfully.

You can now run VMware Workstation by invoking the following command:
"/usr/bin/vmware".

Enjoy,

--the VMware team
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-10-21 16:18:22 | 显示全部楼层
总结:
1. 先rpm -qa|grep kernel-devel,看看是否已经安装kernel-devel。没有的话,用yum install kernel-devel 从网上安装之

2. 网上下载一个vmware-any-any-update104.tar.gz,su到root用户后解压,运行./runme.sh(记不太清楚了)

即可配置、运行VMWare!
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表