ruby1.8.7编译到openssl出错,请问为什么
ruby1.8.7编译到openssl出错,网上说要打个openssl补丁,才能编译成功。请问怎么打补丁 怎么才能编译成功 没试过这个。 ruby1.8.7编译到openssl出错,网上说要打个openssl补丁,才能编译成功。请问怎么打补丁 怎么才能编译成功我要思考 发表于 2011-05-19 23:19 http://bbs.chinaunix.net/images/common/back.gif
我也是用ruby-1.8.7,ubuntu。
apt-get insatll openssl和libssl-dev这些C库环境要有。
装了ruby后,再apt-get install libopenssl-ruby1.8安装libopenssl for ruby。 回复 3# zuerrong
祖儿可是好久没来咯? 我也是用ruby-1.8.7,ubuntu。
apt-get insatll openssl和libssl-dev这些C库环境要有。
装了ru ...
zuerrong 发表于 2011-05-30 11:43 http://bbs.chinaunix.net/images/common/back.gif
我在装1.9.2的时候也遇到了同样的问题,可是我的ubuntu是有openssl和libssl-dev的,这问题出在哪里了? 能给个错误提示吗?这样的话怎么知道您哪里出现错误啊 回复 6# gtuiw
提示如下:
ossl_ssl.c:110:1: error: ‘SSLv2_method’ undeclared here (not in a function)
ossl_ssl.c:111:1: error: ‘SSLv2_server_method’ undeclared here (not in a function)
ossl_ssl.c:112:1: error: ‘SSLv2_client_method’ undeclared here (not in a function)
make: *** 错误 1
make:正在离开目录 `/home/sciwmj/Downloads/ruby-1.9.2-p136/ext/openssl'
make: *** 错误 1
页:
[1]