Software / code / prosody
Comparison
INSTALL @ 5407:c9ff345a27e7
INSTALL: Update from wiki
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Sun, 31 Mar 2013 22:40:01 +0100 |
| parent | 4885:8df3e709f8b7 |
| child | 7359:a5a080c12c96 |
comparison
equal
deleted
inserted
replaced
| 5406:9903a03b7b3e | 5407:c9ff345a27e7 |
|---|---|
| 1 (This file was created from | 1 (This file was created from |
| 2 http://prosody.im/doc/installing_from_source on 2012-05-12) | 2 http://prosody.im/doc/installing_from_source on 2013-03-31) |
| 3 | 3 |
| 4 ===== Building ===== | 4 ====== Installing from source ====== |
| 5 ==== Dependencies ==== | 5 ==== Dependencies ==== |
| 6 There are a couple of libraries which Prosody needs installed before | 6 There are a couple of libraries which Prosody needs installed before |
| 7 you can build it. These are: | 7 you can build it. These are: |
| 8 | 8 |
| 9 * lua5.1: The interpreter | 9 * lua5.1: The Lua 5.1 interpreter |
| 10 * liblua5.1: Lua 5.1 library | 10 * liblua5.1: Lua 5.1 library |
| 11 * libssl 0.9.8: OpenSSL | 11 * libssl 0.9.8: OpenSSL |
| 12 * libidn11: GNU libidn library, version 1.1 | 12 * libidn11: GNU libidn library, version 1.1 |
| 13 | 13 |
| 14 These can be installed on Debian/Ubuntu with the packages: | 14 These can be installed on Debian/Ubuntu with the packages: lua5.1 |
| 15 lua5.1 liblua5.1-dev libidn11-dev libssl-dev | 15 liblua5.1-dev libidn11-dev libssl-dev |
| 16 | 16 |
| 17 On Mandriva try: urpmi lua liblua-devel libidn-devel libopenssl-devel | 17 On Mandriva try: urpmi lua liblua-devel libidn-devel libopenssl-devel |
| 18 | 18 |
| 19 On other systems... good luck, but please let me know of the best way | 19 On other systems... good luck, but please let me know of the best way |
| 20 of getting the dependencies for your system and I can add it here. | 20 of getting the dependencies for your system and I can add it here. |
| 31 To make this a little easier, there are a few presets which configure | 31 To make this a little easier, there are a few presets which configure |
| 32 accepts. You can load a preset using: | 32 accepts. You can load a preset using: |
| 33 | 33 |
| 34 ./configure --ostype=PRESET | 34 ./configure --ostype=PRESET |
| 35 | 35 |
| 36 Where PRESET can currently be one of: debian, macosx or freebsd | 36 Where PRESET can currently be one of: 'debian', 'macosx' or (in 0.8 |
| 37 and later) 'freebsd' | |
| 37 | 38 |
| 38 ==== make ==== | 39 ==== make ==== |
| 39 Once you have run configure successfully, then you can simply run: | 40 Once you have run configure successfully, then you can simply run: |
| 40 | 41 |
| 41 make | 42 make |