Uncommon mk 300 build ext error 2
closed Show Build fails on darwin due to libtool being removedruby -v: ruby 3.0.0p0 (2020-12-25 revision ccb58c9f76) [x86_64-darwin18] [ruby-core:101790] Description The following commit is causing builds in master and for the recently released Ruby 3.0.0 to fail on darwin. This was tested on macOS Mojave using the most recent XCode and Mojave patches. The error reported is as follows:
Reverting the following commit allows the build to run successfully: https://github.com/ruby/ruby/commit/ed01cc8fdc845b1db258eb3e35b3ba834463672e After reverting this commit on either master or the v3_0_0 tag, I was able to successfully build again.
I've heard that similar error used to occur in earlier versions too,
I tried the following on a Macbook Pro with Catalina and the error was still present.
Adding a data point to this. I've also tried reinstalling the CLTs on Catalina, but the build only succeeded with the reverted commit. Big Sur doesn't support my iMac, so I'm stuck with Catalina for good. I'm running into this exact same issue, it fails on both Catalina and Big Sur.
Complete build log: https://gist.github.com/charlesbjohnson/bc384e90b985d02854380fb476fd22b0 Could you show mkmf.log file for a failed extension? charlesbjohnson (Charles Johnson) wrote in #note-8:
Good news is that I was able to build 3.0.0. The culprit appeared to be that I'm using the GNU
For what it's worth, though, I've never ran into this issue with previous Ruby releases.
This is still failing for me on Big Sur with 3.0.2. I have made sure to uninstall gmake and coreutils from MacPorts but it is still failing. If I revert commit I mentioned in the original report then it builds fine on Big Sur under all conditions, with or without GNU coreutils.
This message appears to be
contradictory. Also available in: Atom PDF Like0 Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0 How to install Ruby 2.5 1 in Ubuntu?Install Ruby Using Rbenv. Step 1: Download Updates and Dependencies. Start by updating the system repositories: sudo apt update. ... . Step 2: Install Rbenv. Download and run the shell script used to install Rbenv: curl -fsSL https://github.com/rbenv/rbenv-installer/raw/HEAD/bin/rbenv-installer | bash. ... . Step 3: Install Ruby.. How to install Ruby 2.7 0?Installing Ruby 2.7 with rbenv. $ git clone https://github.com/rbenv/rbenv.git ~/.rbenv. ... . $ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bashrc $ echo 'eval "$(rbenv init -)"' >> ~/.bashrc $ exec $SHELL. ... . $ git clone https://github.com/rbenv/ruby-build.git "$(rbenv root)"/plugins/ruby-build.. How to remove Rbenv from Linux?Use Purging rbenv
If you use with purge options to rbenv package, all the configuration and dependent packages will be removed. If you use purge options along with auto-remove, will be removed everything regarding the package, It's really useful when you want to reinstall it again.
How to install Ruby using asdf?How to install Ruby on Rails 6.1 with asdf on macOS Big Sur. Step 1 - Install Homebrew. The Missing Package Manager for macOS (or Linux) ... . Step 2 - Install asdf. Manage multiple runtime versions with a single CLI tool. ... . Step 3 - Install Ruby. ... . Step 4 - Install Node. ... . Step 5 - Install Postgres. ... . Step 6 - Create Ruby on Rails app.. |