Forum: Ruby Compiling Ruby 2.0, problem with OpenSSL

Posted by Piotr P. (skullcrusher)
on 2013-03-07 23:26
Attachment: screen.jpg (248 KB)
Trying to compile Ruby 2.0 from source, having problem with it, getting
an error regarding OpenSSL, installed the newest version also from
source. What can I do? Please see attached image. Not using RVM or BREW,
this is a server machine, don't need many versions of ruby / rails
running.
Posted by "Martin Boßlet" <martin.bosslet@gmail.com> (Guest)
on 2013-03-07 23:56
(Received via mailing list)
Could you please file that as a bug on bugs.ruby-lang.org and assign it 
to
me (Martin Bolet)? Thanks!

In the meantime, it should work if you choose to install OpenSSL 1.0.1c.
There's conflicting declarations in 1.0.1e for methods that didn't exist
yet in previous versions.

-Martin


2013/3/7 Piotr P. <lists@ruby-forum.com>
Posted by Piotr P. (skullcrusher)
on 2013-03-08 08:58
"Martin Boßlet" <martin.bosslet@gmail.com> wrote in post #1100624:
> Could you please file that as a bug on bugs.ruby-lang.org and assign it
> to
> me (Martin Bolet)? Thanks!
>
> In the meantime, it should work if you choose to install OpenSSL 1.0.1c.
> There's conflicting declarations in 1.0.1e for methods that didn't exist
> yet in previous versions.
>
> -Martin
>
>
> 2013/3/7 Piotr P. <lists@ruby-forum.com>

That did not help. See attached image.
Posted by Piotr P. (skullcrusher)
on 2013-03-08 12:04
"Martin Boßlet" <martin.bosslet@gmail.com> wrote in post #1100624:
> Could you please file that as a bug on bugs.ruby-lang.org and assign it
> to
> me (Martin Bolet)? Thanks!
>
> In the meantime, it should work if you choose to install OpenSSL 1.0.1c.
> There's conflicting declarations in 1.0.1e for methods that didn't exist
> yet in previous versions.
>
> -Martin
>
>
> 2013/3/7 Piotr P. <lists@ruby-forum.com>

Or maybe I am compiling it wrong?

./configure --prefix=/usr/ darwin64-x86_64-cc
make
sudo make install
Posted by Dr. Hegewald (Guest)
on 2013-03-08 14:00
(Received via mailing list)
Hi there,

On 07.03.2013, at 23:55, Martin Bolet <martin.bosslet@gmail.com> wrote:

> In the meantime, it should work if you choose to install OpenSSL 1.0.1c. There's 
conflicting declarations in 1.0.1e for methods that didn't exist yet in previous 
versions.

I compiled openssl 1.0.1e and ruby 2.0 on my machine and did not notice 
any errors. See the "Mac OS 10.8.2 and openssl" thread.

Cheers,
-- Jan
Posted by Piotr P. (skullcrusher)
on 2013-03-08 17:42
Managed to solve the problem with compiling openssl like this:

sudo ./configure --prefix=/usr/local/ darwin64-x86_64-cc

and not this:

sudo ./configure --with-openssl-dir=/usr/

Also my /etc/paths now look like this:

/usr/local/bin
/usr/local/bin
/usr/bin
/bin
/usr/sbin
/sbin

Compiled Ruby 2.0 with this:

sudo ./configure --with-openssl-dir=/usr/local/
Posted by "Martin Boßlet" <martin.bosslet@gmail.com> (Guest)
on 2013-03-08 17:56
(Received via mailing list)
I wanted to mention that, that using --with-openssl-dir could be 
important.
I'm still struggling to reproduce your error, though. I thought it would 
be
about 1.0.1e, but as Dr. Hegewald and I independently confirmed, it's 
not.
Really strange, I wonder what has caused this conflict...

Is it OK if I close the issue on Redmine then?

-Martin


2013/3/8 Piotr P. <lists@ruby-forum.com>
Posted by Piotr P. (skullcrusher)
on 2013-03-11 13:46
"Martin Boßlet" <martin.bosslet@gmail.com> wrote in post #1100727:
> I wanted to mention that, that using --with-openssl-dir could be
> important.
> I'm still struggling to reproduce your error, though. I thought it would
> be
> about 1.0.1e, but as Dr. Hegewald and I independently confirmed, it's
> not.
> Really strange, I wonder what has caused this conflict...
>
> Is it OK if I close the issue on Redmine then?
>
> -Martin
>
>
> 2013/3/8 Piotr P. <lists@ruby-forum.com>

Yes, go ahead.
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.