- 论坛徽章:
- 0
|
window平台,安装这个gem出现问题,谷歌了很多方法都解决不了。
安装这个gem出现问题,已安装sqlite3.
C:\Ruby192>gem install sqlite3-1.3.4.gem --local
Temporarily enhancing PATH to include DevKit...
Building native extensions. This could take a while...
ERROR: Error installing sqlite3-1.3.4.gem:
ERROR: Failed to build gem native extension.
C:/Ruby192/bin/ruby.exe extconf.rb
checking for sqlite3.h... no
sqlite3.h is missing. Install SQLite3 from http://www.sqlite.org/ first.
*** 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:/Ruby192/bin/ruby
--with-sqlite3-dir
--without-sqlite3-dir
--with-sqlite3-include
--without-sqlite3-include=${sqlite3-dir}/include
--with-sqlite3-lib
--without-sqlite3-lib=${sqlite3-dir}/lib
--enable-local
--disable-local
Gem files will remain installed in C:/Ruby192/lib/ruby/gems/1.9.1/gems/sqlite3-1
.3.4 for inspection.
Results logged to C:/Ruby192/lib/ruby/gems/1.9.1/gems/sqlite3-1.3.4/ext/sqlite3/
gem_make.out |
|