Re: Webrick ''require_frameworks'' message

Frederick Cheung
Fri, 28 Dec 2007 21:36:37 -0000

On 28 Dec 2007, at 21:19, Michael Henderson wrote:

>
> Frederick Cheung wrote:
>> On 28 Dec 2007, at 16:13, Ken Welborn wrote:
>>
>> Do you have openssl installed (and openssl development headers so
>> that
>> ruby can build its openssl extensions) ?
>>
>
> I''m having the same problem one one of my servers but not all of
> them. I
> don''t see what the difference is. But on my development box,
Webrick
> fails to start with the openssl exception. On the test box, it runs
> fine. So, can you be specific about what files/libraries I can look
> for
> to verify that openssl is installed with the development headers?

That rather depends on what operating system you''re on, but on my
machine I have a /usr/include/openssl/
>
>
> I followed the instructions at rubyonrails.org/down. There was no
> mention there that openssl is an external requirement - I thought that
> it came with ruby-1.8.6. I downloaded and compiled ruby-1.8.6 with
> "./configure --prefix=/home/mdhender". Checking the config logs,
> there''s
> nothing about openssl. No warnings, no errors, no complaints. I just
> don''t see what configure is looking for.
>
It is part of ruby 1.8.6. It''s not vital to ruby, so if it
can''t do it
it just skips it.
To build it you cd to ruby_source/ext/openssl and run extconf.rb (and
then make; make install)
It should complain at this point if the openssl headers can''t be found

Fred

> Mike
>
> --
> Posted via http://www.ruby-forum.com/.
>
> >