forked from bg111/asterisk-chan-dongle
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathINSTALL
More file actions
37 lines (31 loc) · 975 Bytes
/
INSTALL
File metadata and controls
37 lines (31 loc) · 975 Bytes
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
1) For build and install from git sources
1.1) Goto package source directory
1.2) Prerequisites
apt install autoconf automake asterisk-dev
1.3) Generate configure script
autoconf
1.4) Generate config.h.in template
autoheader
continue with step 2.3)
2) For build and install from package
2.1) Unpack sources
tar xzvf package.tgz
2.2) Goto package source directory
2.3) Configure package
simple
./configure
explicite set install directory for module
DESTDIR="/usr/lib/asterisk/modules" ./configure
turn off some parts
./configure --disable-manager --disable-apps
explicite set path to asterisk headers
./configure --with-asterisk=/usr/src/asterisk-1.6.2.13/include
or
CFLAGS="-I /usr/src/asterisk-1.6.2.13/include" ./configure
enable debugging
./configure --enable-debug
2.4) Build package
make
2.5) Install package
make install
More documentation on http://wiki.e1550.mobi/