[augeas-devel] Can't install the ruby-augeas gem

Matthew Palmer matt at anchor.net.au
Tue Aug 11 09:16:53 UTC 2009


On Tue, Aug 11, 2009 at 01:15:04AM -0700, Robin Lee Powell wrote:
> Fresh machine, so I'm probably just missing some packages, but:
> 
> - ------------
> 
> debian:/usr/src# gem install ruby-augeas-0.2.0.gem
> Building native extensions.  This could take a while...
> ERROR:  Error installing ruby-augeas-0.2.0.gem:
>         ERROR: Failed to build gem native extension.
> 
> /usr/bin/ruby1.8 extconf.rb install ruby-augeas-0.2.0.gem
> *** 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.

As that error suggests, the contents of the mkmf.log file would be helpful. 

> extconf.rb:27: augeas-devel not installed (RuntimeError)

This suggests that libaugeas-dev is the missing package.  ruby1.8-dev is
also a good thing to have installed.

But anyway, don't install the gem, use the Debian package instead.  The
package from squeeze will install cleanly on Lenny.  Gems are 18 kinds of
evil.

- Matt




More information about the augeas-devel mailing list