readline.h: No such file or directory

时间 : 14-08-10 栏目 : linux运维 作者 : 老薛 评论 : 0 点击 : 1,526 次

安装varnish ,make时,报错如下红色标注部分:

make[3]: Leaving directory `/home/xuekun/soft/varnish-4.0.0/lib/libvmod_directors'
make[3]: Entering directory `/home/xuekun/soft/varnish-4.0.0/lib'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/home/xuekun/soft/varnish-4.0.0/lib'
make[2]: Leaving directory `/home/xuekun/soft/varnish-4.0.0/lib'
Making all in bin
make[2]: Entering directory `/home/xuekun/soft/varnish-4.0.0/bin'
Making all in varnishadm
make[3]: Entering directory `/home/xuekun/soft/varnish-4.0.0/bin/varnishadm'
CC     varnishadm-varnishadm.o
varnishadm.c:45:33: error: editline/readline.h: No such file or directory

#解决
yum install install -y libedit*

重新

./configure --prefix=/application/varnish-4.0.0 \
--enable-dependency-tracking \
--enable-debugging-symbols \
--enable-developer-warnings

然后

make

本文标签 ,

除非注明,文章均为( 老薛 )原创,转载请保留链接: http://www.bdkyr.com/xtyw002/206.html

readline.h: No such file or directory:等您坐沙发呢!

发表评论

2 + 5 = ?


博主微信号,很高兴为您提供帮助

随便看看

为您推荐

0