Error Failed To Build Gem Native Extension Therubyracer
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site
Therubyracer Libv8 Error
About Us Learn more about Stack Overflow the company Business Learn more error failed to build gem native extension rails about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss error failed to build gem native extension mac Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up therubyracer - Gem::Ext::BuildError:
Error Failed To Build Gem Native Extension Windows
ERROR: Failed to build gem native extension up vote 49 down vote favorite 19 I'm trying to install the following gem versions on Mavericks libv8 (3.16.14.3) therubyracer (0.12.1) Obviously therubyracer gems depends on libv8. 1) Installing libv8 What is libv8? My bit of research seems to indicaite it's some sort of javascript library used by Google Chrome? I was having trouble installing it, but this
Error Failed To Build Gem Native Extension Ubuntu
great post had both my error and a well-explained answer on how to bypass it. So I installed libv8 with gem install libv8 -- --with-system-v8 It's my understanding that this installs the gem but uses my local system installation of the v8 library instead of... the version that comes with the gem? Either way, it was successful. 2) Installing therubyracer During the next step, I had trouble install therubyracer gem. I'm not quite sure what this gem does, just that it's a dependency of a rails project I'm trying to bundle install. It gives me the following error: Gem::Ext::BuildError: ERROR: Failed to build gem native extension. /Users/jeeves.butler/.rvm/rubies/ruby-1.9.2-p290/bin/ruby extconf.rb checking for main() in -lpthread... yes checking for main() in -lobjc... yes checking for v8.h... no *** 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. Provided configuration options: --with-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/Users/jeeves.butler/.rvm/rubies/ruby-1.9.2-p290/bin/ruby --with-pthreadlib --without-pthreadlib --with-objclib --without-objclib --enable-debug --disable-debug --with-v8-dir --without-v8-dir --with-v8-include --without-v8-include=${v8-dir}/include --with-v8-lib --without-v8-lib=${v8-dir}/lib /Users/jeeves.butler/.rvm/gems/ruby-1.9.2-p290/gems/libv8-3.16.14.3/ext/libv8/location.rb:50:in 'configure': You have chosen to use the version of V8 f
Sign in Pricing Blog Support Search GitHub This repository Watch 41 Star 1,464 Fork 177 cowboyd/therubyracer Code Issues 45 error failed to build gem native extension compass Pull requests 19 Projects 0 Wiki Pulse Graphs Fails Install OS
Error Failed To Build Gem Native Extension Osx
X El Capitan - 10.11 Beta (15A215h) #359 Closed karlentwistle opened this Issue Jul 14, 2015 error failed to build gem native extension windows 8 · 28 comments Projects None yet Labels None yet Milestone No milestone Assignees No one assigned 20 participants karlentwistle commented Jul 14, 2015 gem https://stackoverflow.com/questions/23536893/therubyracer-gemextbuilderror-error-failed-to-build-gem-native-extension install therubyracer -v '0.12.2' Building native extensions. This could take a while... ERROR: Error installing therubyracer: ERROR: Failed to build gem native extension. /Users/karl/.rbenv/versions/2.2.2/bin/ruby -r ./siteconf20150714-54941-u2qv6y.rb extconf.rb checking for main() in -lpthread... yes checking for main() in -lobjc... yes checking for v8.h... yes checking for main() in -lv8... yes creating Makefile make "DESTDIR=" clean make https://github.com/cowboyd/therubyracer/issues/359 "DESTDIR=" compiling accessor.cc clang: warning: argument unused during compilation: '-rdynamic' In file included from accessor.cc:1: In file included from ./rr.h:4: /usr/local/include/v8.h:3915:36: error: 'v8::PropertyHandlerFlags' is not a class, namespace, or scoped enumeration PropertyHandlerFlags flags = PropertyHandlerFlags::kNone) ^ /usr/local/include/v8.h:3943:36: error: 'v8::PropertyHandlerFlags' is not a class, namespace, or scoped enumeration PropertyHandlerFlags flags = PropertyHandlerFlags::kNone) ^ In file included from accessor.cc:1: ./rr.h:358:39: error: no member named 'ScriptData' in namespace 'v8' class ScriptData : public Pointer
Sign in Pricing Blog Support Search GitHub https://github.com/cowboyd/therubyracer/issues/339 This repository Watch 41 Star 1,464 Fork https://codedump.io/share/XYMPRCbLVmwi/1/therubyracer---gemextbuilderror-error-failed-to-build-gem-native-extension 177 cowboyd/therubyracer Code Issues 45 Pull requests 19 Projects 0 Wiki Pulse Graphs Install Mac OS 10.10.3 #339 Closed idoo opened this Issue Apr 13, 2015 · 43 comments Projects None yet error failed Labels None yet Milestone No milestone Assignees No one assigned 28 participants and others idoo commented Apr 13, 2015 Default install way bring me errors, but i could install through this way: brew install v8 gem install libv8 -v '3.16.14.3' error failed to -- --with-system-v8 gem install therubyracer -v '0.12.2' -- --with-system-v8 tian-xiaobo commented Apr 13, 2015 Gem::Ext::BuildError: ERROR: Failed to build gem native extension. /usr/local/var/rbenv/versions/2.1.5/bin/ruby extconf.rb checking for main() in -lpthread... yes checking for main() in -lobjc... yes creating Makefile make "DESTDIR=" clean make "DESTDIR=" compiling accessor.cc clang: warning: argument unused during compilation: '-rdynamic' In file included from accessor.cc:1: In file included from ./rr.h:6: In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/vector:265: In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/__bit_reference:15: In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/algorithm:628: In file included from /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/memory:604: /Library/Developer/CommandLineTools/usr/bin/../include/c++/v1/iterator:341:10: fatal error: '__debug' file not found #include <__debug> ^ 1 error generated. make: *** [accessor.o] Error 1 make failed, exit code 2 Gem files will remain installed in /use/36kr/bundle/ruby/2.1.0/gems/therubyracer-0.12.2 for inspection. Results logged to /use/36kr/bundle/ruby/2.1.0/extensions/x86_64-darwin-14/2.1.0-static/therubyracer-0.12.2/gem_make.out An error occurred while ins
Gherkin Git Go Groovy Haml Handlebars Haskell HTML HTTP Ini iOS Jade Java Javascript jQuery JSON Julia Keyman LaTeX Linux Less LOLCODE Makefile Markdown MATLAB MySQL NASM Node.js NSIS Objective-C Pascal Perl PHP PHP Extras PowerShell Python R React JSX reST (reStructuredText) Rip Ruby Rust SAS Sass (Sass) Sass (Scss) Scala Scheme Smalltalk Smarty SQL Stylus Swift Twig TypeScript Vb.net VHDL Wiki markup YAML Other Search user2490003 - 8 months ago 179x Ruby Question therubyracer - Gem::Ext::BuildError: ERROR: Failed to build gem native extension I'm trying to install the following gem versions on Mavericks libv8 (3.16.14.3) therubyracer (0.12.1) Obviously therubyracer gems depends on libv8. 1) Installing libv8 What is libv8? My bit of research seems to indicaite it's some sort of javascript library used by Google Chrome? I was having trouble installing it, but this great post had both my error and a well-explained answer on how to bypass it. So I installed libv8 with gem install libv8 -- --with-system-v8
It's my understanding that this installs the gem but uses my local system installation of the v8 library instead of... the version that comes with the gem? Either way, it was successful. 2) Installing therubyracer During the next step, I had trouble install therubyracer gem. I'm not quite sure what this gem does, just that it's a dependency of a rails project I'm trying to bundle install. It gives me the following error: Gem::Ext::BuildError: ERROR: Failed to build gem native extension.
/Users/jeeves.butler/.rvm/rubies/ruby-1.9.2-p290/bin/ruby extconf.rb
checking for main() in -lpthread... yes
checking for main() in -lobjc... yes
checking for v8.h... no
*** 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.
Provided configuration options:
--with-opt-dir
--with-opt-include
--without-opt-include=${opt-dir}/include
--with-opt-lib
--without-opt-lib=${opt-dir}/lib
--with-make-prog
--without-make-prog
--srcdir=.
--curdir
--ruby=/Users/jeeves.butler/.rvm/rubies/ruby-1.9.2-p290/bin/ruby
--with-pthreadlib
--without-pthreadlib
--with-objclib
--without-objclib
--enable-d