Issue #8715 has been updated by nagachika (Tomoyuki Chikanaga).

Status changed from Open to Closed

Hello,

I'd backported r40080 and r40081 to ruby_2_0_0.

----------------------------------------
Bug #8715: openssl mkmf.log filled with other data
https://bugs.ruby-lang.org/issues/8715#change-40857

Author: mpapis (Michal Papis)
Status: Closed
Priority: Normal
Assignee: 
Category: 
Target version: 
ruby -v: ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-darwin12.3.0]
Backport: 1.9.3: UNKNOWN, 2.0.0: UNKNOWN


=begin
After compilation + installation of ruby I check the log: (({cat /Users/mpapis/.rvm/src/ruby-2.0.0-p247/ext/openssl/mkmf.log}))
 Failed to configure openssl. It will not be installed.
 Failed to configure -test-/win32/dln. It will not be installed.
 Failed to configure -test-/win32/fd_setsize. It will not be installed.
 Failed to configure dl/win32. It will not be installed.
 Failed to configure fiddle/win32. It will not be installed.
 
Then I run: (({(cd /Users/mpapis/.rvm/src/ruby-2.0.0-p247/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/conf_api.h... yes
 checking for SSL_library_init() in openssl/ssl.h with -Werror=deprecated-declarations... no
 extconf.rb:62:in `<main>': Ignore OpenSSL broken by Apple. (RuntimeError)
 Please use another openssl. (e.g. using `configure --with-openssl-dir=/path/to/openssl')
 
And check the log again: (({cat /Users/mpapis/.rvm/src/ruby-2.0.0-p247/ext/openssl//mkmf.log}))

 === OpenSSL for Ruby configurator ===
 === Checking for system dependent stuff... ===
 have_library: checking for t_open() in -lnsl... -------------------- no
 
 "/usr/bin/clang -o conftest -I/Users/mpapis/.rvm/rubies/ruby-2.0.0-p247/include/ruby-2.0.0/x86_64-darwin12.3.0 -I/Users/mpapis/.rvm/rubies/ruby-2.0.0-p247/include/ruby-2.0.0/ruby/backward -I/Users/mpapis/.rvm/rubies/ruby-2.0.0-p247/include/ruby-2.0.0 -I. -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT   -O3 -I/Users/mpapis/.sm/pkg/active/include -fPIC -pipe conftest.c  -L. -L/Users/mpapis/.rvm/rubies/ruby-2.0.0-p247/lib -L. -Z -L/Users/mpapis/.sm/pkg/active/lib -L/usr/lib -fPIC -Bstatic -fstack-protector   -arch x86_64   -lruby-static  -lpthread -ldl -lobjc "
 ...
 
Is this intended behavior or a bug?
=end



-- 
http://bugs.ruby-lang.org/