mirror of
http://git.haproxy.org/git/haproxy.git/
synced 2025-02-17 02:56:51 +00:00
DOC: contrib: spoa_server Add some hints for building spoa_server
This commit is contained in:
parent
037b3ebd35
commit
a71447539d
@ -8,12 +8,25 @@ callback write variables which are sent as response when the processing
|
|||||||
is done.
|
is done.
|
||||||
|
|
||||||
|
|
||||||
|
Prerequirement
|
||||||
|
----------------
|
||||||
|
|
||||||
|
You have to install the development packages, either from the
|
||||||
|
distribution repositories or from the source.
|
||||||
|
|
||||||
|
CentOS/RHEL: yum install python-devel
|
||||||
|
|
||||||
|
The current python version in use is 2.7.
|
||||||
|
|
||||||
|
|
||||||
Compilation
|
Compilation
|
||||||
---------------
|
---------------
|
||||||
|
|
||||||
Actually, the server support Lua and Python. Type "make" with the options:
|
Actually, the server support Lua and Python. Type "make" with the options:
|
||||||
USE_LUA=1 and/or USE_PYTHON=1.
|
USE_LUA=1 and/or USE_PYTHON=1.
|
||||||
|
|
||||||
|
You can add LUA_INC=.. LUA_LIB=.. to the make command to set the paths to
|
||||||
|
the lua header files and lua libraries.
|
||||||
|
|
||||||
Start the service
|
Start the service
|
||||||
---------------------
|
---------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user