Summary:ASTERISK-13504: Addons will not build on 1.6.1 rc-1 or 1.6.0 svn
Reporter:Bryant Zimmerman (zktech)Labels:
Date Opened:2009-02-03 06:48:58.000-0600Date Closed:2011-06-07 14:02:58
Versions:Frequency of
Environment:Attachments:( 0) ab1.txt
( 1) ab2.txt
( 2) ab3.txt
Description:I am having and issue with the g729 codec on Tech support wanted me to go to the 1.6.0 svn or the 1.6.1 rc-1. When I do and try to build the Addons 1.6.0 or the Addons I get errors. If I fall back to the version they build every time.  I am attaching console outputs from two attempts.
Comments:By: Joshua C. Colp (jcolp) 2009-02-09 14:50:20.000-0600

I've just tried numerous legit combinations to try to break things and failed. What are the versions of each thing that you are trying? Are you installing asterisk before building -addons?

By: Bryant Zimmerman (zktech) 2009-02-09 15:23:47.000-0600

I just re-did these steps.
asterisk 1.6.1 rc1
./configure [ok]
make menuselect [ok]
make [ok]
make install [ok]


Your Asterisk modules directory, located at /usr/lib/asterisk/modules  contains modules that were not installed by this version of Asterisk. Please ensure that these modules are compatible with this version before attempting to run Asterisk.

   ./configure [ok]
   make menuselect [ok]
   make [fails]  (see attachement ab3.txt)

This is the root of the issue. I don't know what is missing here but it fails every time on all the boxes I have tried to build them on but only when 1.6.1 rc or svn is present.

If I follow the same steps but with asterisk I get no errors.

By: Joshua C. Colp (jcolp) 2009-02-10 13:21:51.000-0600

This is because you have to use matching branches. For example for Asterisk 1.6.1 you need to use asterisk-addons 1.6.1, you can not use asterisk-addons 1.6.0 with it. You can get asterisk-addons 1.6.1 from subversion using:

svn co http://svn.digium.com/svn/asterisk-addons/branches/1.6.1 asterisk-addons

This will check it out into the asterisk-addons directory. I have confirmed it builds against Asterisk 1.6.1 happily.