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

1 Answer 1


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.

  • [please give me example how to install it from yum
    – yael
    Feb 13, 2011 at 8:51
  • Updated my answer with that info. Feb 13, 2011 at 8:53
  • Thanx now its work
    – yael
    Feb 13, 2011 at 9:24

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .