Project

General

Profile

Actions

Feature #1996

closed

Add support for installing on Debian/Wheezy

Added by Franklin Piat over 11 years ago. Updated almost 11 years ago.

Status:
Closed
Priority:
Normal
Category:
-
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Hello,

Could you provide a foreman repository for Debian (or better, package it within Debian :).

FYI, currently installing Squeeze's foreman packages on wheezy fails due to missing dependenies, so one should install:

aptitude install make ruby1.9.1-dev

the error is:
Using has_many_polymorphs (3.0.0.beta1) from https://github.com/jystewart/has_many_polymorphs.git (at 03429a6) * Checking out revision: 03429a61e511f394e9f96af0c8998268ca99d42b
Successfully built RubyGem
Name: has_many_polymorphs
Version: 3.0.0.beta1
File: has_many_polymorphs-3.0.0.beta1.gem
from /usr/share/foreman/vendor/ruby/1.9.1/bundler/gems/has_many_polymorphs-03429a61e511/has_many_polymorphs.gemspec
Installing json (1.7.5) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.

/usr/bin/ruby1.9.1 extconf.rb 
/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- mkmf (LoadError)
from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require'
from extconf.rb:1:in `<main>'

Gem files will remain installed in /usr/share/foreman/vendor/ruby/1.9.1/gems/json-1.7.5 for inspection.
Results logged to /usr/share/foreman/vendor/ruby/1.9.1/gems/json-1.7.5/ext/json/ext/generator/gem_make.out
An error occured while installing json (1.7.5), and Bundler cannot continue.
Make sure that `gem install json -v '1.7.5'` succeeds before bundling.

Actions #1

Updated by Greg Sutcliffe over 11 years ago

  • Assignee set to Greg Sutcliffe

Thanks for the heads up - wheezy is definitely on my todo list, but no idea when we'll get to it.

If you fancy the challenge, all the debian packaging files are on https://github/theforeman/foreman-rpms, and there's a blog post on blog.theforeman.org about how they're used - feel free to fork, make it work for wheezy, and send us a pull request :)

Actions #2

Updated by Greg Sutcliffe almost 11 years ago

  • Status changed from New to Closed

There are now wheezy nightlies available in a new wheezy repo. RC/Stable packages for 1.2 will be forthcoming alongside the Squeeze ones.

Actions

Also available in: Atom PDF