0
我想在Ubuntu上安裝augeas。不能在Ubuntu上安裝ruby-augeas
sudo gem install ruby-augeas
這給我的錯誤:
Building native extensions. This could take a while...
ERROR: Error installing ruby-augeas:
ERROR: Failed to build gem native extension.
/usr/bin/ruby1.9.1 extconf.rb
*** 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-augeas-config
--without-augeas-config
--with-pkg-config
--without-pkg-config
extconf.rb:27:in `<main>': augeas-devel not installed (RuntimeError)
我
sudo apt-get install ruby1.8-dev ruby1.9.1-dev augeas-tools libaugeas-dev
順便說一句,這裏是mkmf.log
文件?
我該如何安裝augeas?我需要使用gem來安裝它,因爲這將用於Puppet的Ruby版本。