RedHat5 install Vmware-tools for troubleshooting

Source: Internet
Author: User
When vmwaretools is installed in RedHat5, the system prompts/usr/src/linux/include that the header file cannot be found: the error is as follows: WhatisthelocationofthedirectoryofCheaderfilesthatmatchyourrunningkernel? [/Usr/src/linux/include] solution: 1. First

When installing vmware tools in RedHat 5, the following error occurs:/usr/src/linux/include cannot find the header file:

The error is as follows:

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

Solution:

I. First, it should be okay to install GCC. Use rpm-ivh to install the dependent package.

Ii. Install the GCC-C ++.

Three, finally installed on the KERNEL-XEN-DEVEL rpm OK.

Some say to install KERNEL-DEVEL, Because I installed so no test, you can try it!

After everything is OK, run:

1. If you use the TAR package to install the package, go to the unzip directory and run the following command:

[XXX @ localhost ~] $ Su-c./vmware-install.pl

The default configuration is enough!

2. If the RPM package is used for installation, run:

[XXX @ localhost ~] $ Su-c./vmware-config-tools.pl

The default configuration is enough!

Related Article

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.