Mailing List
Home
Linux - General Red Hat Linux discussion list
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Installation - Getting started with Red Hat Linux
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 8.0 - Discussion of Red Hat Linux 8.0 (Psyche)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.1 - Discussion of Red Hat Linux 7.1 (Seawolf)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
make rpm fails

make rpm fails

2003-05-02       - By Michael Fratoni

 Back
Reply:     <<     11     12     13     14     15     16     17     18     19     20     >>  

-- --BEGIN PGP SIGNED MESSAGE-- --
Hash: SHA1

On Friday 02 May 2003 02:59 pm, Bret Comstock Waldow wrote:
> I ran "make rpm ".
>
> After much time, the build fails with this:

> 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

Hi Bret,
I 'll ignore all the other replies on the topic, and address the problem
you asked about in the first place. ;)

What you are trying to do is possible. (and you have done it correctly)
"spec " and "rpm " are valid targets in the kernel Makefile.

> 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

RPM auto generates a debug.rpm by default. It 's failing here for some
reason. You can try:

# echo "%debug_package %{nil} " > > ~/.rpmmacros

# cd /usr/src/linux-2.4
# make rpm

(I don 't like building rpms as root, but that 's another rant.)

> My understanding was making the custom kernel as an rpm allows the Red
> Hat upgrade mechanism to continue working, and I thought I 'd try that.
>
> Can anyone tell me what to do to make "make rpm " work, or perhaps what
> I should be doing instead?

'make rpm ' is as straightforward as any other method, I suppose.
Others have suggested installing kernel-something.src.rpm. That works as
well, but is a little complicated if you actually want to make a change
to a config file. You have to install the package, generate a config for
your setup, figure out how to force the use of your config file during
the build process...


- --
- -Michael

pgp key: http://www.tuxfan.homeip.net:8080/gpgkey.txt
Red Hat Linux 7.{2,3}|8.0 in 8M of RAM: http://www.rule-project.org/
- --
-- --BEGIN PGP SIGNATURE-- --
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+sx5mn/07WoAb/SsRAsXwAJ45F5pdtx8s0WWdPkDrtK8RnHwvogCff84i
8Z3WEMPzH6Bdwh28LPE1ios=
=zOnn
-- --END PGP SIGNATURE-- --