Skip to content

Instantly share code, notes, and snippets.

@da8y01
Created June 27, 2018 20:16
Show Gist options
  • Save da8y01/73a51d33dc9b721a0c47883bdddb73f6 to your computer and use it in GitHub Desktop.
Save da8y01/73a51d33dc9b721a0c47883bdddb73f6 to your computer and use it in GitHub Desktop.
C:> gem install iconv -v '1.0.5' --source 'http://rubygems.org/'
Building native extensions. This could take a while...
ERROR: Error installing iconv:
ERROR: Failed to build gem native extension.
current directory: C:/RailsInstaller/Ruby2.3.0/lib/ruby/gems/2.3.0/gems/iconv-1.0.5/ext/iconv
C:/RailsInstaller/Ruby2.3.0/bin/ruby.exe -r ./siteconf20180627-17512-2e86tn.rb extconf.rb
checking for rb_enc_get() in ruby/encoding.h... yes
checking for rb_sys_fail_str() in ruby.h... yes
checking for iconv() in iconv.h... no
checking for iconv() in -liconv... no
*** 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=C:/RailsInstaller/Ruby2.3.0/bin/$(RUBY_BASE_NAME)
--with-iconv-dir
--without-iconv-dir
--with-iconv-include
--without-iconv-include=${iconv-dir}/include
--with-iconv-lib
--without-iconv-lib=${iconv-dir}/lib
--enable-config-charset
--disable-config-charset
--with-config-charset
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment