Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

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

please advice:

I want to install perl module but after make command I get gcc - - command not found? yael

# make

gcc -c   -fno-strict-aliasing -pipe -Wdeclaration-after-statement -I/usr/local/include -    D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -c
/bin/sh: gcc: command not found

# find / -name gcc


 # ls -l /usr/lib/gcc

 total 8
 drwxr-xr-x 3 root root 4096 Jan 27 11:36 i386-redhat-linux
share|improve this question
up vote 2 down vote accepted

Sounds like you are missing the gcc binary. It's part of the gcc package:

$ rpm -qf /usr/bin/gcc

It seems odd that you would not have that package installed, but try installing it with yum:

$ yum install gcc

that should go out to the standard repositories on the internet and grab the package and any dependencies and install them.

share|improve this answer
[please give me example how to install it from yum – yael Feb 13 '11 at 8:51
Updated my answer with that info. – Phil Hollenback Feb 13 '11 at 8:53
Thanx now its work – yael Feb 13 '11 at 9:24

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.