LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   VMware installation help (https://www.linuxquestions.org/questions/linux-software-2/vmware-installation-help-205666/)

Oxyacetylene 07-15-2004 11:32 PM

VMware installation help
 
I am getting an error trying to configure VMware workstation 4.5 during the install process. This is on SuSE 9.1 Pro. I have the latest kernel and kernel source available on YOU. Here is what I get:

linux:/usr/bin # vmware-config.pl
Making sure VMware Workstation's services are stopped.

Stopping VMware services:
Virtual machine monitor done

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

None of VMware Workstation's pre-built vmmon modules 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]

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/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.5-7.95'
Makefile:438: .config: No such file or directory

WARNING: Symbol version dump /usr/src/linux-2.6.5-7.95/Module.symvers is missing, modules will have CONFIG_MODVERSIONS disabled.

CC [M] /tmp/vmware-config2/vmmon-only/linux/driver.o
/tmp/vmware-config2/vmmon-only/linux/driver.c:131: warning: initialization from incompatible pointer type
/tmp/vmware-config2/vmmon-only/linux/driver.c:135: warning: initialization from incompatible pointer type
/bin/sh: line 1: scripts/basic/fixdep: No such file or directory
make[2]: *** [/tmp/vmware-config2/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config2/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.5-7.95'
make: *** [vmmon.ko] Error 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.

motub 07-17-2004 05:26 AM

Quote:

make[1]: Entering directory `/usr/src/linux-2.6.5-7.95'
Makefile:438: .config: No such file or directory
Looks like you don't have your kernel source for the currently-running kernel installed. You should install it via YAST/YOU. Possibly you need to make a symlink from it to /usr/src/linux.

Alternatively, it has always seemed to me that YAST/YOU might upgrade the kernel source during an online update, when you haven't upgraded your kernel, or rather booted to the upgraded kernel.

What kernel source actually exists in /usr/src, and what kernel does uname -r return as your currently-running kernel?

Oxyacetylene 07-17-2004 05:55 PM

I installed the latest kernel and source from YOU. I'll check and see what I get from the output for the running kernel a little later and post back. Thanks for the tip.

Oxyacetylene 07-17-2004 06:40 PM

mtrull@linux:~> uname -r
2.6.5-7.95-default
mtrull@linux:~>


This is supposed to be the same version I have the source installed for. /usr/src/linux points to the same files (looks that way to me anyway). I have the following directories in usr/src....
/usr/src/linux
/usr/src/linux-2.6.5-7.95
/usr/src/linux-2.6.5-7.95-obj
/usr/src/packages

So the running version and the source version should be in sync right?

alexr186 07-17-2004 06:48 PM

I was running into the same problem, it was on the back burner but i will check it out again,

Oxyacetylene 07-18-2004 05:27 PM

I had a similar problem trying to get the Cisco VPN Client installed. I wonder if it is something weird with SuSE?

Panther505 07-24-2004 10:16 PM

The trick is to ensure that you have the kernel-syms package installed then do the following:

in /usr/src/linux

`make cloneconfig`
`make prepare-all`

then the
`vmware-config.pl` should work.

This is a result of a change in the kernel structure that is going to come out in 2.6.7 (and SuSE has put out early)...


linkage for more info:

Vmware forums
Guru-host post

Oxyacetylene 07-25-2004 05:39 PM

I found that in another thread and it worked! I forgot to post back to this one. Next I'll see if I can get the VPN client installed. Thanks


All times are GMT -5. The time now is 04:33 PM.