root/trunk/INSTALL.svn

Revision 1349, 2.1 kB (checked in by darix, 2 years ago)

- merged lighttpd-merge-1.4.x so we finally work in trunk/ ! yeah \o/

  • Property svn:eol-style set to native
Line 
1 ============
2 Installation from svn repo
3 ============
4
5 :author: mOo
6 :Date: $Date: $
7 :Revision: $Revision: $
8
9 Prerequirement
10 ------------
11 subversion (required, for svn co, svn up)
12 perl (optional, for check)
13 php (optional, for check)
14
15 Choose one of the build systems:
16 1. build with autotools
17 autotools (required for autogen.sh)
18
19 2. build with scons:
20 an text editor (for config.py)
21 scons v0.96.91.D001 or newer (required for scons build)
22
23 Check out the source
24 ------------
25 Review which source you want to checkout at:
26 http://trac.lighttpd.net/trac/browser
27 http://trac.lighttpd.net/trac/browser/tags
28
29 note the current lastest version is lighttpd-merge-1.4.x not trunk:
30 http://trac.lighttpd.net/trac/browser/branches/lighttpd-merge-1.4.x
31
32 and check it out by ::
33
34   svn co svn://svn.lighttpd.net/lighttpd/branches/lighttpd-merge-1.4.x
35
36
37 Build, Test and Install
38 ------------
39
40 with autoconf
41 ------------
42
43   $ cd lighttpd-1.x.x
44   $ ./autogen.sh
45 if you have problem with autogen.sh, check aclocal autoconf automake version
46
47 check configure options
48   $ ./configure --help
49   $ ./configure --prefix=/usr/local/lighttpd/ --enable-...
50   $ make clean
51   $ make check
52   $ src/lighttpd -Df your_test.conf
53   (Ctrl+C once or twice to terminate lighttpd)
54   $ su -
55   # make install
56   # exit
57
58 with scons
59 ------------
60 copy and modify config.py for your own needs with your favorite editor:
61   $ cp config.py-sample config.py
62   $ $EDITOR config.py
63
64 make sure your scons version is up to date, v0.96.91.D001 works. old version is known to have problem to build lighttpd.
65   $ scons --version
66   $ scons
67   $ scons check
68   $ src/lighttpd -Df your_test.conf
69   (Ctrl+C once or twice to terminate lighttpd)
70
71   $ su -
72   # scons install
73 as scons make some file owned by root now, you have to do:
74   # chown yourusername:yourgroup -R .
75   # exit
76
77
78 take look at the configfile in ./doc/lighttpd.conf,
79 make your own copy of that file before modify it for your needs.
80
81 Keep up to date with lastest svn repo
82 ------------
83 simply do:
84   $ svn up
85 and follow the instructions in "Build and Install".
86
87 Do not make a non-released version on production server, you have been warned.
Note: See TracBrowser for help on using the browser.