1
저는 Ruby로 Agile Web Development에 설명 된 설정 과정을 진행하고 있으며 sqlite3 gem 설치에 어려움을 겪고 있습니다. 루비 버전 1.9.2 및 보석 버전 1.7.2은 OS X 10.5.8에 설치되어, 나는표범에 sqlite3 gem을 설치하는 데 문제가 발생했습니다.
sudo gem install sqlite3
를 실행할 때이 오류 메시지가 표시됩니다. 어떤 제안? 나는 사전에 도움을 주셔서 감사합니다.
Building native extensions. This could take a while...
ERROR: Error installing sqlite3:
ERROR: Failed to build gem native extension.
/usr/local/bin/ruby extconf.rb
checking for sqlite3.h... yes
checking for sqlite3_libversion_number() in -lsqlite3... yes
checking for rb_proc_arity()... yes
checking for sqlite3_initialize()... no
sqlite3-ruby only supports sqlite3 versions 3.6.16+, please upgrade!
*** 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=/usr/local/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
--with-sqlite3lib
--without-sqlite3lib
Gem files will remain installed in /usr/local/lib/ruby/gems/1.9.1/gems/sqlite3-1.3.3 for inspection.
Results logged to /usr/local/lib/ruby/gems/1.9.1/gems/sqlite3-1.3.3/ext/sqlite3/gem_make.out
가능한 중복 (HTTP [sqlite3를 보석이 설치되지 않습니다]를 설치하는 것입니다 : //stackoverflow.com/questions/5025680/sqlite3-gem-fails-to-install) – fl00r