QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 868|回复: 4

求助ml1.2下安装vmware找不到正确的kernel目录

[复制链接]
发表于 2005-8-25 09:48:35 | 显示全部楼层 |阅读模式
Making sure services for VMware Workstation are stopped.

Stopping VMware services:
   Virtual machine monitor                                 [  OK  ]

Configuring fallback GTK+ 2.4 libraries.

***
* Updating MIME database in /usr/share/mime...
***
In which directory do you want to install the mime type icons?
[/usr/share/icons]

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] /usr/src/linux-2.6.9/kernel

The path "/usr/src/linux-2.6.9/kernel" is an existing directory, but it does not
contain at least one of these directories "linux", "asm", "net" as expected.

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

Extracting the sources of the vmmon module.

Building the vmmon module.

Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config2/vmmon-only'
make -C /usr/src/linux-2.6.9/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.9'
Makefile:461: .config: 没有那个文件或目录
  CC [M]  /tmp/vmware-config2/vmmon-only/linux/driver.o
/bin/sh: scripts/basic/fixdep: 没有那个文件或目录
make[2]: *** [/tmp/vmware-config2/vmmon-only/linux/driver.o] 错误 1
make[1]: *** [_module_/tmp/vmware-config2/vmmon-only] 错误 2
make[1]: Leaving directory `/usr/src/linux-2.6.9'
make: *** [vmmon.ko] 错误 2
make: Leaving directory `/tmp/vmware-config2/vmmon-only'
Unable to build the vmmon module.

For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".

Execution aborted.

哪位朋友成功在1.2下安装过VMWARE5的,请指点一下
发表于 2005-8-25 12:38:36 | 显示全部楼层
我们不建议再使用 1.2,你先查查如下问题是否存在:

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

The path "/usr/src/linux-2.6.9/kernel" is an existing directory, but it does not
contain at least one of these directories "linux", "asm", "net" as expected.
回复

使用道具 举报

 楼主| 发表于 2005-8-25 20:02:51 | 显示全部楼层
我找到正常的kernel源程序位置,但一样安装不了
回复

使用道具 举报

发表于 2005-8-25 21:07:55 | 显示全部楼层
VMWARE5 好象是有问题的。
回复

使用道具 举报

发表于 2005-8-25 21:20:28 | 显示全部楼层
我用没有问题,你去看看这个文章吧
http://linuxfans.org/nuke/modules.php?name=Forums&file=viewtopic&t=108846
8. 驱动程序问题
由于大部分内置 modem、USB 摄像头与部分 USB ADSL 厂商不提供 linux 下的驱动,导致这些设备无法使用。目前已知的 USB ADSL 和 USB 摄像头驱动都列在这里:
http://www.linuxfans.org/nuke/modules.php?name=Forums&file=viewtopic&t=107602

据我所知,目前的内核打上了 Alcatel 补丁,如果您使用 Alcatel SpeedTouch USB xDSL modem 的话,可以下载这里的驱动试试:
http://www.magiclinux.org/people/lovewilliam/USB_ADSL/cxacru-2004-07-24.k2.6.6mgc.i686.rpm

如果不行,请尝试自己给内核打补丁并重编内核:
http://www.magiclinux.org/people/lovewilliam/USB_ADSL/patch-2.6.x_20040302_accessrunner.gz
其他 ADSL modem 只能自行解决。


编译安装硬件驱动的必备工作:
cd /usr/src/linux
make mrproper
ln -sf /boot/config-2.6.9 .config
make prepare-all

然后才能安装硬件驱动。此外必须仔细阅读官方提供的安装说明,还要查看帮助。比如 sh ./xxx.run --help 使用非标准设备的人必须自行解决驱动问题。整合主板和板载设备往往是不标准的,需要厂商的驱动,如果厂商不提供,谁也没办法。
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-11-26 00:50 , Processed in 0.045963 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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