[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

Installing the openssl exntsion for ruby

Muk Yan

1/15/2008 9:56:00 PM

Hi,

Ruby-newbie here. I've exhausted google and I've yet to find a solution
to this problem. I might be just reading the solutions wrong, but when
I try to install the openssl extension for ruby (in order to use the
Amazon Web Service AMI Tools) with the commands:

#cd <ruby source folder>/ext/openssl
#ruby extconf.rb

I get the following error messages:

=== OpenSSL for Ruby configurator ===
=== Checking for system dependent stuff... ===
checking for t_open() in -lnsl... no
checking for socket() in -lsocket... no
checking for assert.h... yes
=== Checking for required stuff... ===
checking for openssl/ssl.h... no
=== Checking for required stuff failed. ===
Makefile wasn't created. Fix the errors above.

I'm doing this on a Suse 10.2 Linux system with Ruby 1.8.6-p111 and
openssl 0.9.8g installed.

Any help would be greatly appreciated.
--
Posted via http://www.ruby-....

1 Answer

Ken Bloom

1/16/2008 8:22:00 PM

0

On Tue, 15 Jan 2008 16:55:57 -0500, Muk Yan wrote:

> Hi,
>
> Ruby-newbie here. I've exhausted google and I've yet to find a solution
> to this problem. I might be just reading the solutions wrong, but when
> I try to install the openssl extension for ruby (in order to use the
> Amazon Web Service AMI Tools) with the commands:
>
> #cd <ruby source folder>/ext/openssl
> #ruby extconf.rb
>
> I get the following error messages:
>
> === OpenSSL for Ruby configurator === === Checking for system dependent
> stuff... === checking for t_open() in -lnsl... no
> checking for socket() in -lsocket... no checking for assert.h... yes
> === Checking for required stuff... === checking for openssl/ssl.h... no
> === Checking for required stuff failed. === Makefile wasn't created. Fix
> the errors above.
>
> I'm doing this on a Suse 10.2 Linux system with Ruby 1.8.6-p111 and
> openssl 0.9.8g installed.
>
> Any help would be greatly appreciated.

You need to install the openssl-devel rpm which contains the header files
needed to build new software with openssl.

--Ken

--
Ken (Chanoch) Bloom. PhD candidate. Linguistic Cognition Laboratory.
Department of Computer Science. Illinois Institute of Technology.
http://www.iit.edu...