-1

How can I install make with wget on CentOS?

I tried:

cd /tmp wget ftp.gnu.org/pub/gnu/make/make-3.81.tar.gz 
tar xfz make-3.81.tar.gz 
cd make-3.81 PATH=/usr/local/bin:/usr/bin:/bin 
./configure patch -p1<make-3.81-cygwin.patch patch -p0<make-3.81-cygwin_MAKE_expansion.patch PATH=/usr/local/bin:/usr/bin:/bin 
make PATH=/usr/local/bin:/usr/bin:/bin 
make install 

However, I got an error message stating I had no acceptable C compiler.

Flyk
  • 119
  • 1
  • 2
  • 10

2 Answers2

3

Do you have any specific problem with yum?
Normally you would do yum install make
Or, maybe, sudo yum install make


Wow :-), Ok, i write the standard Make reference here, you take your pick on the source.

wget http://ftp.gnu.org/pub/gnu/make/make-3.81.tar.bz2
tar xfj make-3.81.tar.bz2
./configure
make
sudo make install

And, while you are there, might want to reinstall yum too...


Good to hear you have fixed it.

nik
  • 7,040
  • 2
  • 24
  • 30
2

Just download rpm:

wget http://mirrors.cat.pdx.edu/centos/5.3/os/x86_64/CentOS/make-3.81-3.el5.x86_64.rpm

and install it via rpm:

rpm -ivh make-3.81-3.el5.x86_64.rpm
kolbusa
  • 71
  • 3