Skip to content

Instantly share code, notes, and snippets.

@cheeseplus
Created March 5, 2013 15:08
Show Gist options
  • Save cheeseplus/5090943 to your computer and use it in GitHub Desktop.
Save cheeseplus/5090943 to your computer and use it in GitHub Desktop.
gem install therubyracer
Fetching: ref-1.0.2.gem (100%)
Fetching: therubyracer-0.11.4.gem (100%)
Building native extensions. This could take a while...
ERROR: Error installing therubyracer:
ERROR: Failed to build gem native extension.
/usr/local/rvm/rubies/ruby-1.9.3-p392/bin/ruby extconf.rb
checking for main() in -lpthread... yes
creating Makefile
make
compiling object.cc
compiling signature.cc
compiling init.cc
compiling stack.cc
compiling external.cc
compiling context.cc
compiling array.cc
compiling message.cc
compiling constants.cc
compiling function.cc
compiling exception.cc
compiling invocation.cc
compiling v8.cc
compiling string.cc
compiling backref.cc
compiling date.cc
compiling value.cc
compiling template.cc
compiling trycatch.cc
compiling script.cc
compiling primitive.cc
compiling gc.cc
compiling heap.cc
compiling constraints.cc
compiling handles.cc
compiling rr.cc
compiling accessor.cc
compiling locker.cc
linking shared-object v8/init.so
Text relocation remains referenced
against symbol offset in file
.text._ZN2v811HandleScope4Data10InitializeEv (section) 0x20 /usr/local/rvm/gems/ruby-1.9.3-p392/gems/libv8-3.11.8.13/vendor/v8/out/x64.release/obj.target/tools/gyp/libv8_base.a(api.o)
.text._ZN2v810ScriptDataD2Ev (section) 0x48 /usr/local/rvm/gems/ruby-1.9.3-p392/gems/libv8-3.11.8.13/vendor/v8/out/x64.release/obj.target/tools/gyp/libv8_base.a(api.o)
.text._ZN2v810ScriptDataD0Ev (section) 0x70 /usr/local/rvm/gems/ruby-1.9.3-p392/gems/libv8-3.11.8.13/vendor/v8/out/x64.release/obj.target/tools/gyp/libv8_base.a(api.o)
........
........
........
puts 0x1583 /usr/local/rvm/gems/ruby-1.9.3-p392/gems/libv8-3.11.8.13/vendor/v8/out/x64.release/obj.target/tools/gyp/libv8_base.a(flags.o)
puts 0x158d /usr/local/rvm/gems/ruby-1.9.3-p392/gems/libv8-3.11.8.13/vendor/v8/out/x64.release/obj.target/tools/gyp/libv8_base.a(flags.o)
puts 0x1597 /usr/local/rvm/gems/ruby-1.9.3-p392/gems/libv8-3.11.8.13/vendor/v8/out/x64.release/obj.target/tools/gyp/libv8_base.a(flags.o)
printf 0x162d /usr/local/rvm/gems/ruby-1.9.3-p392/gems/libv8-3.11.8.13/vendor/v8/out/x64.release/obj.target/tools/gyp/libv8_base.a(flags.o)
__popcountdi2 0x4244 /usr/local/rvm/gems/ruby-1.9.3-p392/gems/libv8-3.11.8.13/vendor/v8/out/x64.release/obj.target/tools/gyp/libv8_base.a(frames.o)
ld: fatal: relocations remain against allocatable but non-writable sections
collect2: error: ld returned 1 exit status
make: *** [init.so] Error 1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment