I am writing this to help anyone trying to install linux vmware tools in an opensuse 12.3 virtual machine. Even if you have installed the kernel headers, the vmware installation script, vmware.pl, will keep complaining that it cannot find them.
Apart from gcc and make, you need linux-glibc-devel package (that is the headers package).
Go to terminal and issue the following command (change accordingly as newer version kernels are introduced) :
If you install 12.3 as a vmware image, opensuse installs libvmtools0, open-vm-tools, open-vm-tools-gui but these would not work properly for me. In any case, to be able to install the ones supplied directly by the vmware hypervisor, you have to go through the steps detailed below. I thought it a good idea to have all steps detailed in one place within the forums for future reference, if the need arises. Not a big deal for an experienced user, but will hopefully save time and going through conflicting posts for other people
The solution below worked on an OpenSUSE 12.3 installation that includes Linux kernel sources, but it did not work for an installation that did not include kernel sources. I followed the advice of others in this (and other threads) to be sure to include glibc-devel and linux-glibc-devel as paart of the software installation, but the /usr/src directory contains only the subdirectory “packages”, no parts of the Linux tree.
So here is my question:-- is there another place that kernel headers are stored if kernel sources are not included as part of the OpenSUSE installation?
(By way of background, I am setting up OpenSUSE guest operating systems on VMware Player/Workstation/Fusion for courses that I will teach next fall. I need two different guest systems – a large one with kernel sources for the OS course, and a smaller one without kernel sources for several other courses.)
> (By way of background, I am setting up OpenSUSE guest operating systems
> on VMware Player/Workstation/Fusion for courses that I will teach next
> fall. I need two different guest systems – a large one with kernel
> sources for the OS course, and a smaller one without kernel sources for
> several other courses.)
You need the sources in the openSUSE host, not in the openSUSE guest.
For the guest tools, you can simply install the openSUSE ready packaged
guest tools.
Otherwise, install the sources, create the tools, remove the sources,
stop guest, clone machine, install as many as necessary.
Done
–
Cheers / Saludos,
Carlos E. R.
(from 12.1 x86_64 “Asparagus” at Telcontar)