Red Hat Bugzilla – Bug 157276
installing kernel headers - catch 22
Last modified: 2007-11-30 17:11:05 EST
From Bugzilla Helper:
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; rv:1.7.3) Gecko/20041020 Firefox/0.10.1
Description of problem:
I did a "minimal install" because of some dependancy problems with the full install on my x86_64 system. When I went to install GCC, it required glibc-headers. However, glibc-headers requires kernel headers. So, I downloaded the source for the kernel, kernel-2.6.9-1.667.src.rpm and installed it. According to the docs I've found, the next step is supposed to be "rpmbuild -bp --target=noarch /usr/src/redhat/SPECS/kernel-2.6.spec". It fails because GCC is not installed. So, I am in a catch 22 situation. I can't install GCC without the kernel headers and I can't install the kernel headers without GCC.
Version-Release number of selected component (if applicable):
kernel source install requires gcc - gcc requires kernel headers
Steps to Reproduce:
1. perform a minimal install
2. try to install GCC from the FC3 rpm collection
3. try to install kernel headers from the RC# srpm collection
Actual Results: cross dependancy failure
Expected Results: bring back the separate kernel-headers rpm
I'm hoping someone will say, "Hay dummy! All you need to do is.... " :)
gcc wants glibc-kernheaders, not the kernel source.
sorry, that should be _glibc_ wants glibc-kernheaders, not the kernel source.
Excellent - That was all I needed to know. Thank you.