Top Menu

Jump to content
Home
    Modules
      • Projects
      • Activity
      • Work packages
      • Gantt charts
      • Calendars
      • Team planners
      • Boards
      • News
    • Getting started
    • Introduction video
      Welcome to OpenProject Community
      Get a quick overview of project management and team collaboration with OpenProject. You can restart this video from the help menu.

    • Help and support
    • Upgrade to Enterprise edition
    • User guides
    • Videos
    • Shortcuts
    • Community forum
    • Enterprise support

    • Additional resources
    • Data privacy and security policy
    • Digital accessibility (DE)
    • OpenProject website
    • Security alerts / Newsletter
    • OpenProject blog
    • Release notes
    • Report a bug
    • Development roadmap
    • Add and edit translations
    • API documentation
  • Sign in
      Forgot your password?

      or sign in with your existing account

      Google

Side Menu

  • Overview
  • Activity
    Activity
  • Roadmap
  • Work packages
    Work packages
  • Gantt charts
    Gantt charts
  • Calendars
    Calendars
  • Team planners
    Team planners
  • Boards
    Boards
  • News
  • Forums

Content

General discussion
  1. OpenProject
  2. Forums
  3. General discussion
  4. Binding of Caller - Error

Binding of Caller - Error

Added by Christian Granig over 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)

RE: Binding of Caller - Error - Added by Brendan Dunn over 10 years ago

Hi Christian

the file vm_core.h should be in

root@1a748e650296:/# find / -name "vm_core.h"
/home/openproject/.rvm/src/ruby-2.1.0/vm_core.h
/home/openproject/.rvm/gems/ruby-2.1.0/gems/binding_of_caller-0.7.2/ext/binding_of_caller/ruby_headers/192/vm_core.h
/home/openproject/.rvm/gems/ruby-2.1.0/gems/binding_of_caller-0.7.2/ext/binding_of_caller/ruby_headers/193/vm_core.h

check your install of ruby

cheers
Brendan

RE: Binding of Caller - Error - Added by Jens Ulferts over 10 years ago

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

  • (1 - 2/2)
Loading...