<div>Hi Ned,</div>
<div> </div>
<div>The package cpp was already installed.</div>
<div> </div>
<div>[root@astind02 customKernelcompile]# rpm -qa |grep cpp<br>cpp-3.4.6-3<br>[root@astind02 customKernelcompile]# rpm -qa |grep gcc<br>gcc-c++-3.4.6-3<br>libgcc-3.4.6-3<br>gcc-3.4.6-3</div>
<div> </div>
<div>Any hint on this??</div>
<div> </div>
<div>Regards,</div>
<div> </div>
<div>Kurian Thayil.<br><br></div>
<div class="gmail_quote">On Mon, Jun 29, 2009 at 3:08 PM, Ned Slider <span dir="ltr"><<a href="mailto:ned@unixmail.co.uk">ned@unixmail.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div></div>
<div class="h5">Kurian Thayil wrote:<br>> Hi All,<br>><br>> I am having issue when trying to build a custom kernel in CentOS 4.4.<br>> Current Kernel Version is 2.6.9-42.ELsmp and the server is HP Proliant DL380<br>
> G3. I downloaded the source rpm and then installed it. Gave the command,<br>> rpmbuild -bp --target=i686 /usr/src/redhat/SPECS/kernel-2.6.spec. But it<br>> throws me an error after patch operations. The following is the error.<br>
><br>> `/usr/src/redhat/SOURCES/kernel-2.6.9-i586-smp.config' -><br>> `./kernel-2.6.9-i586-smp.config'<br>> `/usr/src/redhat/SOURCES/kernel-2.6.9-i586.config' -><br>> `./kernel-2.6.9-i586.config'<br>
> `/usr/src/redhat/SOURCES/kernel-2.6.9-i686-hugemem.config' -><br>> `./kernel-2.6.9-i686-hugemem.config'<br>> `/usr/src/redhat/SOURCES/kernel-2.6.9-i686-smp.config' -><br>> `./kernel-2.6.9-i686-smp.config'<br>
> `/usr/src/redhat/SOURCES/kernel-2.6.9-i686.config' -><br>> `./kernel-2.6.9-i686.config'<br>> + for i in '*.config'<br>> + mv kernel-2.6.9-i586-smp.config .config<br>> ++ echo kernel-2.6.9-i586-smp.config<br>
> ++ cut -d- -f3<br>> ++ cut -d. -f1<br>> ++ sed -e s/i.86/i386/ -e s/s390x/s390/ -e s/ppc64.series/ppc64/<br>> + make ARCH=i386 nonint_oldconfig<br>> gcc: installation problem, cannot exec `cc1': No such file or directory<br>
> make[1]: *** [scripts/basic/fixdep] Error 1<br><br></div></div>Looks like you don't have cpp, the C preprocessor, installed.<br><br>Try 'yum install cpp'.<br><br><br><br><br>_______________________________________________<br>
CentOS mailing list<br><a href="mailto:CentOS@centos.org">CentOS@centos.org</a><br><a href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br></blockquote>
</div><br>