-
-
Save wesleyzhao/1308191 to your computer and use it in GitHub Desktop.
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. |
... | |
... | |
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 |
Hey i would learn dajngo , would you like to help !! this issue is solved by me
you solved the issue above? would love to help with django in any way i can!
okay thanks , i solved above issue you need to install first ruby with rvm version and fix this patch simple
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
Same error with me , on ubuntu 64 bit !! have any solution plz remind me