movenet 发表于 2005-8-25 09:48:35

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

Making sure services for VMware Workstation are stopped.

Stopping VMware services:
   Virtual machine monitor                                 

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?


In which directory do you want to install the application's icon?


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)?

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-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-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: Entering directory `/usr/src/linux-2.6.9'
Makefile:461: .config: 没有那个文件或目录
CC /tmp/vmware-config2/vmmon-only/linux/driver.o
/bin/sh: scripts/basic/fixdep: 没有那个文件或目录
make: *** 错误 1
make: *** 错误 2
make: Leaving directory `/usr/src/linux-2.6.9'
make: *** 错误 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的,请指点一下

KDE 发表于 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-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.

movenet 发表于 2005-8-25 20:02:51

我找到正常的kernel源程序位置,但一样安装不了

KDE 发表于 2005-8-25 21:07:55

VMWARE5 好象是有问题的。

demonlj 发表于 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 使用非标准设备的人必须自行解决驱动问题。整合主板和板载设备往往是不标准的,需要厂商的驱动,如果厂商不提供,谁也没办法。
页: [1]
查看完整版本: 求助ml1.2下安装vmware找不到正确的kernel目录