作者fuha (mimi)
看板Ruby
标题Re: [问题] 请问大家在安装 sqlite3-ruby
时间Fri Nov 17 12:17:49 2006
: *** 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
1F:推 godfat:随便猜的,要装 sdk, src, dev 之类的,你装的只有 bin而已 11/17 12:47
2F:→ fuha:真的是这样.....~感谢大家~ 我根据关键字搜寻找到下列网址 11/17 13:27
4F:→ fuha:ubuntu20060529-install_sqlite3 11/17 13:28
5F:→ fuha:下载 apt-get install libsqlite3-dev 就ok了~ 11/17 13:29