This is an old revision of the document!


Notes for building asterisk & app_rpt on Debian

Dependencies

  • Get the kernel header files for your current kernel - uname -r - they must match
    • This is necessary to compile asterisk and dahdi

Get Source

  • Pick up the Acid SVN and Dahdi patches.
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 - 2.9.1.1 currently
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.
start.1398100899.txt.gz · Last modified: 2014/04/21 10:21 by gunn
CC Attribution-Share Alike 3.0 Unported
www.chimeric.de Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0