centos7制作nload安装包

安装过程不说了,如下

./configure 
make;make install

这里我记录下安装遇到的依赖包问题,执行./configure出现如下错误,

checking for C++ compiler default output file name... 
configure: error: C++ compiler cannot create executables
See `config.log' for more details.

解决方法,如下,安装gcc-c++

yum install gcc-c++

再次执行./configure,出现如下错误,

configure: error: ncurses library or development files not found. ncurses is required for nload.

解决方法,如下,安装ncurses-devel

yum install -y ncurses-devel

再次执行./configure,正常无误,接着就是执行make;make install

你可能感兴趣的:(centos7制作nload安装包)