Hi,
I have downloaded the following packages from mpls-linux website:
kernel-2.6.9-1.6_FCmpls_1946a.src.rpm
glibc-kernheaders-2.4-9.1.87mpls1_9.46a.src.rpm
mpls-linux-1.946a.tar.bz
For the first 2 packages, I did the following:
rpm -ivh glibc-kernheaders-2.4-9.1.87mpls1_9.46a.src.rpm
rpm -ivh kernel-2.6.9-1.6_FCmpls_1946a.src.rpm
then:
cd /usr/src/redhat/SPECS
rpmbuild -bp kernel-2.6.9-1.6_FCmpls_1946a.src.rpm
rpmbuild -bp glibc-kernheaders-2.4-9.1.87mpls1_9.46a.src.rpm
for the mpls-linux-1.946a.tar package:
bunzip2 mpls-linux-1.946a.tar.bz
tar -xvf mpls-linux-1.946a.tar
Everything was Ok until I followed the instructions in the QUICK.START
file to apply the patch for the linux-kernel.diff
patch -p1 < ../mpls-linux/patches/linux-kernel.diff
I kept getting an error message:
----------------------------
bash-3.00# patch -p1 < ../mpls-linux/patches/linux-kernel.diff
can't find file to patch at input line 4
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -uNr linux-kernel/include/linux/if_arp.h
mpls-kernel/include/linux/if_arp.h
|--- linux-kernel/include/linux/if_arp.h 2004-07-23
12:29:16.000000000 -0500
|+++ mpls-kernel/include/linux/if_arp.h 2004-07-23 18:06:30.000000000
-0500
--------------------------
File to patch:
I hope someone know what I am missing and/or how can I fix this problem.
Thanks.
|