-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.

0

2 Answers 2

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.

5
  • I accidentally removed yum.
    – John
    Jun 25, 2009 at 5:24
  • Says I have no acceptable C compiler =(
    – John
    Jun 25, 2009 at 5:33
  • configure: error: no acceptable C compiler found in $PATH
    – John
    Jun 25, 2009 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, 2009 at 5:42
  • 1
    even if you uninstalled yum, you should still be able to use rpm directly, no?
    – derobert
    Jun 25, 2009 at 5:59
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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy