Installing Development Packages for Kernel
Rick Stevens
rstevens at vitalstream.com
Mon Mar 6 18:35:43 UTC 2006
On Sun, 2006-03-05 at 11:55 -0300, Rodrigo Faria Tavares wrote:
> Hello,
>
> I made a custom instalation using FC4, withtout the deveopment
> packages, still
> the make menuconfig in source kernel, not happen.
>
> What are the packages with compilation kernel ?
FC4's "kernel-devel" package only includes the headers and such for
building a kernel--it does NOT include the kernel source.
If you want to build a custom kernel:
1. Go to some repository and download the kernel SRPM for the kernel
you want. For example, the URL for FC4 kernel source RPMs off the
kernel.org mirror site is:
http://mirrors.kernel.org/fedora/core/updates/4/SRPMS/
2. Install the kernel source RPM via "rpm -i".
3. Execute the following commands as the root user:
# cd /usr/src/redhat/SPECS
# rpmbuild -bp target=i686 kernel-2.6.spec
4. To create your normal kernel development area, as root:
# cd /usr/src/redhat/BUILD/kernel-2.6.(majorversion)
# mv linux-2.6.(majorversion) /usr/src/linux-2.6.(fullversion)
5. Create your symbolic links as the root user:
# cd /usr/src
# ln -s linux-2.6.(fullversion) linux-2.6
# ln -s linux-2.6.(fullversion) linux
6. Configure the source and such:
# cd /usr/src/linux-2.6
# make menuconfig
In the discussion above, "(majorversion)" refers to the major version
of the kernel (e.g. "2.6.15"), "(fullversion)" refers to the full
version number (e.g. "2.6.15-1.1851_FC4").
----------------------------------------------------------------------
- Rick Stevens, Senior Systems Engineer rstevens at vitalstream.com -
- VitalStream, Inc. http://www.vitalstream.com -
- -
- If your broker is so damned smart...why is he still working? -
----------------------------------------------------------------------
More information about the Redhat-install-list
mailing list