  | |  | make rpm fails | make rpm fails 2003-05-02 - By Bret Comstock Waldow
Back I didn 't install kernel*.src.rpm, I installed kernel-source*.rpm. That has all the source code for the kernel, AFAIK.
What problem is kernel*.src.rpm trying to solve? Why is it separate?
Cheers, Bret
On Fri, 2003-05-02 at 17:25, Kevin Worthington wrote: > The 'Version ' in your .spec file must match the version of the kernel*.tar.gz in your SOURCES directory, in your case appears to be /usr/src/redhat/SOURCES, if you installed the kernel*.src.rpm properly. > > In your case, you had: > > Version: 2.4.209custom > > Release: 2 > Change this to: > Version: 2.4.20 > Release: 209custom > > The release should be something "custom ". It can be whatever you want, but Red Hat asks that you make it unique, so that it is never confused with an official RH kernel. > > > cp kernel.spec kernel-2.4.209custom.spec > > > > Then I ran the command: > > [root@(protected) linux-2.4]# rpmbuild -ba kernel-2.4.209custom.spec > > error: File /usr/src/redhat/SOURCES/kernel-2.4.209custom.tar.gz: No such > > file or directory > > [root@(protected) linux-2.4]# > > > > Looking in the .spec file, I find no mention of SOURCES. "info > > rpmbuild " doesn 't address this in any way that makes sense to me, so I > > have to ask, what should I do about this? How does the tgz kernel file > > get into SOURCES, or what else is supposed to happen? > > HTH, > Kev > > -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ------ > Kevin Worthington - <kworthington (at) linuxmail {dot} org > > Faithful Red Hat Linux user since April 1998 > Registered Linux User #218689 -
http://counter.li.org
> -- > __ ____ ____ ____ ____ ____ ____ ____ ____ ___ >
http://www.linuxmail.org/
> Now with e-mail forwarding for only US$5.95/yr > > Powered by Outblaze -- Bret Comstock Waldow <bwaldow@(protected) >
|
|
 |