Problem with VMware server on OpenSUSE 10.2: building vmmon
Linux - KernelThis forum is for all discussion relating to the Linux kernel.
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.
Problem with VMware server on OpenSUSE 10.2: building vmmon
I am trying to install VMware server (VMware-server-1.0.0-28343) on OpenSUSE 10.2. I have GCC and kernel sources installed. I have a problem to build the vmmon module: the vmware-config.pl program complains about the running kernel not matching the header files:
-- start of copy from vmware-config.pl --
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.18.2-34-obj/i386/default/include/
The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match
your running kernel (version 2.6.18.2-34-default). Even if the module were to
compile successfully, it would not load into the running kernel.
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.18.2-34/include/
The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match
your running kernel (version 2.6.18.2-34-default). Even if the module were to
compile successfully, it would not load into the running kernel.
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include] /usr/include/
The header files in /usr/include are generally for C libraries, not for the
running kernel. If you do not have kernel header files in your /usr/src
directory, you probably do not have the kernel-source package installed. Are
you sure that /usr/include contains the header files associated with your
running kernel? [no] yes
The directory of kernel headers (version 2.6.18) does not match your running
kernel (version 2.6.18.2-34-default). Even if the module were to compile
successfully, it would not load into the running kernel.
-- end of copy from vmware-config.pl --
Anybody has a clue of what I'm doing wrong? I did not have this problem with SUSE 10.0 or 10.1. Thanks.
Okay, you've got the files you need. What happens if you leave the answer to "What is the location of the directory of C header files that match your running kernel?" as the default? I didn't change this to set up VMware player.
First of all, thanks for your help. Remark: I'm installing VMware server, not VMware player.
When I do not change the default, this is what happens:
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
The directory of kernel headers (version @@VMWARE@@ UTS_RELEASE) does not match
your running kernel (version 2.6.18.2-34-default). Even if the module were to
compile successfully, it would not load into the running kernel.
What bothers me is the "@@VMWARE@@" bit, which seems like an internal variable name of some scripting language (perl?).
If I choose the folder "/usr/include/", I get at least a kernel version number: "version 2.6.18" in stead of "@@VMWARE@@".
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include] /usr/include/
The header files in /usr/include are generally for C libraries, not for the
running kernel. If you do not have kernel header files in your /usr/src
directory, you probably do not have the kernel-source package installed. Are
you sure that /usr/include contains the header files associated with your
running kernel? [no] yes
The directory of kernel headers (version 2.6.18) does not match your running
kernel (version 2.6.18.2-34-default). Even if the module were to compile
successfully, it would not load into the running kernel.
I just successfully installed VMware Server on a Debian (Sid) system by:
(1) running the vmware-install.pl script, and having it fail.
(2) running the runme.pl any-any script, and letting it patch things.
(3) running the vmware-install.pl script again, and watching it work.
I was having the same issue with @@VMWARE@@ Variable. Turns out that when I installed my Kernel sources it installed the wrong version from a YAST installation source and I just inserted my OpenSUSE 10.2 DVD and reinstalled the version that came on the DVD and reinstalled VMWare Workstation and it was fixed.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.