[LRUG] Ruby 2.4.1 openssl install error
gvim
gvimrc at gmail.com
Fri Mar 24 07:38:55 PDT 2017
A few weeks ago I installed 2.4.0 painlessly with rbenv on OS X Sierra.
Yesterday I tried installing 2.4.1 on 2 OS X Sierra machines and after
the initial openssl download completed and the Ruby install was about to
complete I received this error:
Installing ruby-2.4.1...
BUILD FAILED (OS X 10.12.3 using ruby-build 20170322)
Inspect or clean up the working tree at
/var/folders/_g/n30xtv8966dd0wyhx44gt4p00000gp/T/ruby-build.20170324135417.9845
Results logged to
/var/folders/_g/n30xtv8966dd0wyhx44gt4p00000gp/T/ruby-build.20170324135417.9845.log
Last 10 log lines:
installing rdoc:
/Users/<me>/.rbenv/versions/2.4.1/share/ri/2.4.0/system
installing capi-docs:
/Users/<me>/.rbenv/versions/2.4.1/share/doc/ruby
The Ruby openssl extension was not compiled.
ERROR: Ruby install aborted due to missing extensions
Configure options used:
--prefix=/Users/<me>/.rbenv/versions/2.4.1
--with-openssl-dir=/Users/<me>/.rbenv/versions/2.4.1/openssl
CC=clang
LDFLAGS=-L/Users/<me>/.rbenv/versions/2.4.1/lib
CPPFLAGS=-I/Users/<me>/.rbenv/versions/2.4.1/include
Earlier in the install log I found:
../.././ext/openssl/extconf.rb:64: Ignore OpenSSL broken by Apple.
../.././ext/openssl/extconf.rb:64: Please use another openssl. (e.g.
using `configure --with-openssl-dir=/path/to/openssl')
But openssl was downloaded at the beginning. WTF?
gvim
More information about the Chat
mailing list