当前位置: 技术问答>linux和unix
RHEL5编译lynx的时候报错,configure: error: No curses header-files found
来源: 互联网 发布时间:2016-09-16
本文导语: [root@localhost lynx2-8-7]# ./configure checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu Configuring for linux-gnu checking for DESTDIR... checking for gcc... gcc checking for C...
[root@localhost lynx2-8-7]# ./configure
checking build system type... i686-pc-linux-gnu
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
Configuring for linux-gnu
checking for DESTDIR...
checking for gcc... gcc
checking for C compiler default output... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for executable suffix...
checking for object suffix... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking how to run the C preprocessor... gcc -E
checking whether ln -s works... yes
checking whether make sets ${MAKE}... yes
checking for a BSD compatible install... /usr/bin/install -c
checking for bison... no
checking for byacc... no
checking for lint... no
checking for alint... no
checking for lclint... no
checking for tdlint... no
checking for AIX... no
checking for POSIXized ISC... no
checking for ranlib... ranlib
checking for ar... ar
checking for options to update archives... -curv
checking if you want to see long compiling messages... yes
checking if you want to check memory-leaks... no
checking if you want to enable debug-code... no
checking if you want to enable lynx trace code *recommended* ... yes
checking if you want verbose trace code... no
checking if you want to turn on gcc warnings... no
checking if you want to use dbmalloc for testing... no
checking if you want to use dmalloc for testing... no
checking for gcc option to accept ANSI C... none needed
checking for an ANSI C-conforming const... yes
checking for gcc option to accept ANSI C... -DCC_HAS_PROTOS
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... 64
checking for _LARGE_FILES value needed for large files... no
checking for _LARGEFILE_SOURCE value needed for large files... no
checking for fseeko... yes
checking whether to use struct dirent64... no
checking for msginit... /usr/bin/msginit
checking for ranlib... (cached) ranlib
checking for ANSI C header files... yes
checking for inline... inline
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for off_t... yes
checking for size_t... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking for getpagesize... yes
checking for working mmap... yes
checking whether we are using the GNU C Library 2.1 or newer... yes
checking for argz.h... yes
checking for limits.h... yes
checking for locale.h... yes
checking for nl_types.h... yes
checking for malloc.h... yes
checking for stddef.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for unistd.h... (cached) yes
checking for sys/param.h... yes
checking for feof_unlocked... yes
checking for fgets_unlocked... yes
checking for getcwd... yes
checking for getegid... yes
checking for geteuid... yes
checking for getgid... yes
checking for getuid... yes
checking for mempcpy... yes
checking for munmap... yes
checking for putenv... yes
checking for setenv... yes
checking for setlocale... yes
checking for stpcpy... yes
checking for strchr... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strtoul... yes
checking for tsearch... yes
checking for __argz_count... yes
checking for __argz_stringify... yes
checking for __argz_next... yes
checking for iconv... yes
checking if the declaration of iconv() needs const.... no
checking for nl_langinfo and CODESET... yes
checking for LC_MESSAGES... yes
checking whether NLS is requested... no
checking if you want full utility pathnames... yes
checking for system mailer... /usr/sbin/sendmail
checking system mail flags... -t -oi
checking if gcc -U and -D options work together... yes
checking if we must define _GNU_SOURCE... yes
checking if SIGWINCH is defined... yes
checking if you want NSS compatible SSL libraries... no
checking if you want ssl library... no
checking if you want gnutls support... no
checking if you want gnutls-openssl compat... no
checking if you want socks library... no
checking if you want socks5 library... no
checking for network libraries... working...
checking for gethostname... yes
checking for main in -linet... no
checking for socket... yes
checking for gethostbyname... yes
checking for strcasecmp... (cached) yes
checking for inet_aton function... yes
checking if you want to use pkg-config... yes
checking for pkg-config... /usr/bin/pkg-config
checking whether to enable ipv6... no
checking for screen type... curses
checking for extra include directories... no
checking if we have identified curses headers... none
configure: error: No curses header-files found
[root@localhost lynx2-8-7]# rpm -qa | grep curses
ncurses-5.5-24.20060715
请各位老大帮忙看看,谢谢。
|
找一下/usr/include目录下有没有curses.h,没有的话原先安装的可能不完整,缺少头文件,可以下载个头文件放进去试试~
|
Linux竟然没curses库?
楼主尝试安装个ncurses吧
楼主尝试安装个ncurses吧
|
ncurses-dev有没有?
|
库也没有?lz先去下个来安装吧。。。