Created
January 8, 2013 18:18
-
-
Save hudsonmaradona/4486408 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I'm having the same error after installing however was libv8 (3.15.11.1 x86_64-linux) my this with the following error: | |
Building native extensions. This could take a while... | |
ERROR: Error installing therubyracer: | |
ERROR: Failed to build gem native extension. | |
/home/devtecsis/.rvm/rubies/ruby-1.9.3-p362/bin/ruby extconf.rb | |
checking for main() in -lpthread... yes | |
creating Makefile | |
make | |
compiling stack.cc | |
compiling script.cc | |
compiling init.cc | |
compiling locker.cc | |
compiling context.cc | |
context.cc: In static member function 'static VALUE rr::Context::SetData(VALUE, | |
VALUE)': | |
context.cc:81: error: no matching function for call to 'v8::Context::SetData(rr: | |
:String)' | |
/home/devtecsis/.rvm/gems/ruby-1.9.3-p362/gems/libv8-3.15.11.1/vendor/v8/include | |
/v8.h:4826: note: candidates are: void v8::Context::SetData(v8::Handle<v8::Value | |
>) | |
context.cc: In static member function 'static VALUE rr::Context::GetData(VALUE)' | |
: | |
context.cc:85: warning: 'v8::Local<v8::Value> v8::Context::GetData()' is depreca | |
ted (declared at /home/devtecsis/.rvm/gems/ruby-1.9.3-p362/gems/libv8-3.15.11.1/ | |
vendor/v8/include/v8.h:4822) | |
make: *** [context.o] Error 1 | |
Gem files will remain installed in /home/devtecsis/.rvm/gems/ruby-1.9.3-p362/gem | |
s/therubyracer-0.11.1 for inspection. | |
Results logged to /home/devtecsis/.rvm/gems/ruby-1.9.3-p362/gems/therubyracer-0. | |
11.1/ext/v8/gem_make.out |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Using CentOS 6.3 removed all versions of gem "libv8" and installed it again so libv8 gem install and worked ...