1

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

4

1 回答 1

2

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

将 repo 的标签更新到版本 1.3.3 解决了这个问题。我手动编辑 Library/Formula/freeswitch.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 homebrew issue #16014上提交

于 2012-11-13T08:37:31.407 回答