Installing OpenSSL on Ubuntu Development for Rails?

I am running the latest version of RVM on Ubuntu 10.10 and I have been able to get most of the development environment except OpenSSL.

When I try to install the package, I get the following error:

$ rvm package install openssl > error
ERROR: Error running 'tar zxf /home/ruby/.rvm/archives/openssl-0.9.8n.tar.gz -C    
/home/ruby/.rvm/src', please read /home/ruby/.rvm/log/openssl/extract.log
ERROR: Error running './config  -I/home/ruby/.rvm/usr/include -L/home/ruby/.rvm
/usr/lib     
--prefix=/home/ruby/.rvm/usr zlib no-asm no-krb5 shared  ', please read /home/ruby
/.rvm/log/openssl/configure.log
ERROR: Error running '/usr/bin/make ', please read /home/ruby/.rvm/log/openssl/make.log
ERROR: Error running '/usr/bin/make install', please read /home/ruby/.rvm/log/openssl   
/make.install.log

It seems that the original downloaded file is damaged when I receive it through RVM. So, I downloaded and unpacked it on ~/.rvm/src/openssl0.9.8, and the first error disappeared (the error works tar zxf), but I still get the others.

Edit: my Ruby version, if anyone cares, is:

$ ruby -v
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-linux]
+5
source share
2 answers

rvm requirements RVM? "apt-get".

  /usr/bin/apt-get install build-essential bison openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-0 libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev

openssl libssl-dev, . RVM Ruby Ubuntu RVM .

+11

​​libssl Ubuntu?

sudo apt-get install libssl0.9.8

:

sudo apt-get install libssl-dev
+4

All Articles