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


  • 相关阅读:
    poj_1836 动态规划
    动态规划——最长上升子序列
    poj_3260 动态规划
    poj_3628 动态规划
    动态规划——背包问题
    poj_2559 单调栈
    poj_3415 后缀数组+单调栈
    poj_2823 线段树
    poj_2823 单调队列
    poj_3250 单调栈
  • 原文地址:https://www.cnblogs.com/vastiny/p/3675436.html
Copyright © 2011-2022 走看看