标签:
yum install libtermcap-devel ncurses-devel libevent-devel readline-devel gcc gcc-c++ pcre pcre-devel openssl openssl-devel
wget http://www.lua.org/ftp/lua-5.3.0.tar.gz tar zxf lua-5.3.0.tar.gz cd lua-5.3.0 make linux sudo make INSTALL_TOP=/opt/lua53 install
make TARGET=linux2632 USE_OPENSSL=1 USE_PCRE=1 USE_LUA=1 LUA_LIB=/opt/lua53/lib/ LUA_INC=/opt/lua53/include/ make install PREFIX=/usr/local/haproxy
标签:
原文地址:http://www.cnblogs.com/shiyiwen/p/5345508.html