如何make
在wget
CentOS 上安装?
我试过:
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
然而,我收到一条错误消息,指出我没有可接受的 C 编译器。
答案1
答案2
只需下载 rpm:
wget http://mirrors.cat.pdx.edu/centos/5.3/os/x86_64/CentOS/make-3.81-3.el5.x86_64.rpm
并通过 rpm 安装:
rpm -ivh make-3.81-3.el5.x86_64.rpm