Opensuse 11.3-install VMware Tools [What is the location of the directory of C header files that mat

Source: Internet
Author: User

Let's talk about my configuration first.

Windows 7, VMWare 7.1.2 build-301548,

Opensuse 11.3, kernel: 2.6.34-12-Desktop

 

When you configure VMware Tools, the system always prompts you that you cannot find the header file of the kernel, and you still cannot install all the RPM packages related to the kernel. After a long time, you have found a solution on a foreign forum,

 

Clearly, just make two soft connections,

 

Ln-S ../generated/Autoconf. h
Ln-S ../generated/utsrelease. h

It is estimated that the problem with VMware is that the kernel header has been installed, but it is not correctly identified.

 

As shown in the following figure.

Linux-35wy:/lib/modules/2.6.34-12-desktop/build/include/Linux # l
Total 12
Drwxr-XR-x 2 root Root 4096 Oct 23 :56 ./
Drwxr-XR-x 5 root Root 4096 Oct 23 ../
Lrwxrwxrwx 1 Root 23 Oct 23 :56 Autoconf. H-> ../generated/Autoconf. h
Lrwxrwxrwx 1 Root 25 Oct 23 :56 utsrelease. H->.../generated/utsrelease. h
-RW-r -- 1 Root 97 Jul 5 20:23 version. h

Problem:

After completing VMware Tools installation, you might/will be asked to configure it by invoking "/usr/bin/vmware-config-tools.pl". After following the instructions you might get stuck with the following:

What is the location of the directory of C header files that match your running
Kernel? [/Usr/src/Linux/include]

This refuses to pass

Solution
#1 # 1st check if you have installed the appropriate kernel-source. if not, adding this in YaST will also install the appropriate kernel-devel package module. also add kernel-Syms. selecting Kernel-Syms additional dependencies are automatically resolved by YaST. these shoshould be accepted.
#2 # If Step #1 # has been completed or is not necessary because at some stage you have already done this but "/usr/bin/vmware-config-tools.pl" is still complaining about missing headers, you can try the following:

"CD/lib/modules/'uname-R'/build/include/Linux"
You shoshould not get an error message "No such file or directory
". Getting this suggests that the directory is missing and something else is wrong which is beyond this articles scope.
If you don't receive an error, do the following:

Ln-S ../generated/Autoconf. h
Ln-S ../generated/utsrelease. h

This will create the appropriate symbolic links which are refer vmwaretools to the correct location for its installation files. the "version. H "is already located in"/lib/modules/'uname-R'/build/include/Linux ". and shoshould not require any extra work.

Now execute "/usr/bin/vmware-config-tools.pl" which will magically find all that is needed. you will have to press enter several times for the script to complete but once complete, vmwaretools shoshould be installed.

You can run the toolbox from the desktop by executing "/usr/bin/vmware-toolbox" on a terminal or as part of a script etc. VMware shoshould create this for you under KDE but I suspect that this also may require fixing.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.