Checking for patch... no

From WebHostingNeeds.com
Jump to: navigation, search

On compiling a program, i get error

checking for patch... no
configure: error: You need patch utility to prepare sources.

This is due to program "patch" not installed on the server.

The server was Fedora 7, so i searched "patch" at

http://rpm.pbone.net/

Find the rpm for patch, downloaded and installed it.

wget ftp://ftp.univie.ac.at/systems/linux/fedora/releases/7/Everything/i386/os/Fedora/patch-2.5.4-29.2.2.i386.rpm
rpm -ivh patch-2.5.4-29.2.2.i386.rpm

Or install from yum

yum install patch