Quantcast
Channel: Active questions tagged ruby - Stack Overflow
Viewing all articles
Browse latest Browse all 4631

Error running '__rvm_make install' on macOS Monterey

$
0
0

I am trying to install ruby 2.7.0 version on mac(12.2.1) using rvm but getting below error, and tried all the solution possible on github nothing seems to work. Even tried using rbenv but same error. Please help, thank you in advance.

rashmi.b@xxxx Documents % rvm install 2.7.0     ruby-2.7.0 - #removing src/ruby-2.7.0 - please waitSearching for binary rubies, this might take some time.No binary rubies available for: osx/12.2/x86_64/ruby-2.7.0.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/rashmi.b/.rvm/rubies/ruby-2.7.0, this may take a while depending on your cpu(s)...ruby-2.7.0 - #downloading ruby-2.7.0, this may take a while depending on your connection...ruby-2.7.0 - #extracting ruby-2.7.0 to /Users/rashmi.b/.rvm/src/ruby-2.7.0 - please waitruby-2.7.0 - #configuring - please waitruby-2.7.0 - #post-configuration - please waitruby-2.7.0 - #compiling - please waitruby-2.7.0 - #installing - please waitError running '__rvm_make install',please read /Users/rashmi.b/.rvm/log/1647236002_ruby-2.7.0/install.logThere has been an error while running make install. Halting the installation.

/Users/rashmi.b/.rvm/log/1647236002_ruby-2.7.0/install.log =>

generating x86_64-darwin21-fake.rbx86_64-darwin21-fake.rb updated        BASERUBY = /usr/bin/ruby --disable=gems        CC = gcc        LD = ld        LDSHARED = gcc -dynamiclib        CFLAGS = -O3 -ggdb3 -Wall -Wextra -Wdeprecated-declarations -Wdivision-by-zero -Wimplicit-function-declaration -Wimplicit-int -Wmisleading-indentation -Wpointer-arith -Wshorten-64-to-32 -Wwrite-strings -Wmissing-noreturn -Wno-constant-logical-operand -Wno-long-long -Wno-missing-field-initializers -Wno-overlength-strings -Wno-parentheses-equality -Wno-self-assign -Wno-tautological-compare -Wno-unused-parameter -Wno-unused-value -Wunused-variable -Wextra-tokens -std=gnu99  -fno-common -pipe        XCFLAGS = -D_FORTIFY_SOURCE=2 -fstack-protector-strong -fno-strict-overflow -fvisibility=hidden -DRUBY_EXPORT -DCANONICALIZATION_FOR_MATHN -I. -I.ext/include/x86_64-darwin21 -I./include -I. -I./enc/unicode/12.1.0        CPPFLAGS = -I/usr/local/opt/libyaml/include -I/usr/local/opt/libksba/include -I/usr/local/opt/readline/include -I/usr/local/opt/zlib/include -I/usr/local/opt/openssl@1.1/include -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -D_DARWIN_UNLIMITED_SELECT -D_REENTRANT        DLDFLAGS = -Wl,-undefined,dynamic_lookup -Wl,-multiply_defined,suppress -L/usr/local/opt/libyaml/lib -L/usr/local/opt/libksba/lib -L/usr/local/opt/readline/lib -L/usr/local/opt/zlib/lib -L/usr/local/opt/openssl@1.1/lib -install_name /Users/rashmi.b/.rvm/rubies/ruby-2.7.0/lib/libruby.2.7.dylib -compatibility_version 2.7 -current_version 2.7.0  -fstack-protector-strong -framework Security -framework Foundation  -fstack-protector-strong -framework Security -framework Foundation        SOLIBS = -lpthread -lgmp -ldl -lobjc        LANG =        LC_ALL =        LC_CTYPE = UTF-8        MFLAGS =Configured with: --prefix=/Library/Developer/CommandLineTools/usr --with-gxx-include-dir=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/c++/4.2.1Apple clang version 13.0.0 (clang-1300.0.29.30)Target: x86_64-apple-darwin21.3.0Thread model: posixInstalledDir: /Library/Developer/CommandLineTools/usr/bingenerating enc.mkmaking srcs under encmake[1]: Nothing to be done for `srcs'.generating transdb.htransdb.h unchangedgenerating makefiles ext/configure-ext.mkext/configure-ext.mk updatedgenerating makefile exts.mkexts.mk unchanged./revision.h unchangedmake[1]: Nothing to be done for `note'.making encmake[1]: Nothing to be done for `enc'.making transmake[1]: Nothing to be done for `./enc/trans'.making encsmake[1]: Nothing to be done for `encs'../miniruby -I./lib -I. -I.ext/common  ./tool/runruby.rb --extout=.ext  -- --disable-gems -r./x86_64-darwin21-fake ./tool/rbinstall.rb --make="/Library/Developer/CommandLineTools/usr/bin/make" --dest-dir="" --extout=".ext" --mflags="" --make-flags="" --data-mode=0644 --prog-mode=0755 --installed-list .installed.list --mantype="doc" --exclude=docmake: *** [do-install-nodoc] Killed: 9+__rvm_make:0> return 2

Openssl version - 3.0.1 14


Viewing all articles
Browse latest Browse all 4631

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>