Kielhaven
Build app_rpt
Attribution
- Thanks to:
- Doug Crompton WA3DSP
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
start [2014/04/21 09:45] 207.32.170.34 created |
start [2014/05/01 10:21] (current) gunn [Notes for building asterisk & app_rpt on Debian] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Notes for building asterisk & app_rpt on Debian ====== | ====== Notes for building asterisk & app_rpt on Debian ====== | ||
+ | * [[build_notes:forum | Forum notes]] | ||
+ | ===== Dependencies ===== | ||
+ | * Get the kernel header files for your current kernel - uname -r - they must match | ||
+ | * This is necessary to compile asterisk and dahdi | ||
+ | <file> | ||
+ | libslang2-dev:amd64 <none> 2.2.4-15 | ||
+ | libnewt-dev:amd64 <none> 0.52.14-11.1 | ||
+ | libsqlite3-dev:amd64 <none> 3.7.13-1+deb7u1 | ||
+ | libxml2-dev:amd64 <none> 2.8.0+dfsg1-7+nmu2 | ||
+ | uuid-dev:amd64 <none> 2.20.1-5.3 | ||
+ | libjansson4:amd64 <none> 2.3.1-2 | ||
+ | libjansson-dev:amd64 <none> 2.3.1-2 | ||
+ | </file> | ||
+ | ===== Get Source ===== | ||
+ | * Pick up the Acid SVN and Dahdi patches. | ||
+ | <code bash> | ||
+ | cd /usr/src | ||
+ | svn co http://svn.ohnosec.org/svn/projects/allstar/astsrc-1.4.23-pre/trunk/ | ||
+ | </code> | ||
+ | |||
+ | * FIXME this creates a //trunk// directory. | ||
+ | * I think I only needed to check out trunk/asterisk & trunk/fixed-dahdi-patches | ||
+ | |||
+ | * Source code can be browsed [[http://svn.ohnosec.org/svn/projects/allstar/astsrc-1.4.23-pre/trunk/ | here]] | ||
+ | |||
+ | http://svn.ohnosec.org/svn/projects/allstar/astsrc-1.4.23-pre/trunk/fixed-dahdi-patches/ | ||
+ | http://svn.ohnosec.org/svn/projects/allstar/astsrc-1.4.23-pre/trunk/ | ||
+ | |||
+ | * Get Dahdi source (currently 2.9.1.1) from asterisk.org | ||
+ | |||
+ | http://www.asterisk.org/downloads/dahdi | ||
+ | |||
+ | * Create a ///usr/src/asterisk// and untar the acid svn there. | ||
+ | * create ///usr/src/utils/dahdi// and untar dahdi there. | ||
+ | * Also untar the dahdi patches and apply them. Readme shows how. | ||
+ | |||
+ | * Compile and install Dahdi - make all, make install, make configure | ||
+ | |||
+ | * You need to have dahdi up and running before you compile asterisk. | ||
+ | |||
+ | * Compile asterisk | ||
+ | |||
+ | <code bash> | ||
+ | ./configure | ||
+ | make | ||
+ | sudo make install | ||
+ | </code> | ||
+ | |||
+ | * copy the other files from a running asterisk allstar system | ||
+ | * /etc/asterisk config files, | ||
+ | * rc.updatenodelist. | ||
+ | |||
+ | * There are many more in between steps and failure points that need to be reconciled. | ||
+ | * In particular there will be errors in compiles because of missing dependencies especially with the asterisk compile. | ||
+ | * You need to load the dependency and then run ./configure again, then make. | ||
+ | * After you do the ./configure you can do a make menuselect and see what items are not loading (XXX) because of dependency failures | ||
+ | * When you cursor to it it shows the requiements at the bottom of the screen. | ||
+ | * These are not always exactly the name you need to install but they are close. |