Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: OpenSuSE, CentOS, Linux From Scratch
Posts: 40
Original Poster
Rep:
I finally managed to get VMware. Only that it doesen't start on my SuSE 9.1 64-Bit... When I try to run it, I get the Message
Quote:
VMware Workstation is installed, but it has not been (correctly) configured for your running kernel. To (re-) configure it, your system administrator must find and run "vmware-config.pl". For more information, please read the VMware Workstation documentation
When I try to run vmware-config.pl here is what I keep getting:
Quote:
DIDI-LINUX:~ # vmware-config.pl
Making sure services for VMware Workstation are stopped.
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-2.6.5-7.111/include]
Extracting the sources of the vmmon module.
Building the vmmon module.
Using 2.6.x kernel build system.
make: Entering directory `/tmp/vmware-config3/vmmon-only'
make -C /usr/src/linux-2.6.5-7.111/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. modules
make[1]: Entering directory `/usr/src/linux-2.6.5-7.111'
Makefile:438: .config: No such file or directory
WARNING: Symbol version dump /usr/src/linux-2.6.5-7.111/Module.symvers is missing, modules will have CONFIG_MODVERSIONS disabled.
CC [M] /tmp/vmware-config3/vmmon-only/linux/driver.o
/bin/sh: line 1: scripts/basic/fixdep: No such file or directory
make[2]: *** [/tmp/vmware-config3/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config3/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.5-7.111'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config3/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".
I actually found the solution in another forum. Basically, you cd to the appropriate directory (/usr/bin/and the appropriate linux directory) and then run
make cloneconfig and make
As far as I understand, this will create the appropriate .config file and all appropriate objects. You also need to make sure that you have the kernel sources installed...The same thing works with Suse 9.2
Yes the solution given by medvedm is correct (but a bit slow because you will be building a new kernel), if you want to do this just do:
Code:
cd /usr/src/linux && make cloneconfig && make
However, since you just want to build the vmmon and vmnet modules for VMware.
1.- Go to the "/usr/src" directory and then you should find a folder called "linux-obj"
2.- Enter that folder and you should find a new folder depending your kernel architecture (in my case "i386")
3.- Then you should find another folder containing the kernel build type (in my case "default")
4.- And finally a folder called "scripts," just copy all the binaries to the original (/usr/src/linux/scripts) folder
5.- Run the "vmware-config.pl" again.
So basically the path is something like this:
Code:
/usr/src/linux-obj/<arch>/<build>/scripts
which in my case would be "/usr/src/linux-obj/i386/default/scripts"
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.