我试图在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有关? 有什么建议吗?
由于
答案 0 :(得分:1)
好的编译ruby 2.0.0需要openssl-dev库