can not install ruby-1.8.7-p249 on rvm

橙三吉。 提交于 2019-12-01 08:34:40

Looks like the problem is:

ossl_pkcs7.c:573:1: error: unknown type name ‘STACK’ 

My guess is its a dependancy issue.

Look at the output of:

rvm notes

And ensure you have followed all the steps for Ubuntu.

One obvious thing is that Ubuntu 11.10 is only just out - might be worth searching/posting on the Ubuntu forums to see if anyone there has had any issues with it and rvm.

kgthegreat

From here : http://ahmy.yulrizka.com/2011/10/ruby-ree-1-8-7-openssl-error/

rvm pkg install openssl

And from one of the answers here: https://stackoverflow.com/a/8544958/178975

rvm install ruby-1.8.7 --with-openssl-dir=<rvm_dir>/usr

where rvm_dir could be $HOME/.rvm or /usr/local/rvm or wherever you have installed rvm

Be sure to install ruby with rvm and giving the open-ssl-dir explicitly like this:

rvm cleanup
rvm install ruby-1.8.7 --with-openssl-dir=$HOME/.rvm/usr
标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!