CentOS_mini下make安装

执行make时显示:

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

用网上的教程:

1 wget http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.6.tar.gz
2 
3 tar zxvf ncurses-5.6.tar.gz
4 
5 ./configure -prefix=/usr/local -with-shared -without-debug
6 make
7 
8 make install

执行到第三 个命令时 :提示以下信息: 说明了ncurses工具、头文件、库文件、帮助文档和终端信息安装在哪个目录下

 1 ** Configuration summary for NCURSES 6.1 20180127
 3      extended funcs: yes
 4      xterm terminfo: xterm-new
 5 
 6       bin directory: /usr/local/bin
 7       lib directory: /usr/local/lib
 8   include directory: /usr/local/include/ncurses
 9       man directory: /usr/local/man
10 terminfo directory: /usr/local/share/terminfo
11 
12 ** Include-directory is not in a standard location

https://www.cnblogs.com/wangchenxicool/articles/2159970.html  -------这是另一篇很详细的文章 ,Ubuntu的 报错的可以借鉴下

 

posted on 2018-10-04 00:02  小朱配齐  阅读(1259)  评论(0编辑  收藏  举报