看板 Ruby 關於我們 聯絡資訊
: *** 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. 我剛剛去看了一下~這個檔案 mkmf.log 他內容如下 have_header: checking for sqlite3.h... -------------------- no "gcc -E -I. -I/usr/lib/ruby/1.8/i486-linux -I/usr/local/include -Wall -g -O2 -fPIC conftest.c -o conftest.i" conftest.c:1:21: error: sqlite3.h: No such file or directory checked program was: /* begin */ #include <sqlite3.h> /* end */ -------------------- 是說我沒裝 sqlite3 嗎? 可是我已經用 apt-get install sqlite3 裝好了~ 該不會是我還有什麼沒裝吧!??????? -- ▁▁ ▕寧寧▏ ▕肥肥▏  ̄ ̄ -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.120.90.189
godfat:隨便猜的,要裝 sdk, src, dev 之類的,你裝的只有 bin而已 11/17 12:47
fuha:真的是這樣.....~感謝大家~ 我根據關鍵字搜尋找到下列網址 11/17 13:27
fuha:ubuntu20060529-install_sqlite3 11/17 13:28
fuha:下載 apt-get install libsqlite3-dev 就ok了~ 11/17 13:29