Linux - Virtualization and CloudThis forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I installed VMware-workstation-5.5.9-126128.i386.rpm on the linux desktop.
The linux kernel version is 2.6.18-164.15.1.el5 (CentOS 5)
When I excuted /usr/bin/vmware-config.pl, the following problem occured.
Code:
# /usr/bin/vmware-config.pl
...
The path "/usr/src/linux/include" is a kernel header file directory, but it
does not contain the file "linux/version.h" as expected. This can happen if
the kernel has never been built, or if you have invoked the "make mrproper"
command in your kernel directory. In any case, you may want to rebuild your
kernel.
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
So I installed kernel-headers-2.6.18-164.15.1.el5.i386.rpm and inputed /usr/include.
Here is where vmware 6 looks for headers with 2.6.20 kernel:
Quote:
What is the location of the directory of C header files that match your running
kernel? [/lib/modules/2.6.20.20070509/build/include]
In your case, it will probably be in same except the kernel part will be different. When it asks that question you posted, it suggests "[/usr/src/linux/include]", you'll notice the question mark before this, what it's doing is taking a guess based on where they would have been back in it's day. Today's kernels don't have the /usr/src/linux directory anymore. So when it asks that question next time you try compiling, input the correct path. Seeing as you are working with an older kernel, they may be at /lib/modules/2.6.18-164.15.1/build/include or /usr/src/linux-headers-2.6.18-164.15.1/include. Both are the same as one is just a symlink to the other containing the actual header files. The 2.6.18-164.15.1 directory may also contain the .el5 in it's name, check to see what is the exact full name of directories as they appear when navigating them.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.