Skip to content

Instantly share code, notes, and snippets.

@kfarst
Created October 23, 2014 17:13
Show Gist options
  • Save kfarst/3f01b30429a20997fa9e to your computer and use it in GitHub Desktop.
Save kfarst/3f01b30429a20997fa9e to your computer and use it in GitHub Desktop.
zozi (kf: b2b-race-deal) ~ gem install therubyracer -v '0.11.4'
Building native extensions. This could take a while...
ERROR: Error installing therubyracer:
ERROR: Failed to build gem native extension.
/Users/kfarst/.rvm/rubies/ruby-1.9.3-p545/bin/ruby -r ./siteconf20141023-59714-db82zv.rb 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/kfarst/.rvm/rubies/ruby-1.9.3-p545/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}/
/Users/kfarst/.rvm/gems/ruby-1.9.3-p545/gems/libv8-3.11.8.17/ext/libv8/location.rb:50:in `configure': You have chosen to use the version of V8 found on your system (Libv8::Location::System::NotFoundError)
and *not* the one that is bundle with the libv8 rubygem. However,
it could not be located. please make sure you have a version of
v8 that is compatible with 3.11.8.17 installed. You may
need to special --with-v8-dir options if it is in a non-standard
location
thanks,
The Mgmt
from /Users/kfarst/.rvm/gems/ruby-1.9.3-p545/gems/libv8-3.11.8.17/lib/libv8.rb:7:in `configure_makefile'
from extconf.rb:32:in `<main>'
extconf failed, exit code 1
Gem files will remain installed in /Users/kfarst/.rvm/gems/ruby-1.9.3-p545/gems/therubyracer-0.11.4 for inspection.
Results logged to /Users/kfarst/.rvm/gems/ruby-1.9.3-p545/extensions/x86_64-darwin-14/1.9.1/therubyracer-0.11.4/gem_make.out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment