2013-10-08 21 views
0

我試圖在BBB上編譯ruby 2.00。從http://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p247.tar.gzBBB上的Ruby 2.00編譯錯誤

下一個我已經提取出來的,我做了

我已經下載源PKG:

的autoconf -OK 的./configure -OK 使-errors

ossl_ssl.c:116:1: error: 'TLSv1_2_method' undeclared here (not in a function) 
ossl_ssl.c:117:1: error: 'TLSv1_2_server_method' undeclared here (not in a function) 
ossl_ssl.c:118:1: error: 'TLSv1_2_client_method' undeclared here (not in a function) 
ossl_ssl.c:122:1: error: 'TLSv1_1_method' undeclared here (not in a function) 
ossl_ssl.c:123:1: error: 'TLSv1_1_server_method' undeclared here (not in a function) 
ossl_ssl.c:124:1: error: 'TLSv1_1_client_method' undeclared here (not in a function) 
make[2]: *** [ossl_ssl.o] Error 1 
make[2]: Leaving directory `/tmp/ruby-2.0.0-p247/ext/openssl' 
make[1]: *** [ext/openssl/all] Error 2 
make[1]: Leaving directory `/tmp/ruby-2.0.0-p247' 
make: *** [build-ext] Error 2 

問題,似乎與TLS或SSL有關? 有什麼建議嗎?

感謝

回答

1

好Ruby編譯2.0.0要求的OpenSSL庫開發