Centos 6.5 下安装 quagga-0.99.22 时遇到如下提示
./configure –prefix=/usr/local/zebra –enable-vtysh –enable-user=root –enable-group=root –enable-vty-group=root
checking build system type… x86_64-unknown-linux-gnu
checking host system type… x86_64-unknown-linux-gnu
checking target system type… x86_64-unknown-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 for tputs in -ltermcap… yes
checking for main in -lreadline… no
configure: error: vtysh needs libreadline but was not found and usable on your system.
解决方法:
yum install -y readline-devel