Software /
code /
prosody
Comparison
INSTALL @ 4885:8df3e709f8b7
INSTALL: Update with changes from wiki.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 17 May 2012 21:04:31 +0200 |
parent | 1192:b1b42ce4f0f6 |
child | 5407:c9ff345a27e7 |
comparison
equal
deleted
inserted
replaced
4884:b8d852aea3ad | 4885:8df3e709f8b7 |
---|---|
1 (This file was created from | 1 (This file was created from |
2 http://prosody.im/doc/installing_from_source on 2009-05-22) | 2 http://prosody.im/doc/installing_from_source on 2012-05-12) |
3 | 3 |
4 ===== Building ===== | 4 ===== Building ===== |
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 * liblua5.1: Lua 5.1 library | 10 * liblua5.1: Lua 5.1 library |
10 * libssl 0.9.8: OpenSSL | 11 * libssl 0.9.8: OpenSSL |
11 * libidn11: GNU libidn library, version 1.1 | 12 * libidn11: GNU libidn library, version 1.1 |
12 | 13 |
13 Both of these can be installed on Debian/Ubuntu with the packages: | 14 These can be installed on Debian/Ubuntu with the packages: |
14 liblua5.1-dev libidn11-dev libssl-dev | 15 lua5.1 liblua5.1-dev libidn11-dev libssl-dev |
16 | |
17 On Mandriva try: urpmi lua liblua-devel libidn-devel libopenssl-devel | |
15 | 18 |
16 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 |
17 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. |
18 | 21 |
19 ==== configure ==== | 22 ==== configure ==== |
28 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 |
29 accepts. You can load a preset using: | 32 accepts. You can load a preset using: |
30 | 33 |
31 ./configure --ostype=PRESET | 34 ./configure --ostype=PRESET |
32 | 35 |
33 Where PRESET can currently be one of: debian, macosx | 36 Where PRESET can currently be one of: debian, macosx or freebsd |
34 | 37 |
35 ==== make ==== | 38 ==== make ==== |
36 Once you have run configure successfully, then you can simply run: | 39 Once you have run configure successfully, then you can simply run: |
37 | 40 |
38 make | 41 make |