Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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.

share|improve this question

2 Answers 2

up vote 3 down vote accepted

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.

share|improve this answer
    
I accidentally removed yum. –  John Jun 25 '09 at 5:24
    
Says I have no acceptable C compiler =( –  John Jun 25 '09 at 5:33
    
configure: error: no acceptable C compiler found in $PATH –  John Jun 25 '09 at 5:34
    
Ehh.... I found that my host has a recover option... so I did that and I have yum back and such. Thanks for the help. –  John Jun 25 '09 at 5:42
1  
even if you uninstalled yum, you should still be able to use rpm directly, no? –  derobert Jun 25 '09 at 5:59

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
share|improve this answer

Your Answer

 
discard

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