无法在 Mac Lion 上安装 FreeSWITCH with brew



Mac OSX 10.7.4

Xcode 4.5

自制软件 0.9.3

caojinhua:~ caojinhua$ brew install freeswitch
==> Cloning git://git.freeswitch.org/freeswitch.git
Updating /Library/Caches/Homebrew/freeswitch--git
==> Checking out tag v1.2.0
==> ./bootstrap.sh -j4
==> ./configure --enable-shared --enable-static --prefix=/usr/local/Cellar/freeswitch/1.2.0 --exec_prefix=/usr/local/Cellar
==> make
Creating mod_spandsp.la
brew: superenv removed: -O2
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Error: freeswitch did not build
Logs: /Users/caojinhua/Library/Logs/Homebrew/freeswitch/
Help: https://github.com/mxcl/homebrew/wiki/troubleshooting

我在 github gist 上有帖子详细日志:https://gist.github.com/3877904

我认为这与 http://fisheye.freeswitch.org/changelog/freeswitch.git/?cs=d5d107d 有关

将存储库的标记更新到版本 1.3.3 解决了此问题。 我手动编辑库/公式/自由开关.rb 以反映更改:

ayik@tabakan:/usr/local$ diff Library/Formula/freeswitch-orig.rb Library/Formula/freeswitch.rb 
5,6c5,6
<   url 'git://git.freeswitch.org/freeswitch.git', :tag => 'v1.2.0'
<   version '1.2.0'
---
>   url 'git://git.freeswitch.org/freeswitch.git', :tag => 'v1.3.3'
>   version '1.3.3'

也提交于 GitHub 自制问题 #16014

最新更新