ruby-core@ruby-lang.org archive (unofficial mirror)
 help / color / mirror / Atom feed
* [ruby-core:65015] [ruby-trunk - Bug #10235] [Open] make fails to configure OpenSSL on OS X 10.9.4 (Mavericks)
       [not found] <redmine.issue-10235.20140913140849@ruby-lang.org>
@ 2014-09-13 14:08 ` opt4444
  2014-09-13 14:21 ` [ruby-core:65016] [ruby-trunk - Bug #10235] " opt4444
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 4+ messages in thread
From: opt4444 @ 2014-09-13 14:08 UTC (permalink / raw
  To: ruby-core

Issue #10235 has been reported by opt1c -.

----------------------------------------
Bug #10235: make fails to configure OpenSSL on OS X 10.9.4 (Mavericks)
https://bugs.ruby-lang.org/issues/10235

* Author: opt1c -
* Status: Open
* 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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ruby-core:65016] [ruby-trunk - Bug #10235] make fails to configure OpenSSL on OS X 10.9.4 (Mavericks)
       [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 ` opt4444
  2014-09-13 16:51 ` [ruby-core:65017] " opt4444
  2014-09-15  0:45 ` [ruby-core:65042] [ruby-trunk - Bug #10235] [Rejected] " shibata.hiroshi
  3 siblings, 0 replies; 4+ messages in thread
From: opt4444 @ 2014-09-13 14:21 UTC (permalink / raw
  To: ruby-core

Issue #10235 has been updated by opt1c -.


Also, from what I read it sounds like libsocket and libnsl are part of libc on Darwin.

----------------------------------------
Bug #10235: make fails to configure OpenSSL on OS X 10.9.4 (Mavericks)
https://bugs.ruby-lang.org/issues/10235#change-48888

* Author: opt1c -
* Status: Open
* 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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ruby-core:65017] [ruby-trunk - Bug #10235] make fails to configure OpenSSL on OS X 10.9.4 (Mavericks)
       [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 ` opt4444
  2014-09-15  0:45 ` [ruby-core:65042] [ruby-trunk - Bug #10235] [Rejected] " shibata.hiroshi
  3 siblings, 0 replies; 4+ messages in thread
From: opt4444 @ 2014-09-13 16:51 UTC (permalink / raw
  To: ruby-core

Issue #10235 has been updated by opt1c -.


Please close, installing OpenSSL under my home directory appears to have resolved the problem (though the permissions on /usr/local/ssl looked ok).

----------------------------------------
Bug #10235: make fails to configure OpenSSL on OS X 10.9.4 (Mavericks)
https://bugs.ruby-lang.org/issues/10235#change-48889

* Author: opt1c -
* Status: Open
* 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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [ruby-core:65042] [ruby-trunk - Bug #10235] [Rejected] make fails to configure OpenSSL on OS X 10.9.4 (Mavericks)
       [not found] <redmine.issue-10235.20140913140849@ruby-lang.org>
                   ` (2 preceding siblings ...)
  2014-09-13 16:51 ` [ruby-core:65017] " opt4444
@ 2014-09-15  0:45 ` shibata.hiroshi
  3 siblings, 0 replies; 4+ messages in thread
From: shibata.hiroshi @ 2014-09-15  0:45 UTC (permalink / raw
  To: ruby-core

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/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-09-15  1:05 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [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 ` [ruby-core:65042] [ruby-trunk - Bug #10235] [Rejected] " shibata.hiroshi

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).