Skip to content
This repository has been archived by the owner on Dec 4, 2023. It is now read-only.

compilation error on Ubuntu 12.10 #271

Closed
Supermathie opened this issue Sep 3, 2013 · 4 comments
Closed

compilation error on Ubuntu 12.10 #271

Supermathie opened this issue Sep 3, 2013 · 4 comments

Comments

@Supermathie
Copy link

While upgrading a Discourse install on ubuntu 12.10, I get this:

# bundle install --without test --deployment
...elided...
Installing therubyracer (0.12.0) with native extensions 
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.

        /opt/bitnami/ruby/bin/ruby extconf.rb 
checking for main() in -lpthread... yes
Warning! Unable to load libv8 ~> 3.16.14.
creating Makefile

make
compiling init.cc
compiling string.cc
compiling accessor.cc
compiling gc.cc
compiling v8.cc
compiling primitive.cc
compiling rr.cc
compiling array.cc
compiling signature.cc
compiling constants.cc
compiling heap.cc
heap.cc: In static member function ‘static VALUE rr::HeapStatistics::total_physical_size(VALUE)’:
heap.cc:24:12: error: ‘class v8::HeapStatistics’ has no member named ‘total_physical_size’
make: *** [heap.o] Error 1


Gem files will remain installed in /opt/bitnami/apps/discourse/htdocs/vendor/bundle/ruby/1.9.1/gems/therubyracer-0.12.0 for inspection.
Results logged to /opt/bitnami/apps/discourse/htdocs/vendor/bundle/ruby/1.9.1/gems/therubyracer-0.12.0/ext/v8/gem_make.out
An error occurred while installing therubyracer (0.12.0), and Bundler cannot continue.
Make sure that `gem install therubyracer -v '0.12.0'` succeeds before bundling.
@Supermathie
Copy link
Author

After doing a 'bundle exec gem install therubyracer -v 0.12.0' (which worked!), blowing away vendor/gems, and rerunning the bundle install, it installed just fine.

Not sure if I cleaned up old files hanging around somewhere.
[NOT SURE FRY]
or did something I shouldn't have.

@ignisf
Copy link
Collaborator

ignisf commented Dec 5, 2013

This should be closed, then.

@christhekeele
Copy link

I'm getting this exact issue on a clean install, Ubuntu 12.10, ruby 2.2.2. uninstalling and reinstalling is doing nothing for me, for all versions 0.12.x.

@Supermathie
Copy link
Author

Ubuntu 12.10 is EOL

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants