[問題] 請問大家在安裝 sqlite3-ruby
剛剛試著安裝 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
推
11/17 07:20, , 1F
11/17 07:20, 1F
→
11/17 08:24, , 2F
11/17 08:24, 2F
推
11/17 08:57, , 3F
11/17 08:57, 3F
推
11/17 12:03, , 4F
11/17 12:03, 4F
推
11/17 12:10, , 5F
11/17 12:10, 5F
→
11/17 12:11, , 6F
11/17 12:11, 6F
→
12/30 14:27, , 7F
12/30 14:27, 7F
討論串 (同標題文章)
以下文章回應了本文:
完整討論串 (本文為第 1 之 2 篇):
Ruby 近期熱門文章
PTT數位生活區 即時熱門文章