[asterisk-dev] Development :: Staying busy, please have patience

Jason Parker jparker at digium.com
Fri Nov 10 12:19:48 MST 2006


----- Gregory Boehnlein <damin at nacs.net> wrote:
> > Everyone....
> > 
> > # cd /usr/src
> > # svn checkout 
> > http://svn.digium.com/svn/asterisk/branches/1.4 asterisk # 
> > svn checkout http://svn.digium.com/svn/zaptel/branches/1.4 
> > zaptel # svn checkout 
> > http://svn.digium.com/svn/libpri/branches/1.4 libpri
> > 
> > # cd zaptel
> > # make clean
> > # make install
> > # cd ../libpri
> > # make clean
> > # make install
> > # cd ../asterisk
> > # make clean
> > # make install
> 
> Here is what I use:
> 
> 1. Create the following script in /usr/local/bin as
> "checkout-asterisk"
> 
> #!/bin/sh
> cd /usr/src
> svn co http://svn.digium.com/svn/asterisk/branches/1.4 asterisk
> svn co http://svn.digium.com/svn/zaptel/branches/1.4 zaptel
> svn co http://svn.digium.com/svn/libpri/branches/1.2 libpri
> svn co http://svn.digium.com/svn/asterisk-sounds/branches/1.0
> asterisk-sounds
> svn co http://svn.digium.com/svn/asterisk-addons/branches/1.4
> asterisk-addons
> 
> 2. Before you automate the building of this code, make sure you
> configure
> things correctly:
>  cd /usr/src/zaptel
>  ./configure
>  make menuselect
> 
>  cd /usr/src/asterisk
>  ./configure
>  make menuselect
>  	Since we are debugging, enable Compiler Flags -> DEBUG_THREADS and
> DONT_OPTIMIZE
>       (and if you want, the other debug options. Your not running this
> in
> production, right? So the more debugging info   	the better!)
> 
>  cd /usr/src/asterisk-addons
>  ./configure
>  make menuselect
> 
> 3. Now that you have configured everything, you can build stuff:
>  cd /usr/src/libpri
>  make install
> 
>  cd /usr/src/zaptel
>  make install
>  make config
> 
>  cd /usr/src/asterisk
>  make
>  make install
>  make samples (DO NOT DO THIS ON A RUNNING SYSTEM - IT USED TO
> OVERWRITE
> CONFIG FILES!!!! IT MAY STILL DO IT!)
>  make config
> 
>  cd /usr/src/asterisk-sounds
>  make install
> 
>  cd /usr/src/asterisk-addons
>  make install 
> 
> 3. Create the following script as "update-asterisk" to automate
> updating /
> rebuilding to checkout new versions:
> 
>  #/bin/bash
>  cd /usr/src/libpri
>  make update && make install
>  cd /usr/src/zaptel
>  make update && make install 
>  cd /usr/src/asterisk
>  make update && make install 
>  
> This is what I use. :)
> 

There is no more asterisk-sounds package in 1.4.  And I think you forgot to change libpri to 1.4 (assuming libpri has a 1.4 branch).

-- 
Jason Parker
Digium



More information about the asterisk-dev mailing list