I am trying to install OpenNebula on a fresh redhat server.
I receive error on
/usr/share/one/install_gems
Fetching nokogiri 1.6.8.1
Installing nokogiri 1.6.8.1 with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.
/usr/bin/ruby extconf.rb --use-system-libraries
mkmf.rb can’t find header files for ruby at /usr/share/include/ruby.h
Gem files will remain installed in /usr/local/share/gems/gems/nokogiri-1.6.8.1 for inspection.
Results logged to /usr/local/share/gems/gems/nokogiri-1.6.8.1/ext/nokogiri/gem_make.out
An error occurred while installing nokogiri (1.6.8.1), and Bundler cannot continue.
Make sure that gem install nokogiri -v '1.6.8.1' --source 'https://rubygems.org/' succeeds before bundling.
In Gemfile:
azure was resolved to 0.7.10, which depends on
azure-core was resolved to 0.1.14, which depends on
nokogiri
Error installing gems
Thanks Vlastimil,
I took you advise and tried on a fresh Centos7.
I strictly follow the instruction,but
during /usr/share/one/install_gems, I got this:
Complete!
Don’t run Bundler as root. Bundler can ask for sudo if it is needed, and
installing your bundle as root will break this application for all non-root
users on this machine.
fips.c(145): OpenSSL internal error, assertion failed: FATAL FIPS SELFTEST FAILURE
Error installing gems
it seems all rpms are installed.
but it follows a warning and an error.
I do not think the warning for running bundler as root results in the error.
the messages: error installing gems seems related with the fips.c(145).