An error occurred while installing vmwaretools: What is the location of the directory of C header files that match your running ker

Source: Internet
Author: User
Tags gz file

 

Fedora13 InstallationVmwaretools Appears:

 

 

What is the location of the directory of C header files that match your running
Kernel?

The path "" is not valid.
Wocould you like to change it? [Yes]



Solution:
1. Copy the vmwaretools-8.1.4-227600.tar.gz file to the '/software/folder.
2. Install vmwaretools:

[Root @ localhost Tian] # cd Software
[Root @ localhost Tian] # tar xzxf VMwareTools-8.1.4-227600.tar.gz
[Root @ localhost Tian] # cd vmware-tools-distrib/
[Root @ localhost Tian] #./vmware-install.pl
Creating a New VMware Tools installer database using the tar4 format.

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/rc. d]

What is the directory that contains the init scripts?
[/Etc/rc. d/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
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: [OK]
Virtual printing daemon: [OK]
Unmounting HGFS shares: [OK]
Guest filesystem DRIVER: [OK]

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

Make
Gcc
Kernel headers of the running kernel

Searching for GCC...
Detected GCC binary at "/usr/bin/GCC ".
The path "/usr/bin/GCC" appears to be a valid path to the GCC binary.
Wocould you like to change it? [No]

Searching for a valid kernel header path...
The path "" is not valid.
Wocould you like to change it? [Yes]

What is the location of the directory of C header files that match your running
Kernel?

3. Download the correspondingKernel-devel.rpmPackage Installation

The kernel version of Alpha ora13 Alpha is:
2.6.33-0.52.rc8.git6.fc13.i686.pae
It is:
Ftp://rpmfind.net/linux/fedora/releases/test/13-Alpha/Fedora/i386/ OS /Packages/kernel-devel-2.6.33-0.52.rc8.git6.fc13.i686.rpm
Note: different versions can find the corresponding files on this website.

----- If the network is smooth, run [Yum-y install kernel-devel] and install it on 6 MB.

 

[Root @ localhost Tian] # rpm-Q kernel-devel
Package kernel-devel Is Not Installed
[Root @ localhost Tian] # rpm-IVH ftp://rpmfind.net/linux/fedora/releases/test/13-Alpha/Fedora/i386/ OS /Packages/kernel-devel-2.6.33-0.52.rc8.git6.fc13.i686.rpm

[Root @ localhost Tian] # rpm-Q kernel-devel
[Root @ localhost Tian] # kernel-devel-2.6.33-0.52

Tip: After installing kernel-devel, restart the computer, because the kernel detected by the system is still the kernel version at startup.

4. re-run the VMware configuration file

[Root @ localhost bin] #/usr/bin/vmware-config-tools.pl

 

 

Note:

This problem also occurs when centos is installed on Vmware.What is the location of the directory of C header files that match your running kernel?"

According to the above scheme, you only need to run the command"Yum-y install kernel-devel", Install" kernel-devel...

In addition, the GCC compiler is not installed by default for centos desktop installation. Similarly, we can run the command"Yum-y install gccOnline installation.

 

 

 

 

 

 

 

 

 

 

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.