This is an old revision of the document!
Notes for building asterisk & app_rpt on Debian
Dependencies
Get Source
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/
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.