fir-cli icon indicating copy to clipboard operation
fir-cli copied to clipboard

mac m1 install failed

Open cjch opened this issue 2 years ago • 2 comments

sudo gem install fir-cli

Please ensure that your Gemfiles and .gemspecs are suitably restrictive to avoid an unexpected breakage when 3.0 is released (e.g. ~> 2.3.0). See https://github.com/rubyzip/rubyzip for details. The Changelog also lists other enhancements and bugfixes that have been implemented since version 2.3.0. Successfully installed rubyzip-2.3.2 Successfully installed ruby_android_apk-0.7.7.1 Successfully installed chunky_png-1.4.0 Successfully installed rqrcode-0.10.1 Successfully installed netrc-0.11.0 Successfully installed mime-types-data-3.2022.0105 Successfully installed mime-types-3.4.1 Building native extensions. This could take a while... ERROR: Error installing fir-cli: ERROR: Failed to build gem native extension.

current directory: /opt/homebrew/lib/ruby/gems/3.1.0/gems/unf_ext-0.0.8.2/ext/unf_ext

/opt/homebrew/opt/ruby/bin/ruby -I /opt/homebrew/Cellar/ruby/3.1.2_1/lib/ruby/3.1.0 -r ./siteconf20220905-90371-s9wveu.rb extconf.rb checking for -lstdc++... *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options.

cjch avatar Sep 05 '22 09:09 cjch

老哥 比较推荐使用 rvm 安装 ruby

jicheng1014 avatar Sep 06 '22 06:09 jicheng1014

据传这样也行 先 brew install coreutils 我手上没 m1 的电脑 您要不试试?

jicheng1014 avatar Sep 20 '22 07:09 jicheng1014

自行购买了个m2pro 来试试好使不....

jicheng1014 avatar Jan 28 '23 08:01 jicheng1014

Screenshot 2023-02-07 at 00 06 52 兄弟 我试了下。 最新版本是可以安装的

jicheng1014 avatar Feb 06 '23 16:02 jicheng1014