On Wed, 2005-10-19 at 16:26 +0100, M?rio Gamito wrote: > Hi, > > No, that's not that. You're mistaken. > > Until 4.1, there was a kernel-sourcecode-2.6.9 RPM. > Now in there isn't. > > So, again, where is the kernel's sourcecode ? > > Warm Regards, > M?rio Gamito > The Kernel sourcecode is not like kernel-source. It is a noarch rpm that does not get arch specific patches added to the source, making it relatively worthless as a package for building kernels. Because of that, and because it is not down by either fedora or the upstream provider, we are also no longer producing a kernel-sourcecode rpm. If one needs a full kernel tree, they can download the kernel SRPM from here: http://mirror.centos.org/centos/4/os/SRPMS/ OR http://mirror.centos.org/centos/4/updates/SRPMS/ Then install the source with the command: rpm -i kernel-xxxx.src.rpm Then go to the SPECS directory (Usually /usr/src/redhat/SPECS) and get a full kernel tree with the command: rpmbuild -bp --target i686 kernel-2.6.spec (substitute your target arch) Then go to the BUILD directory and you will have a real (and patched) tree: cd ../BUILD > Karanbir Singh wrote: > > M?rio Gamito wrote: > > > >> I've just installed CentOS 4.2 > >> I must recompile the kernel and for that i used to do a "yum install > >> kernel-sourcecode". > >> > >> Now, it doesn't works anymore. > >> > >> In /usr/src/kernels/... compiling gives an error straight from the start. > >> > >> Where is now kernel's source code ? > >> > > > > short answer : "yum install kernel-devel", if that does not work get > > the .src.rpm for the kernel version and manually install that. > > > > - K > _______________________________________________ > CentOS mailing list > CentOS@xxxxxxxxxx > http://lists.centos.org/mailman/listinfo/centos > > -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: This is a digitally signed message part Url : http://lists.centos.org/pipermail/centos/attachments/20051019/32727704/attachment.bin