Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Barkeep refuses to build on modern-ish systems #504

Open
thatguyatgithub opened this issue Jan 23, 2015 · 1 comment
Open

Barkeep refuses to build on modern-ish systems #504

thatguyatgithub opened this issue Jan 23, 2015 · 1 comment

Comments

@thatguyatgithub
Copy link

Hi there!
I've been trying to install Barkeep using several environments, several times, but everything gets to the point of ruby not building with tons of errors when bundling (needless to say that having gem install therubyracer -v '0.10.1' did not change a thing)

/root/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/libv8-3.3.10.4-x86-linux/lib/libv8/build/v8/libv8.a(log-utils.o): In function v8::internal::Log::Initialize()': log-utils.cc:(.text._ZN2v88internal3Log10InitializeEv+0x36): undefined reference tooperator new[](unsigned int)'
/root/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/libv8-3.3.10.4-x86-linux/lib/libv8/build/v8/libv8.a(log-utils.o): In function v8::internal::LogDynamicBuffer::LogDynamicBuffer(int, int, char const*, int)': log-utils.cc:(.text._ZN2v88internal16LogDynamicBufferC2EiiPKci+0x47): undefined reference tooperator new[](unsigned int)'
log-utils.cc:(.text._ZN2v88internal16LogDynamicBufferC2EiiPKci+0x76): undefined reference to operator new[](unsigned int)' /root/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/libv8-3.3.10.4-x86-linux/lib/libv8/build/v8/libv8.a(log-utils.o):log-utils.cc:(.text._ZN2v88internal16LogDynamicBufferC1EiiPKci+0x47): more undefined references tooperator new[](unsigned int)' follow
collect2: error: ld returned 1 exit status
Makefile:207: recipe for target 'v8.so' failed
make: *** [v8.so] Error 1

Gem files will remain installed in /root/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/therubyracer-0.10.1 for inspection.
Results logged to /root/.rbenv/versions/1.9.3-p194/lib/ruby/gems/1.9.1/gems/therubyracer-0.10.1/ext/v8/gem_make.out
An error occurred while installing therubyracer (0.10.1), and Bundler cannot
continue.
Make sure that gem install therubyracer -v '0.10.1' succeeds before bundling.
/root/barkeep/script/setup_ruby.rb:34:in stream_output': The command "bundle install" failed. (RuntimeError) from /root/barkeep/script/setup_ruby.rb:62:in<top (required)>'
from /root/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in require' from /root/.rbenv/versions/1.9.3-p194/lib/ruby/1.9.1/rubygems/custom_require.rb:36:inrequire'
from script/vagrant_quick_start.rb:11:in `

'

I've been trying to build it on Debian and UbuntuTrusty as well, but same error arises.

Any ideas?

@jpodeszwik
Copy link

try:
gem install therubyracer -v '0.12.1'
sed -i 's/0.10.1/0.12.1/g' Gemfile.lock
bundle install

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

No branches or pull requests

2 participants