我試圖安裝Gitlab後,但運行到一個問題,其中charlock_holmes gem無法安裝。我不熟悉Ruby。下面是我的charlock_holmes-0.6.8 gem_make.out
文件。安裝charlock_holmes libicu時發生錯誤
/home/gitlabuser/.rvm/rubies/ruby-1.9.2-p290/bin/ruby extconf.rb
checking for main() in -licui18n... no
which: no brew in (/home/gitlabuser/.rvm/gems/ruby-1.9.2-p290/bin:/home/gitlabuser/.rvm/gems/[email protected]/bin:/home/gitlabuser/.rvm/rubies/ruby-1.9.2-p290/bin:/home/gitlabuser/.rvm/gems/ruby-1.9.2-p290/bin:/home/gitlabuser/.rvm/gems/[email protected]/bin:/home/gitlabuser/.rvm/rubies/ruby-1.9.2-p290/bin:/home/gitlabuser/.rvm/bin:/usr/lib64/qt-3.3/bin:/usr/local/bin:/bin:/usr/bin:/usr/local/sbin:/usr/sbin:/sbin:/home/gitlabuser/bin:/usr/lib64/qt4/bin/)
checking for main() in -licui18n... no
***************************************************************************************
*********** icu required (brew install icu4c or apt-get install libicu-dev) ***********
***************************************************************************************
*** 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.
Provided configuration options:
--with-opt-dir
--without-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/home/gitlabuser/.rvm/rubies/ruby-1.9.2-p290/bin/ruby
--with-icu-dir
--without-icu-dir
--with-icu-include
--without-icu-include=${icu-dir}/include
--with-icu-lib
--without-icu-lib=${icu-dir}/lib
--with-icui18nlib
--without-icui18nlib
--with-icui18nlib
--without-icui18nlib
我已經安裝了libicu.x86_64包(也試過libicu.i686,當我遇到了問題,但卸載它之後它沒有工作)。
看樣子libicu包不包括由charlock_holmes寶石所需的文件,但目前還沒有任何devel的封裝。有什麼建議麼?
我創建了一個個人帳戶,並在登錄後點擊了您提供的鏈接,並得到一個'我們很抱歉,但找不到該包。'消息,但我在http:// pkgs .org/centos-6-rhel-6/centos-rhel-x86_64/libicu-devel-4.2.1-9.1.el6_2.x86_64.rpm/download/ –
我有同樣的問題,但是centos6軟件包沒有修復它... – rich