Red HatThis forum is for the discussion of Red Hat Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm trying to build a custom kernel for RHEL 5.1 basic. The rpm-build command is missing and "yum install rpm-build" does nothing. Is rpm-build deprecated?
Also, I desperately need instructions for building a custom kernel on RHEL 5.1 basic. Long gone are the days where I could simply download a tar ball from kernel.org, compile and boot. It seems I need to use the rpm system now.
You should be able to build any kernel that comes from kernel.org on that machine. You may have to install some packages via yum in order to compile it (such as ncurses...that one always seems to get me) but it should still compile and work regardless.
You should be able to build any kernel that comes from kernel.org on that machine. You may have to install some packages via yum in order to compile it (such as ncurses...that one always seems to get me) but it should still compile and work regardless.
My problem is that I have a binary driver thats compiled against a specific RedHat kernel, so I really just want to change a few minor features of the current RedHat kernel.
Not only wont yum install rpm-build, but there is no rpm-build on the software DVD, and "yum list available | grep build" returns nothing. "rpm-qa | grep rpm" lists the following.
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790
Rep:
Which specific kernel is this binary driver thats compiled against?? Which binary driver are you talking about anyhow??
The rpm-build package is included on the installation media, and since you have a valid subscription you should be able to install rpm-build via yum.
From a RHEL 5 DVD;
$ ls -al /media/cdrecorder/Workstation/rpm*
-rw-r--r-- 68 root root 571785 Jan 17 2007 /media/cdrecorder/Workstation/rpm-build-4.4.2-37.el5.x86_64.rpm
If you cannot locate the rpm-build-4.4.2-47.el5 package or use yum to install it then check here (CentOS==RHEL minus the legal stuff);
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790
Rep:
Does not look like they are that bad on support, a little behind maybe. Some vendors do not even bother with Linux support at all. According to this page then do have drivers and such for the 2.6.18-53.el5 kernel, nothing is stopping you from running this kernel.
Does not look like they are that bad on support, a little behind maybe. Some vendors do not even bother with Linux support at all. According to this page then do have drivers and such for the 2.6.18-53.el5 kernel, nothing is stopping you from running this kernel.
Thats the driver I'm using, and it works. The problem is that I have another pci card (8 port serial card) in the same machine that requires me to change a parameter in the kernel.
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790
Rep:
What subscription level do you have at RHN?? You need a fairly high subscription level, the basic does not provide access to such things as the development tools.
HAHAHA.... OK, I just did a search for what package rpm-build was located in, and this thread was at the top of the pile for search responses... and it answered my question.
The sad thing is, I basically answered my own question five years ago!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.