  | |  | make rpm fails | make rpm fails 2003-05-02 - By Kevin Worthington
Back If you are trying to build an RPM, and it looks like you 're trying to build a kernel RPM, you should try creating a spec file, and running:
rpmbuild -ba kernel-2.4.209custom
and that will build a src.rpm and a binary (i386.rpm)
> I ran "make rpm ". > > After much time, the build fails with this: > ... > make[1]: Leaving directory `/usr/src/redhat/BUILD/kernel-2.4.209custom ' > + cp arch/i386/boot/bzImage > /var/tmp/kernel-2.4.209custom-root/boot/vmlinuz-2.4.20-9custom > + cp System.map > /var/tmp/kernel-2.4.209custom-root/boot/System.map-2.4.20-9custom > + cp .config > /var/tmp/kernel-2.4.209custom-root/boot/config-2.4.20-9custom > + /usr/lib/rpm/brp-compress > Processing files: kernel-2.4.209custom-2 > Provides: kernel-2.4.20-9custom kernel-drm > Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 > rpmlib(PayloadFilesHavePrefix) <= 4.0-1 > Processing files: kernel-debuginfo-2.4.209custom-2 > error: Could not open %files file > /usr/src/redhat/BUILD/kernel-2.4.209custom/debugfiles.list: No such file > or directory > > > RPM build errors: > Could not open %files file > /usr/src/redhat/BUILD/kernel-2.4.209custom/debugfiles.list: No such file > or directory > make: *** [rpm] Error 1 > [root@(protected) linux-2.4]# ls /usr/src 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
|
|
 |