2017-01-17 62 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,我发现了一些奇怪的颜色字符。