LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   where is source code? (https://www.linuxquestions.org/questions/mandriva-30/where-is-source-code-346583/)

heraklez 07-25-2005 11:26 AM

where is source code?
 
Is the fisrt time I am using mandriva, now I have installed mandriva 10.2 on my machine. But I have troubles to install vmware, because it says:
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]
I accept, and appears this:
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
But that path is empty!!!. Do I need the source code? Where can I find it?.
Which CD number of mandriva contains the source?
What can I do?

XavierP 07-25-2005 12:55 PM

You need to download the "kernel-sources" package which matches the kernel version you are running. You should be able to get it via urpmi or via the add/remove packages tool (I forget what it's called ..... Softdrake?)

reddazz 07-25-2005 01:01 PM

Quote:

Originally posted by XavierP
You need to download the "kernel-sources" package which matches the kernel version you are running. You should be able to get it via urpmi or via the add/remove packages tool (I forget what it's called ..... Softdrake?)
rpmdrake ;)

XavierP 07-25-2005 01:11 PM

That's the one. Brain .... not .... working .... segfault error :)

heraklez 07-26-2005 09:38 AM

OK, thanks, but now I have other problem. I got the source code, a friend of mine gave me his installation CD of Mandriva 10.2 Limited Edition 2005, that is the same I installed on mi machine. I installed the source from cd number 3, its name is kernel-source2.6.11-11mdk.rpm. I installed this via urpmi, and everything were fine. I got the source code on /usr/src/linux-2.6.... But now the problem is when I install vmware 4.5.2 build 8848, when executes vmware-config.pl:

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]
I accept, and appears this:
What is the location of the directory of C header files that match your running
kernel? [/usr/src/linux/include]
I accept and, everything goes fine till appears a message like this:

Error 2, execution Aborted

Then, what can I do?

tkedwards 07-31-2005 05:47 PM

Contact Vmware support?

Sorry but that isn't really enough info to help. VMWare is a closed-source, 3rd party product and it would be difficult to debug problems in it on this forum anyway.


All times are GMT -5. The time now is 12:35 PM.