checking version of installed readline library... configure: WARNING: Could not test version of installed readline library.
configure: error: CGDB requires GNU readline 5.1 or greater to link.
If you used --with-readline instead of using the system readline library,
make sure to set the correct readline library on the linker search path
via LD_LIBRARY_PATH or some other facility.
cgdb 설치 할떄 위와 같이 에러가 발생이 된다. 이럴경우는
# yum install readline*
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
Package readline-6.2-11.el7.i686 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package readline-devel.i686 0:6.2-11.el7 will be installed
---> Package readline-static.i686 0:6.2-11.el7 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================================================
Package Arch Version Repository Size
================================================================================================================
Installing:
readline-devel i686 6.2-11.el7 base 139 k
readline-static i686 6.2-11.el7 base 114 k
Transaction Summary
================================================================================================================
Install 2 Packages
Total download size: 253 k
Installed size: 628 k
Is this ok [y/d/N]: y
Downloading packages:
(1/2): readline-static-6.2-11.el7.i686.rpm | 114 kB 00:00:00
(2/2): readline-devel-6.2-11.el7.i686.rpm | 139 kB 00:00:01
----------------------------------------------------------------------------------------------------------------
Total 181 kB/s | 253 kB 00:00:01
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : readline-devel-6.2-11.el7.i686 1/2
Installing : readline-static-6.2-11.el7.i686 2/2
Verifying : readline-static-6.2-11.el7.i686 1/2
Verifying : readline-devel-6.2-11.el7.i686 2/2
Installed:
readline-devel.i686 0:6.2-11.el7 readline-static.i686 0:6.2-11.el7
Complete!
readline-devel 추가로 설치 해주면
=== configuring in lib/gdbmi (/root/svn/cgdb-0.6.6/lib/gdbmi)
configure: running /bin/sh ./configure --disable-option-checking '--prefix=/usr/local' --cache-file=/dev/null --srcdir=.
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
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 for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking for ranlib... ranlib
checking for flex... flex
checking lex output file root... lex.yy
checking lex library... none needed
checking whether yytext is a pointer... no
checking for bison... bison -y
checking how to run the C preprocessor... gcc -E
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ANSI C header files... yes
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 stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking whether gcc needs -traditional... no
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating config.h
config.status: executing depfiles commands
문제 없이 설치가 완료 된다.