質問編集履歴
1
質問後の試行内容を追加した
test
CHANGED
File without changes
|
test
CHANGED
@@ -117,3 +117,121 @@
|
|
117
117
|
[サーバのSSL CA(認証局)証明書が古くてcurl がエラーになる件](http://hogem.hatenablog.com/entry/20120705/1340284071)
|
118
118
|
|
119
119
|
[yum clean コマンドでキャッシュ削除・アップデートのチェックと実行 〜 CentOS6](http://easyramble.com/yum-clean-and-update.html)
|
120
|
+
|
121
|
+
|
122
|
+
|
123
|
+
###質問投降後、試したこと
|
124
|
+
|
125
|
+
なぜかCentOS上の時間が過去になっていたので、修正しました。
|
126
|
+
|
127
|
+
vagrantfile内に
|
128
|
+
|
129
|
+
```
|
130
|
+
|
131
|
+
config.vm.provider :virtualbox do |vb|
|
132
|
+
|
133
|
+
vb.customize ["setextradata", :id, "VBoxInternal/Devices/VMMDev/0/Config/GetHostTimeDisabled", 0]
|
134
|
+
|
135
|
+
end
|
136
|
+
|
137
|
+
```
|
138
|
+
|
139
|
+
を記述しました。
|
140
|
+
|
141
|
+
参考)[vagrantで時刻がおかしい場合の対処法](http://polidog.jp/2014/01/08/vagrant/)
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
その後、別のエラーメッセージが表示されました。
|
146
|
+
|
147
|
+
```bash
|
148
|
+
|
149
|
+
$ rbenv install 1.9.3-p194
|
150
|
+
|
151
|
+
Downloading yaml-0.1.6.tar.gz...
|
152
|
+
|
153
|
+
-> https://dqw8nmjcqpjn7.cloudfront.net/7da6971b4bd08a986dd2a61353bc422362bd0edcc67d7ebaac68c95f74182749
|
154
|
+
|
155
|
+
Installing yaml-0.1.6...
|
156
|
+
|
157
|
+
Installed yaml-0.1.6 to /home/vagrant/.rbenv/versions/1.9.3-p194
|
158
|
+
|
159
|
+
|
160
|
+
|
161
|
+
Downloading ruby-1.9.3-p194.tar.bz2...
|
162
|
+
|
163
|
+
-> https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.bz2
|
164
|
+
|
165
|
+
Installing ruby-1.9.3-p194...
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
BUILD FAILED (CentOS release 6.7 (Final) using ruby-build 20160130-6-g9e57fb0)
|
170
|
+
|
171
|
+
|
172
|
+
|
173
|
+
Inspect or clean up the working tree at /tmp/ruby-build.20160226194420.31997
|
174
|
+
|
175
|
+
Results logged to /tmp/ruby-build.20160226194420.31997.log
|
176
|
+
|
177
|
+
|
178
|
+
|
179
|
+
Last 10 log lines:
|
180
|
+
|
181
|
+
ossl_pkey_ec.c:761: 警告: implicit declaration of function ‘EC_GF2m_simple_method’
|
182
|
+
|
183
|
+
ossl_pkey_ec.c:761: 警告: assignment makes pointer from integer without a cast
|
184
|
+
|
185
|
+
ossl_pkey_ec.c:816: error: ‘EC_GROUP_new_curve_GF2m’ undeclared (first use in this function)
|
186
|
+
|
187
|
+
ossl_pkey_ec.c:816: error: (Each undeclared identifier is reported only once
|
188
|
+
|
189
|
+
ossl_pkey_ec.c:816: error: for each function it appears in.)
|
190
|
+
|
191
|
+
make[2]: *** [ossl_pkey_ec.o] エラー 1
|
192
|
+
|
193
|
+
make[2]: ディレクトリ `/tmp/ruby-build.20160226194420.31997/ruby-1.9.3-p194/ext/openssl' から出ます
|
194
|
+
|
195
|
+
make[1]: *** [ext/openssl/all] エラー 2
|
196
|
+
|
197
|
+
make[1]: ディレクトリ `/tmp/ruby-build.20160226194420.31997/ruby-1.9.3-p194' から出ます
|
198
|
+
|
199
|
+
make: *** [build-ext] エラー 2
|
200
|
+
|
201
|
+
```
|
202
|
+
|
203
|
+
|
204
|
+
|
205
|
+
[rbenv を利用した ruby のインストール中にエラーとなる場合の対応](http://qiita.com/kakipo/items/482b32b0c2ec0f9d113c)を参考に、
|
206
|
+
|
207
|
+
```bash
|
208
|
+
|
209
|
+
curl -fsSL "https://github.com/ruby/ruby/commit/0d58bb55985e787364b0235e5e69278d0f0ad4b0.patch"
|
210
|
+
|
211
|
+
```
|
212
|
+
|
213
|
+
を実行後再びインストールをしようとしたところ、
|
214
|
+
|
215
|
+
```bash
|
216
|
+
|
217
|
+
Downloading yaml-0.1.6.tar.gz...
|
218
|
+
|
219
|
+
-> https://dqw8nmjcqpjn7.cloudfront.net/7da6971b4bd08a986dd2a61353bc422362bd0edcc67d7ebaac68c95f74182749
|
220
|
+
|
221
|
+
Installing yaml-0.1.6...
|
222
|
+
|
223
|
+
Installed yaml-0.1.6 to /home/vagrant/.rbenv/versions/1.9.3-p194
|
224
|
+
|
225
|
+
|
226
|
+
|
227
|
+
Downloading ruby-1.9.3-p194.tar.bz2...
|
228
|
+
|
229
|
+
-> https://cache.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.bz2
|
230
|
+
|
231
|
+
Installing ruby-1.9.3-p194...
|
232
|
+
|
233
|
+
```
|
234
|
+
|
235
|
+
この状態で止まってしまっています。
|
236
|
+
|
237
|
+
このまま待ち続けたほうが良いのか、それとも別の解決法があるのか、ご存知の方がいらっしゃったら教えていただけると幸いです。
|