2012-10-12 108 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