Jeff Groves wrote: > > At 12:27 PM 9/19/00 -0600, you wrote: > > The kernel headers and other kernel stuff is installed: > > # rpm -qa | grep kernel > kernel-2.2.15-4mdk > kernel-doc-2.2.15-4mdk > kernel-headers-2.2.15-4mdk > kernel-utils-2.2.15-4mdk > kernel-source-2.2.15-4mdk > > I cannot install kernel-headers-2.2.17-6mdk, since that is supposed to be > created by the build! Okay... this is where you got me confused... are you building a kernel source RPM from a kernel SRPM? There is a difference =) What *exactly* are you trying to accomplish here? Build a kernel RPM? Or build a kernel? > > > > The last error lines were: > > > + %make bZImage > > > /var/tmp/rpm-tmp.6671: fg: no job control > > > Bad exit status from /var/tmp/rpm-tmp.6671 (%build) > > > >No job control? You must be missing more than just your kernel headers. > >Can you do this: > > Job control works fine. I actually ran the build like this: > > nohup rpm -ba --target=i586 kernel-2.2.spec & > tail -f nohup.out > > Do I also need to install the unmodified kernel > (kernel-linus-2.2.17-1mdk.src.rpm)? > > I'm running out of ideas. Surely there must be some others who have build > kernels from RPMs. What am I missing? I've done it, but I've never built a kernel source RPM from a kernel source SRPM *dizzy*. The easiest way to go is to get (as someone else has already suggested) the kernel source tarball from ftp.kernel.org, untar it in /usr/src, and build from there... that's how I've done it. I've installed the Mandrake kernel source RPM and compiled from that before, but as much as I like Mandrake I found their flavour of the kernel sources a tad too adventurous. Too many things that didn't work the way they should have -- not to mention the first kernel oops I've ever seen under Linux... going back to the Torvalds tarballs fixed all those problems. -Stephen-
Keep in touch with http://mandrakeforum.com: Subscribe the "[EMAIL PROTECTED]" mailing list.
