Foreman (debian) dependencies Issue
While installing packages of foreman on new debian[squeeze] system, getting this error
0 packages upgraded, 1 newly installed, 0 to remove and 1 not upgraded. Need to get 0 B/9902 kB of archives. After unpacking 17.4 MB will be used. Selecting previously deselected package foreman. (Reading database ... 24102 files and directories currently installed.) Unpacking foreman (from .../foreman_1.1.1+debian1_amd64.deb) ... Setting up foreman (1.1.1+debian1) ... WARNING: abstract-1.0.0 has an invalid nil value for @cert_chain WARNING: builder-2.1.2 has an invalid nil value for @cert_chain dpkg: error processing foreman (--configure): subprocess installed post-installation script returned error exit status 5 configured to not write apport reports Errors were encountered while processing: foreman E: Sub-process /usr/bin/dpkg returned an error code (1) A package failed to install. Trying to recover: Setting up foreman (1.1.1+debian1) ... dpkg: error processing foreman (--configure): subprocess installed post-installation script returned error exit status 5 Errors were encountered while processing: foreman
After running it in debug mode seems to be that "make" command was missing, Installing it fixed it.
Request you to add build-essential as a dependency to foreman package.
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension. /usr/bin/ruby1.8 extconf.rb creating Makefile make sh: make: not found Gem files will remain installed in /usr/share/foreman/vendor/ruby/1.8/gems/json-1.7.7 for inspection. Results logged to /usr/share/foreman/vendor/ruby/1.8/gems/json-1.7.7/ext/json/ext/generator/gem_make.out