Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I run the following:

$ cd /opt/mod_fastcgi-2.4.6
$ cp Makefile.AP2 Makefile
$ make top_dir=/etc/httpd
$ make install

I keep getting this error when I run make:

-bash: make: command not found

What is going on?

share|improve this question

Erm, obviously you haven't installed make.

On Ubuntu: sudo apt-get install build-essential

On CentOS: sudo yum install make gcc gcc-c++

share|improve this answer
Not true - if that were the case he'd get that after the first make call, would he not? – GodEater Jun 27 '11 at 7:08
He didn't specify when he got the error. And I doubt that calling a command 2 times immediately after each other would produce command not found only for the 2nd time. – Lamnk Jun 28 '11 at 0:21

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.