CentOS_mini下make安装

时间:2023-03-08 17:37:27
CentOS_mini下make安装

执行make时显示:

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

用网上的教程:

 wget http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.6.tar.gz

 tar zxvf ncurses-5.6.tar.gz

 ./configure -prefix=/usr/local -with-shared -without-debug
make make install

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

 ** Configuration summary for NCURSES 6.1 20180127
extended funcs: yes
xterm terminfo: xterm-new bin directory: /usr/local/bin
lib directory: /usr/local/lib
include directory: /usr/local/include/ncurses
man directory: /usr/local/man
terminfo directory: /usr/local/share/terminfo ** Include-directory is not in a standard location

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