STEP1 : [muthu @ ~/ ] cp configure.patch ./octave-gtk-0.3 #copy the patch to your directory. [muthu @ ~/ ] cd ./octave-gtk-0.3 [muthu @ ~/octave-gtk-0.3] patch < configure.patch [muthu @ ~/octave-gtk-0.3] ./auto.sh && ./configure