sqlite3-ruby 설치 중에 다음 오류가 발생합니다.
기본 확장 작성 시간이 좀 걸릴 수 있습니다 ...
오류 : sqlite3-ruby 설치 오류 :
오류 : gem 기본 확장을 빌드하지 못했습니다.
/usr/bin/ruby1.8 extconf.rb
sqlite3.h 확인 중 ... 아니오
sqlite3.h가 누락되었습니다. 'port install sqlite3 + universal'또는 'yum install sqlite3-devel'을 시도하십시오
*** extconf.rb 실패 ***
어떤 이유로 인해 Makefile을 만들 수 없습니다.
필요한 라이브러리 및 / 또는 헤더. 자세한 내용은 mkmf.log 파일을 확인하십시오.
세부. 구성 옵션이 필요할 수 있습니다.
제공되는 구성 옵션 :
--with-opt-dir
--with-opt-dir없이
--with-opt-include
--without-opt-include = $ {opt-dir} / include
--with-opt-lib
--without-opt-lib = $ {opt-dir} / lib
--with-make-prog
-제작 프로그램없이
--srcdir =.
--curdir
--ruby = / usr / bin / ruby1.8
--with-sqlite3-dir
--without-sqlite3-dir
--with-sqlite3-include
--without-sqlite3-include = $ {sqlite3-dir} / include
--with-sqlite3-lib
--without-sqlite3-lib = $ {sqlite3-dir} / lib
Gem 파일은 검사를 위해 /usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.3.1에 설치된 상태로 유지됩니다.
/usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.3.1/ext/sqlite3/gem_make.out에 기록 된 결과
sqlite3.h는 / usr / include /에 있습니다.
sudo gem 설치 sqlite3-ruby --without-sqlite3-include = / usr / include
작동하지 않습니다
오류 : gem을 실행하는 중 ... (OptionParser :: InvalidOption)
유효하지 않은 옵션 : --without-sqlite3-include = / usr / include
우분투 10.04
sqlite3않았습니다sqlite3-ruby