gem install sqlite3-rubyãå®è¡ãããmkmfãããã¾ãããã¼ã£ã¦è¨ãããã
/usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.2.1/ext/sqlite3_api/extconf.rbã®ä¸è¡ç®ã§requireãã¦ãã'mkmf'ããªãã¨ããã¾ãã¾ã®ã¨ã©ã¼ã
mkmfã¯Rubyã§Makefileããããã®ã©ã¤ãã©ãªã§ãæ¡å¼µã©ã¤ãã©ãªãä½æããã¨ãã«extconf.rbã§requireããã¨ããã®ã¯æ
£ä¾ã¿ããã
http://www.ruby-lang.org/ja/man/html/mkmf.html
ã§ããªãã§ãããªå¤§äºãªã©ã¤ãã©ãªãå
¥ã£ã¦ãªãã®ã¼ã£ã¨èª¿ã¹ã¦ã¿ãããruby-devã¨ããããã±ã¼ã¸ãã¤ã³ã¹ãã¼ã«ããªãããããªãã¿ããã
http://blogs.law.harvard.edu/hoanga/2006/10/27/fixing-mkmf-load-error-ruby-in-ubuntu/
ã¨ãããã aptitude install ruby1.8-devãã¦è§£æ±ºã
ã¨æã£ããmake: *** `sqlite3_api_wrap.o' ã«å¿ è¦ãªã¿ã¼ã²ãã'ruby.h'ãmakeããã«ã¼ã«ãããã¾ãããã¨ããããã ã
çµå±http://d.hatena.ne.jp/roadmanprog/20071113/1194974452ã®æ¹æ³ã§ãã¾ããã£ãã