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

Robin Lee Powell rlpowell at digitalkingdom.org
Tue Aug 11 16:59:20 UTC 2009


On Tue, Aug 11, 2009 at 07:16:53PM +1000, Matthew Palmer wrote:
> 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. 

Sorry, it didn't look very helpful to me, so I forgot:

$ cat /var/lib/gems/1.8/gems/ruby-augeas-0.2.0/ext/augeas/mkmf.log
package configuration for augeas is not found

> > 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.

I installed augeas from source; shouldn't that include libaugeas-dev
?

> 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.

You mean force install it by ignoring dependencies?  Because it
certainly doesn't install cleanly as is; it wants newer libc6, as
usual:

debian:/usr/src# dpkg -i  libaugeas-ruby1.8_0.2.0-2_amd64.deb libaugeas0_0.5.2-1_amd64.deb
(Reading database ... 24226 files and directories currently installed.)
Preparing to replace libaugeas-ruby1.8 0.2.0-2 (using libaugeas-ruby1.8_0.2.0-2_amd64.deb) ...
Unpacking replacement libaugeas-ruby1.8 ...
Selecting previously deselected package libaugeas0.
Unpacking libaugeas0 (from libaugeas0_0.5.2-1_amd64.deb) ...
dpkg: dependency problems prevent configuration of libaugeas0:
 libaugeas0 depends on libc6 (>= 2.8); however:
  Version of libc6 on system is 2.7-18.
 libaugeas0 depends on augeas-lenses; however:
  Package augeas-lenses is not installed.
dpkg: error processing libaugeas0 (--install):
 dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libaugeas-ruby1.8:
 libaugeas-ruby1.8 depends on libaugeas0; however:
  Package libaugeas0 is not configured yet.
dpkg: error processing libaugeas-ruby1.8 (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libaugeas0
 libaugeas-ruby1.8

-Robin

-- 
They say:  "The first AIs will be built by the military as weapons."
And I'm  thinking:  "Does it even occur to you to try for something
other  than  the default  outcome?"  See http://shrunklink.com/cdiz
http://www.digitalkingdom.org/~rlpowell/ *** http://www.lojban.org/




More information about the augeas-devel mailing list