LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Can't Install VMware 5 on Fedora Core 5 (https://www.linuxquestions.org/questions/linux-software-2/cant-install-vmware-5-on-fedora-core-5-a-498749/)

zwylinux 11-05-2006 02:02 AM

Can't Install VMware 5 on Fedora Core 5
 
Guys,

I did a very large check on the forum and tried several solutions but nothing worked yet I just can't get VMware to install.

It stops at:

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

I tried to give other directorys and installed and downloaded linux-headers-2.6.10-5 and linux-headers-2.6.10-5 but no go, I point to that dir but still no go Please help me !! Many thanks


Code:

In which directory do you want to install the application's icon?
[/usr/share/pixmaps]

Trying to find a suitable vmmon module for your running kernel.

None of the pre-built vmmon modules for VMware Workstation is suitable for your
running kernel.  Do you want this program to try to build the vmmon module for
your system (you need to have a C compiler installed on your system)? [yes] y

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

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

The header files in /usr/include are generally for C libraries, not for the
running kernel. If you do not have kernel header files in your /usr/src
directory, you probably do not have the kernel-source package installed. Are yousure that /usr/include contains the header files associated with your running
kernel? [no]

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

The header files in /usr/include are generally for C libraries, not for the
running kernel. If you do not have kernel header files in your /usr/src
directory, you probably do not have the kernel-source package installed. Are yousure that /usr/include contains the header files associated with your running
kernel? [no] yes

The directory of kernel headers (version 2.6.0-test7) does not match your
running kernel (version 2.6.10-5-686).  Even if the module were to compile
successfully, it would not load into the running kernel.

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

The path "/usr/src/linux/include" is not an existing directory.

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


acid_kewpie 11-05-2006 02:06 AM

did you actually look to see where the linux-headers package installed in the first place? it should be in /usr/src/ somewhere for sure, often also symlinked to /lib/modules/2.6.10-5/build or similar.

adam-red 11-05-2006 02:13 PM

Try /usr/src/linux-headers-2.6.10-5/include

Worked for me on Ubuntu

zwylinux 11-06-2006 05:52 PM

Quote:

Originally Posted by adam-red
Try /usr/src/linux-headers-2.6.10-5/include

Worked for me on Ubuntu

I did do as you said,but it told me

What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include] /usr/src/kernels/2.6.15-1.2054_FC5-i586/include
The kernel defined by this directory of header files does not have the same
address space size as your running kernel.


What is the problem?

mikeotieno 11-07-2006 08:28 AM

i also eperienced the same problem in when trying it in OSS SuSe 10.0, but i dnt bother much i upgraded to OSS SuSe 10.1 and it insatlled it was giving me an error in wrong pointer to c header file. So i think you should try a new kernel version

guy_ripper 11-07-2006 10:29 AM

I was able to install VMware 5 on Fedora 5 with these simple steps:

1. Determine what kernel is currently installed in your system by typing on command prompt uname -rm.
You will be getting lists of kernels. If kernel-devel is not yet installed.. install it with this command
yum -y install kernel-devel. However, version of your default kernel and kernel-devel should be similar. To let you understand more,
add the default version of your kernel in downloading kernel-devel, i pressumed from your replies your kernel is
2.6.15-1.2054_FC5-i586, then, yum -y install kernel-devel-2.6.15-1.2054_FC5-i586, that will download certain version of kernel-devel.

2. download gcc-c++ and xinetd with yum

3. then, run ./vmware-config.pl, after then your good to go.....

I hope it helps....


All times are GMT -5. The time now is 01:46 AM.