summaryrefslogtreecommitdiffstats
path: root/INSTALL
blob: d3686d60b489f953c8577a0e2bc26eb8ed06d1b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
To build this package, you will need the autoconf/automake tools.

BUILDING FROM SVN SOURCES
--------------------------
aclocal && autoheader && automake -a && autoconf 


BUILDING HASERL (without lua)
-----------------------------
./configure
make
make install

You might need to be root to do the 'make install'.


BUILDING WITH EMBEDDED LUA VM
-----------------------------
If lua 5.1.x dev libraries are already installed, then

./configure --with-lua
make
make install

If lua 5.2.x dev libraries are already installed, then
./configure --with-lua=lua5.2
make
make install

If you don't have the lua dev libraries, or you have 
a different version then:

tar zxvf lua-5.x.x.tar.gz
cd lua-5.x.x
make generic | make posix | make linux | ...
mkdir /tmp/lua
cp src/* /tmp/lua
cd <haserl path>
./configure --with-lua=/tmp/lua --with-lua-headers=/tmp/lua
make