Skip to content

Instantly share code, notes, and snippets.

@sh4869
Created August 2, 2014 15:00
Show Gist options
  • Save sh4869/392a2a63d576e9e4cd62 to your computer and use it in GitHub Desktop.
Save sh4869/392a2a63d576e9e4cd62 to your computer and use it in GitHub Desktop.
ruby-build error message
linking shared-object racc/cparse.so
make[2]: ディレクトリ `/tmp/ruby-build.20140802233653.31888/ruby-2.0.0-p0/ext/racc/cparse' から出ます
make[2]: ディレクトリ `/tmp/ruby-build.20140802233653.31888/ruby-2.0.0-p0/ext/readline' に入ります
compiling readline.c
linking shared-object openssl.so
readline.c: In function ‘Init_readline’:
readline.c:1886:26: error: ‘Function’ undeclared (first use in this function)
rl_pre_input_hook = (Function *)readline_pre_input_hook;
^
readline.c:1886:26: note: each undeclared identifier is reported only once for each function it appears in
readline.c:1886:36: error: expected expression before ‘)’ token
rl_pre_input_hook = (Function *)readline_pre_input_hook;
^
readline.c: At top level:
readline.c:530:1: warning: ‘readline_pre_input_hook’ defined but not used [-Wunused-function]
readline_pre_input_hook(void)
^
make[2]: *** [readline.o] エラー 1
make[2]: ディレクトリ `/tmp/ruby-build.20140802233653.31888/ruby-2.0.0-p0/ext/readline' から出ます
make[1]: *** [ext/readline/all] エラー 2
make[1]: *** 未完了のジョブを待っています....
installing default openssl libraries
make[2]: ディレクトリ `/tmp/ruby-build.20140802233653.31888/ruby-2.0.0-p0/ext/openssl' から出ます
make[1]: ディレクトリ `/tmp/ruby-build.20140802233653.31888/ruby-2.0.0-p0' から出ます
BUILD FAILED
make: *** [build-ext] エラー 2
Inspect or clean up the working tree at /tmp/ruby-build.20140802233653.31888
Results logged to /tmp/ruby-build.20140802233653.31888.log
Last 10 log lines:
readline_pre_input_hook(void)
^
make[2]: *** [readline.o] エラー 1
make[2]: ディレクトリ `/tmp/ruby-build.20140802233653.31888/ruby-2.0.0-p0/ext/readline' から出ます
make[1]: *** [ext/readline/all] エラー 2
make[1]: *** 未完了のジョブを待っています....
installing default openssl libraries
make[2]: ディレクトリ `/tmp/ruby-build.20140802233653.31888/ruby-2.0.0-p0/ext/openssl' から出ます
make[1]: ディレクトリ `/tmp/ruby-build.20140802233653.31888/ruby-2.0.0-p0' から出ます
make: *** [build-ext] エラー 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment