[Asterisk-Users] Asterisk 1.0.7 Compile on Mac OS X Tiger 10.4.1

Michael Stearne mstearne at gmail.com
Wed Jun 15 20:53:53 MST 2005


On 6/15/05, Darren Ellis <darren at ieworks.net> wrote:
> Hi,
> 
> If there's anyone out there who has successfully compiled * 1.0.7 on
> 10.4.1, could you contact me off-list?  I've tried the astmasters
> mailing list, but it continually rejects my messages.
> 
In order to get the CVS-HEAD to compile I had to update the bison and
flex versions on OS X.

1. Install DarwinPorts (http://darwinports.org/)
2. su to root
3. /opt/local/bin/port install bison
4. /opt/local/bin/port install flex
5. /opt/local/bin/port install mpg123 (not required to compile but
good for running * )
6. /opt/local/bin/port install lame (not required to compile but good
for running * )
7. /opt/local/bin/port install sox  (not required to compile but good
for running * )
8. ln -s /opt/local/bin/bison /usr/bin/bison
9. ln -s /opt/local/bin/flex /usr/bin/flex
10. ln -s /opt/local/bin/mpg123 /usr/bin/mpg123
11. ln -s /opt/local/bin/lame /usr/bin/lame
12. ln -s /opt/local/bin/sox /usr/bin/sox
13. mkdir /usr/src
14. cd /usr/src/
15. cvs login		- the password is anoncvs
16. cvs checkout asterisk asterisk-addons
17. cd asterisk
18. ./configure
19. make
20. make install

Making the addons current doesn't work because of some issues
(http://bugs.digium.com/view.php?id=4426) but I can get the mysql and
the format_mp3 stuff to compile if you need it.

Michael



More information about the asterisk-users mailing list