申し訳ありませんが誰か助けてください。お願いです何でも(略
環境とか
・Ubuntu 14.04 LTS(64bit)
2014年8月28日
インストール
1 | $ rbenv install 2.1.2 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | Downloading ruby-2.1.2. tar .gz... -> http: //dqw8nmjcqpjn7 .cloudfront.net /f22a6447811a81f3c808d1c2a5ce3b5f5f0955c68c9a749182feb425589e6635 Installing ruby-2.1.2... BUILD FAILED Inspect or clean up the working tree at /tmp/ruby-build .20140828165201.15386 Results logged to /tmp/ruby-build .20140828165201.15386.log Last 10 log lines: make [2]: *** [../../../.ext /x86_64-linux/digest/md5 .so] エラー 1 make [2]: ディレクトリ ` /tmp/ruby-build .20140828165201.15386 /ruby-2 .1.2 /ext/digest/md5 ' から出ます make [1]: *** [ext /digest/md5/all ] エラー 2 make [1]: *** 未完了のジョブを待っています.... compiling date_core.c installing default date_core libraries linking shared-object date_core.so make [2]: ディレクトリ ` /tmp/ruby-build .20140828165201.15386 /ruby-2 .1.2 /ext/date ' から出ます make [1]: ディレクトリ ` /tmp/ruby-build .20140828165201.15386 /ruby-2 .1.2' から出ます make : *** [build-ext] エラー 2 |
Ubuntu に rbenv で Ruby 1.8.6 系をインストールしようとしたらハマった
↓
1 | $ MAKEOPTS= "" rbenv install 2.1.2 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | Downloading ruby-2.1.2. tar .gz... -> http: //dqw8nmjcqpjn7 .cloudfront.net /f22a6447811a81f3c808d1c2a5ce3b5f5f0955c68c9a749182feb425589e6635 Installing ruby-2.1.2... BUILD FAILED Inspect or clean up the working tree at /tmp/ruby-build .20140828170451.25108 Results logged to /tmp/ruby-build .20140828170451.25108.log Last 10 log lines: compiling md5ossl.c linking shared-object digest /md5 .so /usr/bin/ld : /usr/local/lib/libcrypto .a(md5_dgst.o): 再配置 R_X86_64_PC32 (未定義 シンボル `memcpy@@GLIBC_2.14' に対する) は共有オブジェクト作成時には使用出来ません。 -fPIC を付けて再コンパイルしてください。 /usr/bin/ld : 最終リンクに失敗しました: 不正な値です collect2: error: ld returned 1 exit status make [2]: *** [../../../.ext /x86_64-linux/digest/md5 .so] エラー 1 make [2]: ディレクトリ ` /tmp/ruby-build .20140828170451.25108 /ruby-2 .1.2 /ext/digest/md5 ' から出ます make [1]: *** [ext /digest/md5/all ] エラー 2 make [1]: ディレクトリ ` /tmp/ruby-build .20140828170451.25108 /ruby-2 .1.2' から出ます make : *** [build-ext] エラー 2 |
なんかrbenvで BUILD FAILED するマン用のパッチがあるそうです↓
rbenv fails to install 2.1.0 on ubuntu 14.04
↓
1 | $ curl -fsSL https: //gist .github.com /mislav/a18b9d7f0dc5b9efc162 .txt | rbenv install --patch 2.1.2 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | Downloading ruby-2.1.2. tar .gz... -> http: //dqw8nmjcqpjn7 .cloudfront.net /f22a6447811a81f3c808d1c2a5ce3b5f5f0955c68c9a749182feb425589e6635 Installing ruby-2.1.2... patching file ext /readline/readline .c Hunk #1 FAILED at 1974. 1 out of 1 hunk FAILED -- saving rejects to file ext /readline/readline .c.rej patching file ext /readline/extconf .rb Hunk #1 succeeded at 23 with fuzz 1 (offset 4 lines). Hunk #2 FAILED at 98. 1 out of 2 hunks FAILED -- saving rejects to file ext /readline/extconf .rb.rej patching file ext /readline/extconf .rb Hunk #1 FAILED at 99. 1 out of 1 hunk FAILED -- saving rejects to file ext /readline/extconf .rb.rej BUILD FAILED Inspect or clean up the working tree at /tmp/ruby-build .20140828181055.1044 Results logged to /tmp/ruby-build .20140828181055.1044.log Last 10 log lines: ruby-2.1.2 /insns_info .inc ruby-2.1.2 /vm .inc ruby-2.1.2 /thread .c ruby-2.1.2 /regcomp .c ruby-2.1.2 /encdb .h ruby-2.1.2 /GPL ruby-2.1.2 /vmtc .inc ruby-2.1.2 /probes_helper .h ruby-2.1.2 /ruby_atomic .h /tmp/ruby-build .20140828181055.1044 /ruby-2 .1.2 /tmp/ruby-build .20140828181055.1044 ~ |
エラーのバリエーションだけが増えていく…
もうダメだ… 何かわかったら更新します。
0 件のコメント:
コメントを投稿