Skip to content

Instantly share code, notes, and snippets.

@peyangu
Created July 23, 2017 14:21
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save peyangu/ce296db8faf8ed1c99952b921c315190 to your computer and use it in GitHub Desktop.
Save peyangu/ce296db8faf8ed1c99952b921c315190 to your computer and use it in GitHub Desktop.
マストドンバージョンアップ時に表示されたメッセージ
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
current directory: /home/mastodon/live/vendor/bundle/ruby/2.4.0/gems/charlock_holmes-0.7.3/ext/charlock_holmes
/home/mastodon/.rbenv/versions/2.4.1/bin/ruby -r ./siteconf20170723-4139-33ca7g.rb extconf.rb
checking for -licui18n... no
which: no brew in
(/home/mastodon/.rbenv/versions/2.4.1/bin:/home/mastodon/.rbenv/libexec:/home/mastodon/.rbenv/plugins/ruby-build/bin:/home/mastodon/.rbenv/shims:~/.rbenv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin)
checking for -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/mastodon/.rbenv/versions/2.4.1/bin/$(RUBY_BASE_NAME)
--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
To see why this extension failed to compile, please check the mkmf.log which can be found here:
/home/mastodon/live/vendor/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0-static/charlock_holmes-0.7.3/mkmf.log
extconf failed, exit code 1
Gem files will remain installed in /home/mastodon/live/vendor/bundle/ruby/2.4.0/gems/charlock_holmes-0.7.3 for inspection.
Results logged to /home/mastodon/live/vendor/bundle/ruby/2.4.0/extensions/x86_64-linux/2.4.0-static/charlock_holmes-0.7.3/gem_make.out
An error occurred while installing charlock_holmes (0.7.3), and Bundler cannot continue.
Make sure that `gem install charlock_holmes -v '0.7.3'` succeeds before bundling.
In Gemfile:
charlock_holmes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment