作者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