make: *** No targets specified and no makefile found. Stop.錯誤


# make make:
*** 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 python ls: 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 

# make
make: *** 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
相關文章
相關標籤/搜索