hi i tried to install kernel source rpm..., i need to create a driver for one of my courses i need the kernel source to compile i do: linux:/home/mcollin/Download # rpm -i kernel-source-2.4.21-144.src.rpm linux:/home/mcollin/Download # cd /usr/src/ linux:/usr/src # ls . .. kernel-modules packages there are nothing for the kernel in /usr/src... any idea why rpm -i kernel-source-2.4.21-144.src.rpm don't seem to install nothing any idea? thanks -- Borland rulez http://pages.infinit.net/borland
Hi Colin I have just been thru the same problem here trying all sorts of things .. any way here is the link to the kernel sources "ftp://ftp.suse.com/pub/suse/i386/update/9.0/rpm/src/ kernel-source-2.4.21-215.src.rpm " You then need to rebuild the sources as you wil not find them in "/usr/src/linux" they are in "/usr/packages/BUILD" as the stock sources plus all the patches in rpm format. You need to do an rpm rebuild on them to get the source package you are after , I can't right now sort out the rpm command but if you read the rpm manual the info is in there or maybe someone else has the commands on the tip of there tounges .. hope this has been of some help having been there myself . Cheers Pete . On Monday 10 May 2004 22:51, Marc Collin wrote:
hi
i tried to install kernel source rpm..., i need to create a driver for one of my courses
i need the kernel source to compile
i do:
linux:/home/mcollin/Download # rpm -i kernel-source-2.4.21-144.src.rpm linux:/home/mcollin/Download # cd /usr/src/ linux:/usr/src # ls . .. kernel-modules packages
there are nothing for the kernel in /usr/src...
any idea why
rpm -i kernel-source-2.4.21-144.src.rpm
don't seem to install nothing
any idea?
thanks -- Borland rulez http://pages.infinit.net/borland
-- G6NJR Pete otherwise known as "Quinton 11" A Linux Only area Happy bug hunting M$ clan Pete,,,,, :-)
The Monday 2004-05-10 at 17:51 -0400, Marc Collin wrote:
i do:
linux:/home/mcollin/Download # rpm -i kernel-source-2.4.21-144.src.rpm ... there are nothing for the kernel in /usr/src...
Because you have to install kernel-source-2.4.21-144.rpm instead - not ....src.rpm -- Cheers, Carlos Robinson
participants (3)
-
Carlos E. R.
-
Marc Collin
-
peter Nikolic