Nach dem Upgrade auf Mojave 10.14.2 habe ich versucht, Ruby-Versionen mit RVM zu installieren.
Im Zusammenhang mit OpenSSL wird folgende Fehlermeldung angezeigt.
Ich habe die neuesten Befehlszeilentools (Command_Line_Tools_macOS_10.14_for_Xcode_10.1) und Xcode installiert.
rvm install 2.5.1
Warning, new version of rvm available '1.29.7', you are using older version '1.29.6'.
You can disable this warning with: echo rvm_autoupdate_flag=0 >> ~/.rvmrc
You can enable auto-update with: echo rvm_autoupdate_flag=2 >> ~/.rvmrc
ruby-2.5.1 - #removing src/ruby-2.5.1..
Searching for binary rubies, this might take some time.
No binary rubies available for: osx/10.14/x86_64/ruby-2.5.1.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for osx.
Certificates bundle '/usr/local/etc/openssl@1.1/cert.pem' is already up to date.
Requirements installation successful.
Installing Ruby from source to: /Users/macuser/.rvm/rubies/ruby-2.5.1, this may take a while depending on your cpu(s)...
ruby-2.5.1 - #downloading ruby-2.5.1, this may take a while depending on your connection...
ruby-2.5.1 - #extracting ruby-2.5.1 to /Users/macuser/.rvm/src/ruby-2.5.1.....
ruby-2.5.1 - #applying patch /Users/macuser/.rvm/patches/ruby/2.5.1/libressl_2_7.patch.
ruby-2.5.1 - #configuring.........................
Error running './configure --prefix=/Users/macuser/.rvm/rubies/ruby-2.5.1 --with-opt-dir=/usr/local/opt/libyaml:/usr/local/opt/readline:/usr/local/opt/libksba:/usr/local/opt/openssl@1.1 --disable-install-doc --enable-shared',
please read /Users/macuser/.rvm/log/1546514340_ruby-2.5.1/configure.log
There has been an error while running configure. Halting the installation.
In configure.log wurde die folgende Meldung angezeigt:
checking size of long long... configure: error: in /Users/macuser/.rvm/src/ruby-2.5.1':
configure: error: cannot compute sizeof (long long)
See config.log' for more details