Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

kernel source for rhel4

Status
Not open for further replies.

klaxyn

Technical User
Jul 16, 2000
21
0
0
US
I installed the kernel source from the CDs by "rpm -ivh kernel-devel*src.rpm" and this installs the source into /usr/src/redhat/SOURCES. But there is no makefile. Everything I find on the web says the rpm command I used should install the source and makefile in /usr/src/linux-xxxx/. What am I doing wrong?

Thanks.
klambert@earthmatrix.org
 
Turns out I was isntalling the wrong package. I installed this rpm "kernel-smp-devel-2.6.9-5.0.5.EL.i686.rpm". This created the /usr/src/linux-xxxx/ file structure. I then created the soft link to /usr/src/linux. "kernel-devel*src.rpm" must be the source used to create the rpm that installs the source to the kernel. This would explain why it was in /usr/src/redhat/SOURCES and not /usr/src/linux.

Kurin Lambert
klambert@earthmatrix.biz
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top