BBB上的Ruby 2.00编译错误

BBB上的Ruby 2.00编译错误,ruby,ssl,compilation,makefile,beagleboneblack,Ruby,Ssl,Compilation,Makefile,Beagleboneblack,我试图在BBB上编译ruby 2.00 我已经从下载了源代码包 接下来,我将其提取出来,并制作: 自动确认-正常 /配置-确定 犯错误 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: e

我试图在BBB上编译ruby 2.00

我已经从下载了源代码包

接下来,我将其提取出来,并制作:

自动确认-正常 /配置-确定 犯错误

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有关? 有什么建议吗


谢谢

Ok编译ruby 2.0.0需要openssl开发库