0

我正在尝试在 BBB 上编译 ruby​​ 2.00。

我已经从http://cache.ruby-lang.org/pub/ruby/2.0/ruby-2.0.0-p247.tar.gz下载了源 pkg

接下来我提取它,我做了:

autoconf -OK ./configure -OK make -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 有关?有什么建议吗?

谢谢

4

1 回答 1

1

Ok 编译 ruby​​ 2.0.0 需要 openssl-dev 库

于 2013-10-08T13:35:06.990 回答