作者fuha (mimi)
看板Ruby
标题[问题] 请问大家在安装 sqlite3-ruby
时间Fri Nov 17 01:32:38 2006
刚刚试着安装 sqlite3-ruby
使用gem......
结果~出现这样的错误~
Building native extensions. This could take a while...
*** 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/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
ERROR: While executing gem ... (RuntimeError)
ERROR: Failed to build gem native extension.
Gem files will remain installed in
/usr/lib/ruby/gems/1.8/gems/sqlite3-ruby-1.1.0 for inspection.
查了一下google搞不清楚解决的方法~ 请问各位有经验的人
我应该从哪里去解决这个问题呢~ 感谢~
--
▁▁
▕宁宁▏
▕肥肥▏
 ̄ ̄
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 218.162.79.47
1F:推 giive:作业系统? 11/17 07:20
2F:→ fuha:抱歉~补上 ...ubuntu6.06 11/17 08:24
3F:推 giive:apt-get install libdbd-sqlite3-ruby1.8 11/17 08:57
4F:推 fuha:情况还是一样呢? 还是有什麽其他建议?(装别的 sql ?) 11/17 12:03
5F:推 godfat:装 PostgreSQL XD 我只试过这个 11/17 12:10
6F:→ godfat:btw, 你有看 mkmf.log 吗? 11/17 12:11
7F:→ zusocfc:Try: apt-get install build-essential 12/30 14:27