zoukankan      html  css  js  c++  java
  • varnish 4.0编译安装小记

    varnish 4.0 编译问题

    centos-6.5 x86环境


    装varnish遇到几个错误
    要先安装python-docutils
    然后提示error1,于是安装:libedit-devel
    然后提示error2,安装readline,readline-devel,readline-static
    发现rl_callback_handler_remove还是undefined,直接重新make clean,configure一遍,然后再make的时候就正常通过了~~~

    error1:libedit-dev 未安装

    error2:

    varnishadm-varnishadm.o: In function `cli_write':
    /home/yantze/soft/varnish-4.0.0-beta1/bin/varnishadm/varnishadm.c:81: undefined reference to `rl_callback_handler_remove'
    varnishadm-varnishadm.o: In function `interactive':
    /home/yantze/soft/varnish-4.0.0-beta1/bin/varnishadm/varnishadm.c:240: undefined reference to `rl_already_prompted'
    /home/yantze/soft/varnish-4.0.0-beta1/bin/varnishadm/varnishadm.c:241: undefined reference to `rl_callback_handler_install'
    /home/yantze/soft/varnish-4.0.0-beta1/bin/varnishadm/varnishadm.c:242: undefined reference to `rl_attempted_completion_function'
    /home/yantze/soft/varnish-4.0.0-beta1/bin/varnishadm/varnishadm.c:307: undefined reference to `rl_callback_read_char'
    /home/yantze/soft/varnish-4.0.0-beta1/bin/varnishadm/varnishadm.c:304: undefined reference to `rl_forced_update_display'
    /home/yantze/soft/varnish-4.0.0-beta1/bin/varnishadm/varnishadm.c:293: undefined reference to `rl_callback_handler_remove'
    /home/yantze/soft/varnish-4.0.0-beta1/bin/varnishadm/varnishadm.c:290: undefined reference to `rl_callback_handler_remove'
    varnishadm-varnishadm.o: In function `send_line':
    /home/yantze/soft/varnish-4.0.0-beta1/bin/varnishadm/varnishadm.c:188: undefined reference to `rl_callback_handler_remove'
    varnishadm-varnishadm.o: In function `pass':
    /home/yantze/soft/varnish-4.0.0-beta1/bin/varnishadm/varnishadm.c:343: undefined reference to `rl_callback_handler_remove'
    /home/yantze/soft/varnish-4.0.0-beta1/bin/varnishadm/varnishadm.c:361: undefined reference to `rl_callback_handler_remove'
    varnishadm-varnishadm.o: In function `varnishadm_completion':
    /home/yantze/soft/varnish-4.0.0-beta1/bin/varnishadm/varnishadm.c:223: undefined reference to `rl_completion_matches'
    varnishadm-varnishadm.o: In function `send_line':
    /home/yantze/soft/varnish-4.0.0-beta1/bin/varnishadm/varnishadm.c:186: undefined reference to `add_history'
    collect2: ld returned 1 exit status
    make[3]: *** [varnishadm] Error 1
    make[2]: *** [all-recursive] Error 1
    make[1]: *** [all-recursive] Error 1
    make: *** [all] Error 2


  • 相关阅读:
    laravel报错1071 Specified key was too long; max key length is 1000 bytes
    【laravel】Eloquent 模型事件和监听方式
    angular使用forRoot() 注册单一实例服务
    js判断电脑是windows系统还是mac系统
    扁平数据根据`parentId`生成树结构
    页面滚动到指定元素区域
    js简洁模式代码
    简单git使用命令
    图片懒加载 echo.js
    页面图片预加载与懒加载
  • 原文地址:https://www.cnblogs.com/vastiny/p/3675436.html
Copyright © 2011-2022 走看看