From: shibata.hiroshi@gmail.com
To: ruby-core@ruby-lang.org
Subject: [ruby-core:65042] [ruby-trunk - Bug #10235] [Rejected] make fails to configure OpenSSL on OS X 10.9.4 (Mavericks)
Date: Mon, 15 Sep 2014 00:45:45 +0000 [thread overview]
Message-ID: <redmine.journal-48911.20140915004544.6af60e9a6f3cb259@ruby-lang.org> (raw)
In-Reply-To: redmine.issue-10235.20140913140849@ruby-lang.org
Issue #10235 has been updated by Hiroshi SHIBATA.
Status changed from Open to Rejected
----------------------------------------
Bug #10235: make fails to configure OpenSSL on OS X 10.9.4 (Mavericks)
https://bugs.ruby-lang.org/issues/10235#change-48911
* Author: opt1c -
* Status: Rejected
* Priority: Normal
* Assignee:
* Category:
* Target version:
* ruby -v: 2.1.2, 2.1.0
* Backport: 2.0.0: UNKNOWN, 2.1: UNKNOWN
----------------------------------------
"Failed to configure openssl. It will not be installed."
OPENSSL
-------
$ which openssl
/usr/local/ssl/bin/openssl
$ openssl version
OpenSSL 1.0.1i 6 Aug 2014
As recommended by: https://www.ruby-lang.org/en/news/2014/04/10/severe-openssl-vulnerability/
When installed, OpenSSL was configured with: ./Configure darwin64-x86_64-cc. It works fine.
RUBY
----
I've tried both:
./configure --prefix=/Users/me/.rbenv/versions/2.1.2 --with-openssl-dir=/usr/local/ssl
./configure --prefix=/Users/me/.rbenv/versions/2.1.2 --with-openssl-dir=/usr/local/ssl --with-gcc=clang --enable-shared --enable-pthread CFLAGS=-D_XOPEN_SOURCE=1
(As well as attempts including "--with-opt-dir=/usr/local/ssl" which I believe was required of an older Ruby.)
ruby-2.1.2/ext/openssl:$ ruby extconf.rb
checking for t_open() in -lnsl... no
checking for socket() in -lsocket... no
checking for assert.h... yes
checking for openssl/ssl.h... yes
checking for OpenSSL_add_all_digests() in -lcrypto... no
checking for OpenSSL_add_all_digests() in -llibeay32... no
So errors include:
conftest.c:13:57: error: use of undeclared identifier 't_open'
conftest.c:13:57: error: use of undeclared identifier 'socket'
conftest.c:13:57: error: use of undeclared identifier 'OpenSSL_add_all_digests'
I use rbenv and install from source, but I've also since tried rbenv with the ruby-build plugin and it fails, too (as would be expected, based on the above, but it was attempted, anyway).
--
https://bugs.ruby-lang.org/
prev parent reply other threads:[~2014-09-15 1:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <redmine.issue-10235.20140913140849@ruby-lang.org>
2014-09-13 14:08 ` [ruby-core:65015] [ruby-trunk - Bug #10235] [Open] make fails to configure OpenSSL on OS X 10.9.4 (Mavericks) opt4444
2014-09-13 14:21 ` [ruby-core:65016] [ruby-trunk - Bug #10235] " opt4444
2014-09-13 16:51 ` [ruby-core:65017] " opt4444
2014-09-15 0:45 ` shibata.hiroshi [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.ruby-lang.org/en/community/mailing-lists/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=redmine.journal-48911.20140915004544.6af60e9a6f3cb259@ruby-lang.org \
--to=ruby-core@ruby-lang.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).