# makemake: *** No targets specified and no makefile found. Stop.# yum install gcc gcc-c++ gcc-g77-bash: /usr/bin/yum: /usr/bin/python: bad interpreter: No such file or directory# ll /usr/bin/yum-rwxr-xr-x. 1 root root 801 Apr 13 2018 /usr/bin/yum# ll pythonls: cannot access python: No such file or directory # python的软连接源文件已经不存在
mv /usr/bin/python /usr/bin/python_old // 去除原来存在的软连接
# ln -s /usr/bin/python2.7 /usr/bin/python #重新做一个python的软连接# yum install gcc gcc-c++ gcc-g77 # makemake: *** No targets specified and no makefile found. Stop.# wget http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.6.tar.gz# ./configure -prefix=/usr/local -with-shared-without-debug# make