Cannot install VMWare Tools with OpenSuSE Linux 11.1

Hello.

I am unable to install VMWare Tools (evaluation version 7.0.1 build 227600) with OpenSuSE Linux 11.1 as the Guest Operating system under Windows 7.0 (Windows 7 Professional, 32-bit (Build 7600) 6.1.7600). The system has 3064MB of Memory. To the best of my knowledge I have installed all required development files for the Linux Kernel 2.6.27.42-0.1; nevertheless, I am continuously served the following error message:

“Unable to locate C Header Files”

Without a seamless means of switching between the host and guest OSs it would be easier to simply use PUTTY for secure shell access from Windows 7.0 to linux. I would appreciate any help I can get on resolving this issue. I have searched online for the specific error message and have found LOTS of differing answers, therefore, I am posting the question here.

Thanks

Mike

mikefromvt wrote:
> To the best of my knowledge I have
> installed all required development files for the Linux Kernel

what does that mean exactly, which kernel packages are installed?

kernel-syms
kernel-headers
kernel-source
gcc

I cannot tell you out of the box what you are missing but I can look it up
in one of my vmware systems. But tell me what you already installed.

checked my vmware system with SLED 11 (which has the vmware tools):

kernel-syms
kernel-source
gcc

needed for installing vmware tools

Thanks for your reply.

I have just installed kernel-syms. kernel-headers were already installed. kernel-source was installed as part of kernel-syms. cpp43 is installed as the gcc processor (VMWare Tools install script found this file OK). Shall I try to reinstall VMWare Tools at this point?

Thanks

Mike;)

Actually, I have just tried to run the install again and, once again, it is not finding the headers.

Any further ideas?

Thanks

Mike

can you post more from the output. It is not really clear for me at which
point the error message appears and what messages are shown before?

Please run the installation from the console (if you do not already) to get
a maximum information output.

Sure, I will run again and will post output.

Thanks

Mike

Here is the Output:

usr_dir/vmware-tools/vmware-tools-distrib # ./vmware-install.pl
A previous installation of VMware Tools has been detected.

The previous installation was made by the tar installer (version 4).

Keeping the tar4 installer database format.

You have a version of VMware Tools installed. Continuing this install will
first uninstall the currently installed version. Do you wish to continue?
(yes/no) [yes]

Uninstalling the tar installation of VMware Tools.

Stopping services for VMware Tools

Stopping VMware Tools services in the virtual machine:
Guest operating system daemon: done
Virtual Printing daemon: done
Unmounting HGFS shares: done
Guest filesystem driver: done

File /local_dir/vmware-tools/lib32/libconf/etc/pango/pangorc is backed up to
/local_dir/vmware-tools/lib32/libconf/etc/pango/pangorc.old.2.

This program previously created the file
/usr/lib/vmware-tools/libconf/etc/gtk-2.0/gtk.immodules, and was about to
remove it. Somebody else apparently did it already.

File /usr/lib/vmware-tools/lib32/libconf/etc/pango/pangox.aliases is backed up
to /usr/lib/vmware-tools/lib32/libconf/etc/pango/pangox.aliases.old.2.

File /usr/lib/vmware-tools/lib32/libconf/etc/gtk-2.0/gdk-pixbuf.loaders is
backed up to
/usr/lib/vmware-tools/lib32/libconf/etc/gtk-2.0/gdk-pixbuf.loaders.old.2.

This program previously created the file
/usr/lib/vmware-tools/libconf/etc/pango/pangorc, and was about to remove it.
Somebody else apparently did it already.

File /etc/vmware-tools/vmware-user.desktop is backed up to
/etc/vmware-tools/vmware-user.desktop.old.2.

File /usr/lib/vmware-tools/lib32/libconf/etc/fonts/fonts.conf is backed up to
/usr/lib/vmware-tools/lib32/libconf/etc/fonts/fonts.conf.old.2.

This program previously created the file
/usr/lib/vmware-tools/libconf/etc/pango/pangox.aliases, and was about to remove
it. Somebody else apparently did it already.

This program previously created the file
/usr/lib/vmware-tools/lib32/libconf/etc/pango/pango.modules, and was about to
remove it. Somebody else apparently did it already.

This program previously created the file
/usr/lib/vmware-tools/libconf/etc/gtk-2.0/gdk-pixbuf.loaders, and was about to
remove it. Somebody else apparently did it already.

File /usr/lib/vmware-tools/lib32/libconf/etc/gtk-2.0/gtk.immodules is backed up
to /usr/lib/vmware-tools/lib32/libconf/etc/gtk-2.0/gtk.immodules.old.2.

Restoring the kernel initrd image.:

Kernel image: /boot/vmlinuz-2.6.27.42-0.1-pae
Initrd image: /boot/initrd-2.6.27.42-0.1-pae
Root device: /dev/sda2 (mounted on / as ext3)
Resume device: /dev/sda1
Kernel Modules: hwmon thermal_sys processor thermal dock scsi_mod libata ata_piix scsi_transport_spi mptbase mptscsih mptspi ata_generic ide-core piix ide-pci-generic fan jbd mbcache ext3 edd crc-t10dif sd_mod usbcore ohci-hcd ehci-hcd uhci-hcd ff-memless hid usbhid
Features: block usb resume.userspace resume.kernel
Bootsplash: openSUSE (800x600)
23234 blocks
File /etc/sysconfig/mouse is backed up to /etc/sysconfig/mouse.old.2.

Shutting down HAL daemon done
Loading CPUFreq modules (CPUFreq not supported)
Starting HAL daemon done
The removal of VMware Tools 8.1.4 build-227600 for Linux completed
successfully.

Installing VMware Tools.

In which directory do you want to install the binary files?
[/usr/bin]

What is the directory that contains the init directories (rc0.d/ to rc6.d/)?
[/etc/init.d]

What is the directory that contains the init scripts?
[/etc/init.d]

In which directory do you want to install the daemon files?
[/usr/sbin]

In which directory do you want to install the library files?
[/usr/lib/vmware-tools]

In which directory do you want to install the documentation files?
[/usr/share/doc/vmware-tools]

The path “/usr/share/doc/vmware-tools” does not exist currently. This program
is going to create it, including needed parent directories. Is this what you
want? [yes]

The installation of VMware Tools 8.1.4 build-227600 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: “/usr/bin/vmware-uninstall-tools.pl”.

Before running VMware Tools for the first time, you need to configure it by
invoking the following command: “/usr/bin/vmware-config-tools.pl”. Do you want
this program to invoke the command for you now? [yes]

Initializing…

Stopping VMware Tools services in the virtual machine:
Guest operating system daemon: done
Virtual Printing daemon: done
Unmounting HGFS shares: done
Guest filesystem driver: done

The module vmmemctl has already been installed on this system by another
installer or package and will not be modified by this installer. Use the flag
–clobber-kernel-modules=vmmemctl to override.

The module vmhgfs has already been installed on this system by another
installer or package and will not be modified by this installer. Use the flag
–clobber-kernel-modules=vmhgfs to override.

The module vmxnet has already been installed on this system by another
installer or package and will not be modified by this installer. Use the flag
–clobber-kernel-modules=vmxnet to override.

The module vmblock has already been installed on this system by another
installer or package and will not be modified by this installer. Use the flag
–clobber-kernel-modules=vmblock to override.

The module vmsync has already been installed on this system by another
installer or package and will not be modified by this installer. Use the flag
–clobber-kernel-modules=vmsync to override.

The module vmci has already been installed on this system by another installer
or package and will not be modified by this installer. Use the flag
–clobber-kernel-modules=vmci to override.

The module vsock has already been installed on this system by another installer
or package and will not be modified by this installer. Use the flag
–clobber-kernel-modules=vsock to override.

Before you can compile modules, you need to have the following installed…

make
gcc
kernel headers of the running kernel

Searching for GCC…
The path “” is not valid path to the gcc binary.
Would you like to change it? [yes]

What is the location of the gcc program on your machine? /usr/bin/cpp-4.3

The path “/usr/bin/cpp-4.3” appears to be a valid path to the gcc binary.
Would you like to change it? [no]

Searching for a valid kernel header path…
The path “” is not valid.
Would you like to change it? [yes]

What is the location of the directory of C header files that match your running
kernel? /usr/include/mISDNuser

The path “/usr/include/mISDNuser” is not valid.
Would you like to change it? [yes] yes

What is the location of the directory of C header files that match your running
kernel? /usr/include/

The path “/usr/include/” is not valid.
Would you like to change it? [yes]

What is the location of the directory of C header files that match your running
kernel? /usr/include/linux

The path “/usr/include/linux” is not valid.
Would you like to change it? [yes] no

WARNING: This program cannot compile any modules for the following reason(s)…

  • This program could not find a valid path to the kernel headers of the running
    kernel. Please ensure that the header files for the running kernel are
    installed on this sytem.

Press Enter key to continue ]

The driver for the VMXNET 3 virtual network card is used only for our advanced
networking interface. The rest of the software provided by VMware Tools is
designed to work independently of this feature.
If you wish to have the advanced network driver enabled, you can install the
driver by running vmware-config-tools.pl again after making sure that gcc,
binutils, make and the kernel sources for your running kernel are installed on
your machine. These packages are available on your distribution’s installation
CD.
Press Enter key to continue ]

Unable to compile the pvscsi module. If you wish to have the pvscsi feature,
you can install the driver by running vmware-config-tools.pl again after making
sure that gcc, binutils, make and the kernel sources for your running kernel
are installed on your machine. These packages are available on your
distribution’s installation CD.
Press Enter key to continue ]

Detected X.org version 7.4.2.

Shutting down HAL daemon done
Loading CPUFreq modules (CPUFreq not supported)
Starting HAL daemon done

X.Org X Server 1.5.2
Release Date: 10 October 2008
X Protocol Version 11, Revision 0
Build Operating System: openSUSE SUSE LINUX
Current Operating System: Linux linux-s2dm 2.6.27.42-0.1-pae #1 SMP 2010-01-06 16:07:25 +0100 i686
Build Date: 02 July 2009 08:02:13AM

    Before reporting problems, check [X.Org Wiki - Home](http://wiki.x.org)                                        
    to make sure that you have the latest version.                                            

Module Loader present
Markers: (–) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(++) Log file: “/tmp/vmware-config1/XF86ConfigLog.15536”, Time: Wed Mar 3 19:11:02 2010
(++) Using config file: “/etc/X11/xorg.conf”
Could not init font path element /usr/share/fonts/TTF/, removing from list!
Could not init font path element /usr/share/fonts/OTF, removing from list!

X is running fine with the new config file.

Creating a new initrd boot image for the kernel.

Kernel image: /boot/vmlinuz-2.6.27.42-0.1-pae
Initrd image: /boot/initrd-2.6.27.42-0.1-pae
Root device: /dev/sda2 (mounted on / as ext3)
Resume device: /dev/sda1
Kernel Modules: vmxnet hwmon thermal_sys processor thermal dock scsi_mod libata ata_piix scsi_transport_spi mptbase mptscsih mptspi ata_generic ide-core piix ide-pci-generic fan jbd mbcache ext3 edd crc-t10dif sd_mod usbcore ohci-hcd ehci-hcd uhci-hcd ff-memless hid usbhid
Features: block usb resume.userspace resume.kernel
Bootsplash: openSUSE (800x600)
23279 blocks
Checking acpi hot plug done
Starting VMware Tools services in the virtual machine:
Switching to guest configuration: done
Guest operating system daemon: done
Virtual Printing daemon: done

The configuration of VMware Tools 8.1.4 build-227600 for Linux for this running
kernel completed successfully.

You must restart your X session before any mouse or graphics changes take
effect.

You can now run VMware Tools by invoking the following command:
“/usr/bin/vmware-toolbox” during an X server session.

To enable advanced X features (e.g., guest resolution fit, drag and drop, and
file and text copy/paste), you will need to do one (or more) of the following:

  1. Manually start /usr/bin/vmware-user
  2. Log out and log back into your desktop session; and,
  3. Restart your X session.

Enjoy,

–the VMware team

mikefromvt wrote:

> What is the location of the directory of C header files that match your
> running
> kernel? /usr/include/mISDNuser
>
>
> The path “/usr/include/mISDNuser” is not valid.
> Would you like to change it? [yes] yes
>
> What is the location of the directory of C header files that match your
> running
> kernel? /usr/include/
>
>
> The path “/usr/include/” is not valid.
> Would you like to change it? [yes]
>
> What is the location of the directory of C header files that match your
> running
> kernel? /usr/include/linux
>
>
> The path “/usr/include/linux” is not valid.
> Would you like to change it? [yes] no
>
a valid path for the kernel headers looks like this

/lib/modules/2.6.31.12-0.1-default/build/include

of course the part “2.6.31.12-0.1-default” will be different on your
machine.

Please check what is in /lib/modules.

Thank you.

I will check this and will attempt the install again.

Mike

This is STILL not working:

What is the location of the directory of C header files that match your running
kernel? /lib/modules/2.6.27.45-0.1-default/build/include/

The path “/lib/modules/2.6.27.45-0.1-default/build/include/” is not valid.
Would you like to change it? [yes]

What is the location of the directory of C header files that match your running
kernel? /lib/modules/2.6.27.45-0.1-default/build/include

The path “/lib/modules/2.6.27.45-0.1-default/build/include” is not valid.
Would you like to change it? [yes]

Is this a known bug in VMWare?

Any ideas of what to try next?

Thanks

Mike

mikefromvt wrote:

> /lib/modules/2.6.27.45-0.1-default/build/include
Just to be sure what happens there, can you post what

ls -l /lib/modules/2.6.27.45-0.1-default/build/include

and

uname -a

shows.

I am not aware of such a bug (but it is also strange that the installer does
not find the header directory itself).

Here is the result of ls -l

user-specific-info/usr/src/linux-2.6.27.45-0.1-obj/i386/default/include> ls -l
total 28
lrwxrwxrwx 1 root root 7 2010-03-03 17:55 asm -> asm-x86
drwxr-xr-x 2 root root 4096 2010-03-03 17:56 asm-x86
drwxr-xr-x 485 root root 20480 2010-03-03 17:56 config
drwxr-xr-x 2 root root 4096 2010-03-03 17:56 linux

Here is the result of uname -a
user-specific-info:/usr/src/linux-2.6.27.45-0.1-obj/i386/default/include> uname -a
Linux linux-s2dm 2.6.27.42-0.1-pae #1 SMP 2010-01-06 16:07:25 +0100 i686 i686 i386 GNU/Linux
p

mikefromvt wrote:

> /usr/src/linux-2.6.27.45-0.1-obj/i386/default/include

/usr/src/linux-2.6.27.45-0.1-obj/i386/default/include

is the path to which

/lib/modules/2.6.27.45-0.1-default/build/include

is a symlink, did you also try the last path directly in the installer (I am
running out of ideas what the problem can be, because this looks now so far
completely correct)

mikefromvt wrote:

>
> Here is the result of ls -l
>
> user-specific-info/usr/src/linux-2.6.27.45-0.1-obj/i386/default/include>
> ls -l
> total 28
> lrwxrwxrwx 1 root root 7 2010-03-03 17:55 asm -> asm-x86
> drwxr-xr-x 2 root root 4096 2010-03-03 17:56 asm-x86
> drwxr-xr-x 485 root root 20480 2010-03-03 17:56 config
> drwxr-xr-x 2 root root 4096 2010-03-03 17:56 linux
>
> Here is the result of uname -a
> user-specific-info:/usr/src/linux-2.6.27.45-0.1-obj/i386/default/include>
> uname -a
> Linux linux-s2dm 2.6.27.42-0.1-pae #1 SMP 2010-01-06 16:07:25 +0100
> i686 i686 i386 GNU/Linux
> p
>
>
Sorry I did not see immediately:

Your running kernel is 2.6.27.42-0.1-pae

but this does not fit your kernel headers which are 2.6.27.45!!!

What is the location of the directory of C header files that match your running
kernel? /usr/src/linux-2.6.27.45-0.1-obj/i386/default/include

The path “/usr/src/linux-2.6.27.45-0.1-obj/i386/default/include” is not valid.
Would you like to change it? [yes]

What is the location of the directory of C header files that match your running
kernel? /usr/src/linux-2.6.27.45-0.1-obj/i386/default/include/

The path “/usr/src/linux-2.6.27.45-0.1-obj/i386/default/include/” is not valid.

Same error. I guess I should give up.

Thanks for all your help.

Mike

Please see my other post:

Your running kernel is 2.6.27.42

but this does not fit your kernel headers which are 2.6.27.45!!!

You have kernel headers installed which do not fit to the kernel you are
running.

I cannot update the kernel headers beyond the installed version.

Mike

mikefromvt wrote:

>
> I cannot update the kernel headers beyond the installed version.
>
> Mike
>
>
Your kernel headers are too new not too old!

Just for feedback I try to reproduce your problem now, found the link to
download a i586 iso for opensuse 11.1 and will install your version in
vmware to check if I will find the same problem or a solution for it.

But this will last some time.