LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Mandriva (https://www.linuxquestions.org/questions/mandriva-30/)
-   -   Installing Kernel Source with 10.1 (https://www.linuxquestions.org/questions/mandriva-30/installing-kernel-source-with-10-1-a-246061/)

dolphans1 10-22-2004 02:37 PM

Installing Kernel Source with 10.1
 
Hey Guys, I am having problems installing vmware. It's installed, but when I run the vmware-config.pl I go through a few steps and I get stuck on this step " What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include] "

When I hit enter it keeps repeating itself with the same message, so I am not sure what it means.

Could it be that I did not install the kernel-source when I ran the cooker script?

When I ran this script below it tells me it's already installed;

urpmi.addmedia plf ftp://ftp.free.fr/pub/Distributions_.../mandrake/10.1
with hdlist.cz
urpmi.addmedia main
ftp://mirror.aca.oakland.edu/linux/m...586/media/main
with media_info/hdlist.cz
urpmi.addmedia contrib
ftp://mirror.aca.oakland.edu/linux/m.../media/contrib
with media_info/hdlist.cz
urpmi.addmedia jpackage
ftp://ftp.heanet.ie/mirrors/ftp.mand...media/jpackage
with media_info/hdlist.cz

I have kernel 2.6.8.1mdk10.1

Thanks, d-1

opjose 10-22-2004 03:37 PM

urpmi kernel-source

and choose the one which corresponds to your installed kernel.

dolphans1 10-22-2004 05:06 PM

Quote:

Originally posted by opjose
urpmi kernel-source

and choose the one which corresponds to your installed kernel.

I have tried that but nothing happens or takes place.

[root@localhost stan]# urpmi kernel-source
no package named kernel-source
[root@localhost stan]#

?????

d-1

opjose 10-22-2004 05:33 PM

1) You must do this as root
2) You must configure your urpmi sources

See: http://www.zebulon.org.uk

dolphans1 10-22-2004 06:28 PM

I ran the script and this is what I got:

I have kernel 2.6.8-1 so I should hit no for the following below? Should it not be kernel-source 2.6.8-1 instead?


[root@localhost stan]# urpmi kernel-source
Some package requested cannot be installed:
kernel-source-2.6.3-19mdk.i586 (due to unsatisfied ncurses-devel)
Continue? (Y/n)

d-1




Quote:

Originally posted by opjose
1) You must do this as root
2) You must configure your urpmi sources

See: http://www.zebulon.org.uk


opjose 10-22-2004 06:40 PM

Yup try

urpmi kernel-source-2.6.8-1mdk

dolphans1 10-22-2004 06:57 PM

I get this when I do:

[root@localhost stan]# urpmi kernel-source-2.6.8-1mdk
no package named kernel-source-2.6.8-1mdk
[root@localhost stan]#

What should I do now?

d-1

opjose 10-22-2004 07:19 PM

Ok, first check the RPM's on the CD's.

You should find a rpm which corresponds to the kernel you currently have installed.

Mount the CD and


cd /mnt/cdrom

find . -iname kernel-source*.*

That will give you the name of any file called kernel-source on the cdrom...

If not found on the first, try the second CD.

Once found feed the name to urpmi to install it.

Micro420 10-22-2004 07:23 PM

Lets do this the easy way:

Mandrake control center

Add software

Add RPM

search for kernel-source

BAM! you're done.

dolphans1 10-22-2004 07:32 PM

That was one of the first things I attempted to do and that didn't work either, I even tried to do a search to find it using the uninstall tool.

d-1


Quote:

Originally posted by Micro420
Lets do this the easy way:

Mandrake control center

Add software

Add RPM

search for kernel-source

BAM! you're done.


opjose 10-22-2004 08:06 PM

Are you running the COOKER version of Mandrake?

(and if so WHY?????)

dolphans1 10-22-2004 09:15 PM

Yes someone advised me to do it so I could use the urpmi and redo my fonts.

d-1


Quote:

Originally posted by opjose
Are you running the COOKER version of Mandrake?

(and if so WHY?????)


opjose 10-22-2004 09:29 PM

Why?

You can "redo" your fonts with either 10.1 community or Mandrake 10.

Both work with urpmi just fine.

Cooker is a very rough beta best suited to those who are into debugging problems with Linux.

You may want to start over.

dolphans1 10-22-2004 09:35 PM

This is the kernel source on the CD # 3

[stan@localhost cdrom]$ find . -iname kernel-source*.*
./Mandrake/RPMS3/kernel-source-2.6.3-7mdk.i586.rpm
[stan@localhost cdrom]$

And, I have the kernel source 2.6.8.1-10mdk. so apparently cooker worked, but why it won't install the same kernel source is beyond me.

Is there any way to download the kernel source 2.6.8.1 on it's own?



d-1








Quote:

Originally posted by dolphans1
Yes someone advised me to do it so I could use the urpmi and redo my fonts.

d-1


opjose 10-22-2004 09:39 PM

You've probably updated the kernel somehow, or the cooker release you obtained was not all consistent (as is often the case for a DEVELOPEMENT release).

A problem with cooker releases is that sometimes the RPM's you need may be superceeded.

I'd really start over either with 10 (my preference until 10.1 Official is actually released) or with 10.1 CE.

Your other recourse is to find a newer kernel and kernel source and install both together.

E.G.

urpmi kernel kernel-source

and see if this gets you the same version for both from cooker.


All times are GMT -5. The time now is 12:11 AM.