Hello,
I am following this instructions:
Code:
http://wiki.centos.org/HowTos/I_need_the_Kernel_Source
I have downloaded the following kernel:
kernel-2.6.18-164.15.1.el5.src.rpm
I have done the following steps:
As root, install the packages rpm-build, redhat-rpm-config and unifdef:
Code:
[root@host]# yum install rpm-build redhat-rpm-config unifdef
As an ordinary user, not root, create a directory tree based on ~/rpmbuild:
Code:
[user@host]$ cd
[user@host]$ mkdir -p rpmbuild/{BUILD,RPMS,SOURCES,SPECS,SRPMS}
[user@host]$ echo '%_topdir %(echo $HOME)/rpmbuild' > .rpmmacros
However, when I try and install the rpm package:
Code:
[user@host]$ rpm -ivh kernel-2.6.18-164.15.1.el5.src.rpm | 2>&1 | grep -v mockb
I get the following error:
Code:
warning: user mockbuild does not exist - using root
warning: group mockbuild does not exist - using root
Can anyone tell me what I am doing wrong?
Many thanks for any suggestions,