brianmario / charlock_holmes

Character encoding detection, brought to you by ICU
MIT License
1.03k stars 140 forks source link

Install error on Windows 10 64x [ruby 2.3.1p112] [x64-mingw32] #142

Open neakni opened 5 years ago

neakni commented 5 years ago

*** 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=D:/Ruby23-x64/bin/$(RUBY_BASE_NAME) --with-icu-dir --with-icu-include --without-icu-include=${icu-dir}/include --with-icu-lib --without-icu-lib=${icu-dir}/lib --with-icui18nlib --with-icui18nlib

To see why this extension failed to compile, please check the mkmf.log which can be found here:

D:/Ruby23-x64/lib/ruby/gems/2.3.0/extensions/x64-mingw32/2.3.0/charlock_holmes-0.7.6/mkmf.log

extconf failed, exit code 1

Gem files will remain installed in D:/Ruby23-x64/lib/ruby/gems/2.3.0/gems/charlock_holmes-0.7.6 for inspection. Results logged to D:/Ruby23-x64/lib/ruby/gems/2.3.0/extensions/x64-mingw32/2.3.0/charlock_holmes-0.7.6/gem_make.out

An error occurred while installing charlock_holmes (0.7.6), and Bundler cannot continue. Make sure that gem install charlock_holmes -v '0.7.6' succeeds before bundling.