sábado, 21 de noviembre de 2009

Compile Ruby 1.8.7-p174, on fedora 12

There is just one issue when compiling ruby on Fedora 12, and it has to do with openssl, ruby 1.8.7-p174 works fine with openssl 0.98 but not with openssl 1.0, so you need to find openssl 0.98  from  http://www.openssl.org/source/openssl-0.9.8l.tar.gz and compile it
tar xvzf openssl-0.9.8l.tar.gz
cd openssl-0.9.8l
./config
ls
make
make check
make install


Then  configure your ruby like
./configure --with-openssl=/usr/local/include/openssl --with-openssl-dir=/usr/local/ssl

now

make
make test
if everithing is ok, then
make install

Good luck.

No hay comentarios:

Publicar un comentario en la entrada