Created
October 24, 2011 01:41
-
-
Save wesleyzhao/1308191 to your computer and use it in GitHub Desktop.
console rvm error
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
wesley@wesley-T5020:~$ rvm install 1.9.2 | |
Installing Ruby from source to: /usr/share/ruby-rvm/rubies/ruby-1.9.2-p180, this may take a while depending on your cpu(s)... | |
ruby-1.9.2-p180 - #fetching | |
ruby-1.9.2-p180 - #extracted to /usr/share/ruby-rvm/src/ruby-1.9.2-p180 (already extracted) | |
ruby-1.9.2-p180 - #configuring | |
ruby-1.9.2-p180 - #compiling | |
ERROR: Error running 'make ', please read /usr/share/ruby-rvm/log/ruby-1.9.2-p180/make.log | |
ERROR: There has been an error while running make. Halting the installation. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
... | |
... | |
make[1]: Leaving directory `/var/cache/ruby-rvm/src/ruby-1.9.2-p180/ext/mathn/r\ | |
ational' | |
compiling nkf | |
make[1]: Entering directory `/var/cache/ruby-rvm/src/ruby-1.9.2-p180/ext/nkf' | |
make[1]: Nothing to be done for `all'. | |
make[1]: Leaving directory `/var/cache/ruby-rvm/src/ruby-1.9.2-p180/ext/nkf' | |
compiling objspace | |
make[1]: Entering directory `/var/cache/ruby-rvm/src/ruby-1.9.2-p180/ext/objspa\ | |
ce' | |
make[1]: Nothing to be done for `all'. | |
make[1]: Leaving directory `/var/cache/ruby-rvm/src/ruby-1.9.2-p180/ext/objspac\ | |
e' | |
compiling openssl | |
make[1]: Entering directory `/var/cache/ruby-rvm/src/ruby-1.9.2-p180/ext/openss\ | |
l' | |
gcc -I. -I../../.ext/include/i686-linux -I../.././include -I../.././ext/openssl\ | |
-DRUBY_EXTCONF_H=\"extconf.h\" -D_FILE_OFFSET_BITS=64 -fPIC -O3 -ggdb -Wextr\ | |
a -Wno-unused-parameter -Wno-parentheses -Wpointer-arith -Wwrite-strings -Wno-m\ | |
issing-field-initializers -Wno-long-long -fPIC -o ossl_ssl.o -c ossl_ssl.c | |
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 functi\ | |
on) | |
ossl_ssl.c:112:1: error: ‘SSLv2_client_method’ undeclared here (not in a functi\ | |
on) | |
make[1]: *** [ossl_ssl.o] Error 1 | |
make[1]: Leaving directory `/var/cache/ruby-rvm/src/ruby-1.9.2-p180/ext/openssl\ | |
' | |
make: *** [mkmain.sh] Error 1 |
will try that, thanks!
On Wed, Jan 4, 2012 at 4:13 AM, blackhat06 < ***@***.*** > wrote:
okay thanks , i solved above issue you need to install first ruby with
rvm version and fix this patch simple
---
Reply to this email directly or view it on GitHub:
https://gist.github.com/1308191
##
Wesley J Zhao
*
*
_Cell (425) 502 1843_
_weszhao@wharton.upenn.edu_
_The Wharton School - Class of 2014_
_Finance & Entrepreneurship, Computer Science Mino_r
Blog http://wesleyzhao.com/ | Twitter http://twitter.com/wesleyzhao |
LinkedIn http://www.linkedin.com/in/wesleyzhao |
Githubhttp://github.com/wesleyzhao
first install all this
sudo apt-get install curl bison build-essential autoconf zlib1g-dev
libssl-dev libxml2-dev libreadline6-dev git-core subversion
then
# rvm package install openssl
#rvm package install readline
#rvm install 1.9.2 -C --with-openssl-dir=$HOME/.rvm/usr,--with-readline-dir=$HOME/.rvm/usr
then finally you will with your ruby yeah enjoy keep learning
or check my blog i also paste there whole , just visit there link is below this have installation for 1.9.2 and 1.8.7 both
http://learnhackstuff.blogspot.com/2011/10/setting-up-your-first-rails-project-on.html
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
okay thanks , i solved above issue you need to install first ruby with rvm version and fix this patch simple