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 Florin Andrei

 Back
Reply:     1     2     3     4     5     6     7     8     9     10     >>  

On Fri, 2003-05-02 at 13:36, Bret Comstock Waldow wrote:
>
> I think the Red Hat package upgrade system (Red Hat Network) will only
> work to upgrade the kernel later on if I install my kernels as an rpm.
> That 's what 's got me trying to make the upgrade by making my custom
> kernel into an rpm file.

Well, regardless of what up2date does, it 's indeed better to install the
software as rpm packages, usually.

> > I usually edit the Makefile and get rid of the "custom " string in the
> > kernel version.
>
> Is this a general comment on approach, or a solution to a problem,
> please? I can 't tell from what you 've written.

What i 'm saying is: the build system expects various things to be in
certain places based on the kernel version. The kernel version is
deduced from the Makefile.
Red Hat kernel sources add the "custom " string to the kernel version. If
the build fails, you may want to tweak the kernel version string.

As a standard practice, i always remove the "custom " string immediately
after i install the system (or replace it with "smp " on SMP systems). If
i don 't do that, there are problems with applications that i build
myself and which install their own kernel modules.

I remember rebuilding the kernel rpm, and i think i tweaked the kernel
version. I also remember being able to create kernel packages with
customised kernel versions, such as:

2.4.18-27.8.0smpAPIC
2.4.18-27.8.0XFS

...and so on. I don 't remember all steps, but i do remember it required
some tweaking of the spec files and/or the Makefile, usually things
related to how the kernel version is defined.

Sorry, i can 't be more specific than that.

--
Florin Andrei

"When ideas fail, words come in very handy. " - Goethe