Comments (16)
my solution is : apt-get install g++
from ruby-unf_ext.
gem install unf_ext -v '0.0.7.5'
and then try again bundle install
from ruby-unf_ext.
Well, it says to do that right in the error. Why didn't I think of that?
from ruby-unf_ext.
I had the same issue, installing ruby-dev helped.
$ sudo apt-get install ruby-dev
from ruby-unf_ext.
any solution on this?
from ruby-unf_ext.
Nothing to do with this extension:
checking for main() in -lstdc++... *** extconf.rb failed ***
This is telling you that you don't have a C++ compiler installed. You won't be able to install any native extensions that use C++.
from ruby-unf_ext.
G++ is installed
LC_ALL=C g++ --version
g++ (Gentoo Hardened 6.4.0-r1 p1.3) 6.4.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Still the same error.
from ruby-unf_ext.
same here:
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/Users/kjian/.rvm/rubies/ruby-2.2.4/bin/ruby -r ./siteconf20180522-62521-1v2gv2c.rb extconf.rb
checking for main() in -lstdc++... yes
creating Makefile
...
unf was resolved to 0.1.4, which depends on
unf_ext
from ruby-unf_ext.
I have installed multiple Xcode in /Applications, when compiling unf_ext, it selected the wrong Xcode.
So, when i reset the compiling toolchain to default, it worked.
sudo xcode-select -r
from ruby-unf_ext.
Now we just need to find a pendant on Linux :-)
from ruby-unf_ext.
Any fix for this?
from ruby-unf_ext.
Any solutions?
I get the same error.
sudo gem install unf_ext -v '0.0.7.6' --source 'https://rubygems.org/'
I was setting fastlane with Firebase Distribution and had to run bundle update
fastlane add_plugin firebase_app_distribution
Fetching unf_ext 0.0.7.6
Installing unf_ext 0.0.7.6 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
An error occurred while installing unf_ext (0.0.7.6), and Bundler
cannot continue.
Make sure that `gem install unf_ext -v '0.0.7.6' --source
'https://rubygems.org/'` succeeds before bundling.
from ruby-unf_ext.
I updated ruby to 2.6.3 and is works now!
from ruby-unf_ext.
Any fix for this?
from ruby-unf_ext.
Any fix for this? ruby 2.6.5 doesn't work
from ruby-unf_ext.
Any fix for this? ruby 2.6.0 doesn't work
from ruby-unf_ext.
Related Issues (20)
- Build Errors HOT 6
- Ruby 2.6 x86-mingw32 support HOT 5
- Release current master please HOT 1
- Build fails if using Xcode 11 toolchain HOT 4
- Latest version doesn't contain a binary for Windows HOT 5
- Do a 1.0.0 release?
- Is version 0.0.7.7 a legitimate release? HOT 2
- Push tag v0.0.7.7 HOT 3
- Failing to compile on macOS/Ruby 2.7.1 but not sure why HOT 7
- Building fails with Mac 14, Xcode 11.2, ruby 2.3.7 HOT 1
- Installation fails in Docker and Ruby 3 preview HOT 1
- update to support ruby 3.0 HOT 5
- Failing to build on ARM64 Linux (Apple M1 running Debian in a VM) HOT 4
- Please add support for Ruby 3.1 HOT 5
- Can't install 0.0.8.1-x64-mingw32 in ruby 3.1 HOT 7
- Can't install 0.0.8.2 on Windows HOT 2
- 0.0.8.2 binary builds seemed to be tagged as "beta"? HOT 3
- Compilation Error with non-trivial designated initializers when installing unf_ext (0.0.9) on Ruby 2.3.1 on Linux HOT 16
- @igorpeshansky I have tested the patch and wanted to bring to your attention a potential compatibility concern with Ruby versions lower than 2.7.0, despite the gemspec specifying a requirement of ">= 2.2". The error encountered during compilation in Ruby version 2.3.1 is as follows:
- Build failure after upgrading Gem dependency HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ruby-unf_ext.