On 19/06/13 17:46, Charles Mean wrote:
> Hello Dominic, thank you for your reply.
>
[snip]
> make
> gcc -I. -I/usr/local/lib/ruby/1.8/x86_64-linux
> -I/usr/local/lib/ruby/1.8/x86_64-linux -I.   -fPIC -g -O2    
> -I/usr/include/libxml2    -c _augeas.c
> _augeas.c: In function 'Init__augeas':
> _augeas.c:504: error: 'AUG_ENABLE_SPAN' undeclared (first use in this
> function)
> _augeas.c:504: error: (Each undeclared identifier is reported only once
> _augeas.c:504: error: for each function it appears in.)
> _augeas.c:519: error: 'AUG_ENOSPAN' undeclared (first use in this function)
> _augeas.c:520: error: 'AUG_ECMDRUN' undeclared (first use in this function)
> make: *** [_augeas.o] Error 1 
> [snip]
>
> *> aptitude show libaugeas-dev*
> Package: libaugeas-dev
> State: installed
> Automatically installed: no
> Version: 0.7.2-1
> [snip]
> 
> Do you have a clue how to solve it ?

Looks like a version problem, the latest version of ruby-augeas requires
augeas 0.8.0 or higher, but your OS version is too old.

You probably want to use ruby-augeas 0.3.0 to match Debian 6's version,
but that's not published on rubygems.org.  Try downloading this and
running gem install against it:
http://download.augeas.net/ruby/ruby-augeas-0.3.0.gem

Else you could try Raphael's Ubuntu packages, maybe the 12.04 ones are a
close match for Debian:
https://launchpad.net/~raphink/+archive/augeas/

-- 
Dominic Cleal
Red Hat Engineering

-- 
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to puppet-users+unsubscr...@googlegroups.com.
To post to this group, send email to puppet-users@googlegroups.com.
Visit this group at http://groups.google.com/group/puppet-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to