[root@ecofe2 IP]# ls
IPModifyForXP.exe rpm-build-4.3.3-13_nonpt1.i386 rpm-libs-4.3.3-13_nonptl.i386.rpm
kernel-2.6.9-5.EL.src.rpm rpm-build-4.3.3-13_nonptl.i386.rpm setup.ini
[root@ecofe2 IP]# rpm -ivh rpm-build-4.3.3-13_nonptl.i386.rpm
warning: rpm-build-4.3.3-13_nonptl.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
error: Failed dependencies:
rpm = 4.3.3-13_nonptl is needed by rpm-build-4.3.3-13_nonptl.i386
[root@ecofe2 IP]# rpm -ivh rpm-libs-4.3.3-13_nonptl.i386.rpm
warning: rpm-libs-4.3.3-13_nonptl.i386.rpm: V3 DSA signature: NOKEY, key ID db42a60e
Preparing... ########################################### [100%]
file /usr/lib/librpm-4.3.so from install of rpm-libs-4.3.3-13_nonptl conflicts with file from package rpm-libs-4.3.3-7_nonptl
file /usr/lib/librpmbuild-4.3.so from install of rpm-libs-4.3.3-13_nonptl conflicts with file from package rpm-libs-4.3.3-7_nonptl
file /usr/lib/librpmdb-4.3.so from install of rpm-libs-4.3.3-13_nonptl conflicts with file from package rpm-libs-4.3.3-7_nonptl
file /usr/lib/librpmio-4.3.so from install of rpm-libs-4.3.3-13_nonptl conflicts with file from package rpm-libs-4.3.3-7_nonptl
[root@ecofe2 IP]#
[root@ecofe2 IP]# cd /usr/src
[root@ecofe2 src]# ls
2.6.9-34.EL-i686 e1000 kernels linux-2.6.17.13 linux-2.6.17.13.zip linux-2.6.9.tar.bz2 redhat
[root@ecofe2 src]# cd redhat
[root@ecofe2 redhat]# ls
BUILD RPMS SOURCES SPECS SRPMS
[root@ecofe2 redhat]# rpmbuild -ba --target=i686 ./kernel-2.6.spec
Building target platforms: i686
Building for target i686
error: failed to stat /usr/src/redhat/./kernel-2.6.spec: No such file or directory
[root@ecofe2 redhat]#