2012-10-12 74 views
1

的Mac OSX 10.7.4zhcon失败与酿造

的Xcode 4.5

自制软件在Mac狮子安装FreeSWITCH的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要点后详细记录:https://gist.github.com/3877904

回答

2

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

updat回购标签到版本1.3.3解决了这个问题。我手动编辑库/公式/ freeswitch.rb以反映更改:

[email protected]:/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