have_header: checking for sqlite.h... -------------------- no
"clang -E -I/usr/local/Cellar/ruby/2.4.2_1/include/ruby-2.4.0/x86_64-darwin16 -I/usr/local/Cellar/ruby/2.4.2_1/include/ruby-2.4.0/ruby/backward -I/usr/local/Cellar/ruby/2.4.2_1/include/ruby-2.4.0 -I. -I/usr/local -I/usr/local/opt/libyaml/include -I/usr/local/opt/openssl/include -I/usr/local/opt/readline/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT -O3 -fno-fast-math -ggdb3 -Wall -Wextra -Wno-unused-parameter -Wno-parentheses -Wno-long-long -Wno-missing-field-initializers -Wno-tautological-compare -Wno-parentheses-equality -Wno-constant-logical-operand -Wno-self-assign -Wunused-variable -Wimplicit-int -Wpointer-arith -Wwrite-strings -Wdeclaration-after-statement -Wshorten-64-to-32 -Wimplicit-function-declaration -Wdivision-by-zero -Wdeprecated-declarations -Wextra-tokens -fno-common -pipe conftest.c -o conftest.i"
conftest.c:3:10: fatal error: 'sqlite.h' file not found
#include <sqlite.h>
^~~~~~~~~~
1 error generated.
checked program was:
/* begin /
1: #include "ruby.h"
2:
3: #include <sqlite.h>
/ end */
ruby-sqliteをインストールしようとしたら、extconf.rbに原因がありました。
シェルに書いているように、mkmf.logを開いてみるとこのように書いていました。
何かがインストールされていないというのはわかるのですが、何をインストールすればいいのかわかりません。
教えてください!
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2017/12/24 09:31