You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Dec 4, 2023. It is now read-only.
Howdy, trying to install on ubuntu, Ubuntu 12.04.1 LTS (GNU/Linux 3.2.0-23-generic x86_64), using Ruby 1.9.3-p362.
When I execute gem install therubyracer I get the following compilation failure:
$ gem install therubyracer
Fetching: therubyracer-0.11.2.gem (100%)
Building native extensions. This could take a while...
ERROR: Error installing therubyracer:
ERROR: Failed to build gem native extension.
/home/vagrant/.rubies/1.9.3-p362/bin/ruby extconf.rb
checking for main() in -lpthread... yes
creating Makefile
make
compiling accessor.cc
compiling external.cc
compiling date.cc
compiling primitive.cc
compiling invocation.cc
compiling v8.cc
compiling rr.cc
compiling signature.cc
compiling trycatch.cc
compiling function.cc
compiling stack.cc
compiling locker.cc
compiling array.cc
compiling gc.cc
compiling script.cc
compiling value.cc
compiling init.cc
compiling handles.cc
compiling backref.cc
backref.cc: In member function ‘v8::Handle<v8::Value> rr::Backref::toExternal()’:
backref.cc:35:59: warning: ‘static v8::Local<v8::Value> v8::External::Wrap(void*)’ is deprecated (declared at /home/vagrant/.gem/ruby/1.9.3/gems/libv8-3.15.11.1/vendor/v8/include/v8.h:4736) [-Wdeprecated-declarations]
compiling exception.cc
compiling constraints.cc
compiling object.cc
object.cc: In member function ‘virtual rr::Object::operator VALUE()’:
object.cc:147:54: warning: ‘static void* v8::External::Unwrap(v8::Handle<v8::Value>)’ is deprecated (declared at /home/vagrant/.gem/ruby/1.9.3/gems/libv8-3.15.11.1/vendor/v8/include/v8.h:4741) [-Wdeprecated-declarations]
compiling template.cc
compiling constants.cc
compiling message.cc
compiling heap.cc
compiling string.cc
compiling context.cc
context.cc: In static member function ‘static VALUE rr::Context::SetData(VALUE, VALUE)’:
context.cc:81:3: error: no matching function for call to ‘v8::Context::SetData(rr::String)’
context.cc:81:3: note: candidate is:
/home/vagrant/.gem/ruby/1.9.3/gems/libv8-3.15.11.1/vendor/v8/include/v8.h:4826:6: note: void v8::Context::SetData(v8::Handle<v8::Value>)
/home/vagrant/.gem/ruby/1.9.3/gems/libv8-3.15.11.1/vendor/v8/include/v8.h:4826:6: note: no known conversion for argument 1 from ‘rr::String’ to ‘v8::Handle<v8::Value>’
context.cc: In static member function ‘static VALUE rr::Context::GetData(VALUE)’:
context.cc:85:39: warning: ‘v8::Local<v8::Value> v8::Context::GetData()’ is deprecated (declared at /home/vagrant/.gem/ruby/1.9.3/gems/libv8-3.15.11.1/vendor/v8/include/v8.h:4822) [-Wdeprecated-declarations]
make: *** [context.o] Error 1
Gem files will remain installed in /home/vagrant/.gem/ruby/1.9.3/gems/therubyracer-0.11.2 for inspection.
Results logged to /home/vagrant/.gem/ruby/1.9.3/gems/therubyracer-0.11.2/ext/v8/gem_make.out
Howdy, trying to install on ubuntu, Ubuntu 12.04.1 LTS (GNU/Linux 3.2.0-23-generic x86_64), using Ruby 1.9.3-p362.
When I execute
gem install therubyracerI get the following compilation failure: