zz:安装nload出错解决

首先依赖软件如下:

rpm -ivh gcc-4.1.2-42.el5.i386.rpm

rpm -ivh cpp-4.1.2-42.el5.i386.rpm

rpm -ivh libstdc++-devel-4.1.2-42.el5.i386.rpm

rpm -ivh gcc-c++-4.1.2-42.el5.i386.rpm

rpm -ivh ncurses-devel-5.5-24.20060715.i386.rpm

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


首先需要安装gcc要不然会报错内容没有记录,大致就是gcc.... no
有这样的错误意思就是没安装gcc安装即可  用yum很方便,若yum用不了请重新配置yum源即可实现


错误如下
[root@linuxzgf nload-0.7.2]# ./configure 
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for g++... g++
checking for C++ compiler default output file name... a.out
checking whether the C++ compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables... 
checking for suffix of object files... o
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking for style of include used by make... GNU
checking dependency style of g++... gcc3
checking for gcc... gcc
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking dependency style of gcc... gcc3
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking whether gcc needs -traditional... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for memset... yes
checking for initscr in -lncurses... no
checking for new_form in -lform... no
checking for ANSI C header files... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking stdlib.h usability... yes
checking stdlib.h presence... yes
checking for stdlib.h... yes
checking string.h usability... yes
checking string.h presence... yes
checking for string.h... yes
checking unistd.h usability... yes
checking unistd.h presence... yes
checking for unistd.h... yes
checking curses.h usability... no
checking curses.h presence... no
checking for curses.h... no
checking form.h usability... no
checking form.h presence... no
checking for form.h... no
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
configure: error: ncurses library or development files not found. ncurses is required for nload.

处理办法
安装
[root@linuxzgf nload-0.7.2]# yum -y install ncurses*

猜你喜欢

转载自laibulai.iteye.com/blog/941618
zz