ruby - Can't install charlock holmes gem, libicu-devel installed -


i trying install charlock holmes, nevertheless, keep getting error:

[root@hugovm gitlab]# gem install charlock_holmes --version '0.6.9.4' building native extensions.  take while... error:  error installing charlock_holmes:     error: failed build gem native extension.      /usr/bin/ruby extconf.rb checking main() in -licui18n... yes checking main() in -licui18n... yes checking unicode/ucnv.h... yes   -- tar zxvf file-5.08.tar.gz   -- ./configure --prefix=/usr/local/share/gems/gems/charlock_holmes-0.6.9.4/ext/charlock_holmes/dst/ --disable-shared --enable-static --with-pic   -- patch -p0 < ../file-soft-check.patch *** extconf.rb failed *** not create makefile due reason, lack of necessary libraries and/or headers.  check mkmf.log file more details.  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}/lib64     --with-make-prog     --without-make-prog     --srcdir=.     --curdir     --ruby=/usr/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}/     --with-icui18nlib     --without-icui18nlib     --with-icui18nlib     --without-icui18nlib extconf.rb:7:in `sys': patch -p0 < ../file-soft-check.patch failed, please report issue on http://github.com/brianmario/charlock_holmes (runtimeerror)     extconf.rb:61:in `block (2 levels) in <main>'     extconf.rb:59:in `chdir'     extconf.rb:59:in `block in <main>'     extconf.rb:55:in `chdir'     extconf.rb:55:in `<main>'   gem files remain installed in /usr/local/share/gems/gems/charlock_holmes-0.6.9.4 inspection. results logged /usr/local/share/gems/gems/charlock_holmes-0.6.9.4/ext/charlock_holmes/gem_make.out 

i installed libicu-devel.

thanks

i had exact same issue today. tried install gitlab on clean fedora machine. me, line in /usr/local/share/gems/gems/charlock_holmes-0.6.9.4/ext/charlock_holmes/gem_make.out pointed mkmf.log, in same directory above log file.

there said "patch: command not found"

sudo yum install patch


Comments

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -