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

Support Installation & Updates
  1. OpenProject
  2. Forums
  3. Support Installation & Updates
  4. Installing on Debian Wheezy

Installing on Debian Wheezy

Added by Tom Coetser over 11 years ago

I’m trying to install OpenProject on Debian Wheezy.

The default version of Ruby is 1.9.3. There is also an older Ruby 1.8.7.358-7 which seems to be 1.8.7 patchlevel 358 and not 371 as required. I don’t know ruby, so I may be wrong with this.

Anyway, following the quick install route I get the following error:


./setup.rb —without postgres

Installing OpenProject...
Checking Ruby Version
It seems you are not using the recommended ruby version.
Please make sure you have installed ‘ruby 1.8.7 (2012-10-12 patchlevel 371)’
Checking Bundler
Found
Checking git
Found
Already up-to-date.
Already up-to-date.
Already up-to-date.
Already up-to-date.
Already up-to-date.
Already up-to-date.
Already up-to-date.
==> Installing Gems via Bundler
Fetching gem metadata from http://rubygems.org/………
Fetching gem metadata from http://rubygems.org/………
Fetching gem metadata from http://rubygems.org/..
Fetching gem metadata from http://rubygems.org/..
Using rake (10.1.0)
Using activesupport (2.3.18)
Using rack (1.1.6)
Using actionpack (2.3.18)
Using actionmailer (2.3.18)
Using activerecord (2.3.18)
Using activeresource (2.3.18)
Using archive-tar-minitar (0.5.2)
Using coderay (0.9.8)
Using columnize (0.3.6)
Using daemons (1.0.10)
Using delayed_job (2.0.8)
Using edavis10-object_daddy (0.4.3)
Using globalize2 (0.2.1)
Using i18n (0.6.5)
Using i18n-js (2.1.2)
Using json (1.8.0)
Using ruby_core_source (0.1.5)
Installing linecache19 (0.5.12) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.

/usr/bin/ruby1.9.1 extconf.rb
checking for vm_core.h… no
/var/lib/gems/1.9.1/gems/ruby_core_source-0.1.5/lib/ruby_core_source.rb:39: Use RbConfig instead of obsolete and deprecated Config.
checking for vm_core.h… no

* extconf.rb failed*
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.

Provided configuration options:
—with-opt-dir
—without-opt-dir
—with-opt-include
—without-opt-include=${opt-dir}/include
—with-opt-lib
—without-opt-lib=${opt-dir}/lib
—with-make-prog
—without-make-prog
—srcdir=.
—curdir
—ruby=/usr/bin/ruby1.9.1
—with-ruby-dir
—without-ruby-dir
—with-ruby-include
—without-ruby-include=${ruby-dir}/include
—with-ruby-lib
—without-ruby-lib=${ruby-dir}/lib
/var/lib/gems/1.9.1/gems/archive-tar-minitar-0.5.2/lib/archive/tar/minitar.rb:743:in `write’: No space left on device - /tmp/d20131010-29675-151np8x/ruby-1.9.3-p194/regexec.c (Errno::ENOSPC)
from /var/lib/gems/1.9.1/gems/archive-tar-minitar-0.5.2/lib/archive/tar/minitar.rb:743:in `block (2 levels) in extract_entry’
from /var/lib/gems/1.9.1/gems/archive-tar-minitar-0.5.2/lib/archive/tar/minitar.rb:739:in `loop’
from /var/lib/gems/1.9.1/gems/archive-tar-minitar-0.5.2/lib/archive/tar/minitar.rb:739:in `block in extract_entry’
from /var/lib/gems/1.9.1/gems/archive-tar-minitar-0.5.2/lib/archive/tar/minitar.rb:738:in `open’
from /var/lib/gems/1.9.1/gems/archive-tar-minitar-0.5.2/lib/archive/tar/minitar.rb:738:in `extract_entry’
from /var/lib/gems/1.9.1/gems/archive-tar-minitar-0.5.2/lib/archive/tar/minitar.rb:973:in `block (2 levels) in unpack’
from /var/lib/gems/1.9.1/gems/archive-tar-minitar-0.5.2/lib/archive/tar/minitar.rb:679:in `block in each’
from /var/lib/gems/1.9.1/gems/archive-tar-minitar-0.5.2/lib/archive/tar/minitar.rb:614:in `block in each_entry’
from /var/lib/gems/1.9.1/gems/archive-tar-minitar-0.5.2/lib/archive/tar/minitar.rb:605:in `loop’
from /var/lib/gems/1.9.1/gems/archive-tar-minitar-0.5.2/lib/archive/tar/minitar.rb:605:in `each_entry’
from /var/lib/gems/1.9.1/gems/archive-tar-minitar-0.5.2/lib/archive/tar/minitar.rb:587:in `each’
from /var/lib/gems/1.9.1/gems/archive-tar-minitar-0.5.2/lib/archive/tar/minitar.rb:679:in `each’
from /var/lib/gems/1.9.1/gems/archive-tar-minitar-0.5.2/lib/archive/tar/minitar.rb:971:in `block in unpack’
from /var/lib/gems/1.9.1/gems/archive-tar-minitar-0.5.2/lib/archive/tar/minitar.rb:655:in `open’
from /var/lib/gems/1.9.1/gems/archive-tar-minitar-0.5.2/lib/archive/tar/minitar.rb:964:in `unpack’
from /var/lib/gems/1.9.1/gems/ruby_core_source-0.1.5/lib/ruby_core_source.rb:63:in `block (2 levels) in create_makefile_with_core’
from /usr/lib/ruby/1.9.1/tmpdir.rb:83:in `mktmpdir’
from /var/lib/gems/1.9.1/gems/ruby_core_source-0.1.5/lib/ruby_core_source.rb:60:in `block in create_makefile_with_core’
from /usr/lib/ruby/1.9.1/tempfile.rb:320:in `open’
from /var/lib/gems/1.9.1/gems/ruby_core_source-0.1.5/lib/ruby_core_source.rb:51:in `create_makefile_with_core’
from extconf.rb:19:in `

’
Requesting http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.gz
Downloading http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p194.tar.gz

Gem files will remain installed in /var/lib/gems/1.9.1/gems/linecache19-0.5.12 for inspection.
Results logged to /var/lib/gems/1.9.1/gems/linecache19-0.5.12/ext/trace_nums/gem_make.out
An error occured while installing linecache19 (0.5.12), and Bundler cannot continue.
Make sure that `gem install linecache19 -v ‘0.5.12’` succeeds before bundling.

Something went wrong :(
Installation aborted.
—————————————————————————————————————————————————

Any ideas how to resolve this?

Thanks,
Tom


Replies (2)

RE: Installing on Debian Wheezy - Added by Peter Ponzel over 11 years ago

I have exactly the same issue on linux mint 13, please could anyone help us out here?

regards,
Pit

RE: Installing on Debian Wheezy - Added by Martin Czuchra over 11 years ago

Tom, you have three separate problems here:

It seems you are not using the recommended ruby version.
Please make sure you have installed ‘ruby 1.8.7 (2012-10-12 patchlevel 371)’

Version 2 of OpenProject will not run with ruby 1.9.1. You should really use 1.8.7, the patchlevel is not that important. But make sure you use 1.8.7.

/usr/bin/ruby1.9.1 extconf.rb
checking for vm_core.h... no
/var/lib/gems/1.9.1/gems/ruby_core_source-0.1.5/lib/ruby_core_source.rb:39: Use RbConfig instead of obsolete and deprecated Config.
checking for vm_core.h... no

It seems you do not have the neccessary header files installed or on your path. Please make sure you have all build tools installed and that the header files are present. This problem might go away w/ the right ruby version.

/var/lib/gems/1.9.1/gems/archive-tar-minitar-0.5.2/lib/archive/tar/minitar.rb:743:in `write’: No space left on device - /tmp/d20131010-29675-151np8x/ruby-1.9.3-p194/regexec.c (Errno::ENOSPC)

You should probably assign more space for your tmp folder. This probably has nothing to do with OpenProject but should be fixed nevertheless.

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