Content
Binding of Caller - Error
Added by Christian Granig about 10 years ago
Hello guys
first of all sorry for my bad english.
i wanted to execute the “bundle install” command (Number 7 in the installation guide https://community.openproject.org/projects/openproject/wiki/Installation_Ubuntu ) but i get the same error message everytime:
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/usr/bin/ruby1.8 extconf.rb
creating Makefile
make
gcc -I. -I/usr/lib/ruby/1.8/x86_64-linux -I/usr/lib/ruby/1.8/x86_64-linux -I. -D_FORTIFY_SOURCE=2 -fPIC -fno-strict-aliasing -g -g -O2 -fPIC -O0 -std=c99 -c binding_of_caller.c
binding_of_caller.c:4:21: fatal error: vm_core.h: No such file or directory
compilation terminated.
make: ***** [binding_of_caller.o] Error 1
Gem files will remain installed in /var/lib/gems/1.8/gems/binding_of_caller-0.7.2 for inspection.
Results logged to /var/lib/gems/1.8/gems/binding_of_caller-0.7.2/ext/binding_of_caller/gem_make.out
An error occurred while installing binding_of_caller (0.7.2), and Bundler cannot
continue.
Make sure that `gem install binding_of_caller -v ‘0.7.2’` succeeds before
bundling.
Can someone help me?
Replies (2)
Hi Christian
the file vm_core.h should be in
check your install of ruby
cheers
Brendan
Hi Christian,
you are using ruby 1.8 which is not supported by OP 3.0/4.0. Please install ruby 2.1 (e.g. via RVM or rbenv) and this and other problems should disappear.
Regards
Jens