2017-01-17 94 views
1

Zookeeper 1.4.11存在問題。這是我的項目的依賴性,每次我嘗試捆綁我得到:Zookeeper 1.4.11不會安裝

Gem::Ext::BuildError: ERROR: Failed to build gem native extension. 
... 
_zookeeper_interest 
_zookeeper_process 
make[1]: *** [libzookeeper_st.la] Error 1 
make: *** [all] Error 2 
*** extconf.rb failed *** 
Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. 

當我去找mkmf.log,它不存在任何地方。有沒有人見過這個?

回答

1

問題是下面一行在我的〜/ .bash_profile中:

export GREP_OPTIONS='--color=always'

這是注入色彩在意想不到的地方字符。我發現這種方式是看着Zookeeper內部構建腳本生成的libtool,我發現了一些奇怪的顏色字符。