  | | | Installing Development Packages for Kernel | Installing Development Packages for Kernel 2006-03-06 - By Rick Stevens
Back 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 (See http://nel-2.ora-code.com).6.spec
4. To create your normal kernel development area, as root:
# cd /usr/src/redhat/BUILD/kernel-2 (See http://nel-2.ora-code.com).6.(majorversion) # mv linux-2 (See http://nux-2.ora-code.com).6.(majorversion) /usr/src/linux-2 (See http://nux-2.ora-code.com).6.(fullversion)
5. Create your symbolic links as the root user:
# cd /usr/src # ln -s linux-2 (See http://nux-2.ora-code.com).6.(fullversion) linux-2 (See http://nux-2.ora-code.com).6 # ln -s linux-2 (See http://nux-2.ora-code.com).6.(fullversion) linux
6. Configure the source and such:
# cd /usr/src/linux-2 (See http://nux-2.ora-code.com).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@(protected) - - VitalStream, Inc. http://www.vitalstream.com - - - - If your broker is so damned smart...why is he still working? - -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- --
__ ____ ____ ____ ____ ____ ____ ____ ____ ____ Redhat-install-list mailing list Redhat-install-list@(protected) https://www.redhat.com/mailman/listinfo/redhat-install-list To Unsubscribe Go To ABOVE URL or send a message to: redhat-install-list-request@(protected) Subject: unsubscribe
|
|
 |