[augeas-devel] ANNOUCE: Perl Bindings for Augeas

Dominique Dumont domi.dumont at free.fr
Mon Jun 30 20:22:56 UTC 2008


Alan Pevec <apevec at redhat.com> writes:

> Dominique Dumont wrote:
>> Source code in archived on Sourceforge within config-model project:
>>
>>   http://config-model.svn.sourceforge.net/viewvc/config-model/trunk/config-augeas/
>
> Why is there
> use 5.010000;

Ahem, actually I don't remember... It may have been generated by h2xs.
There's no good reason for not supporting perl 5.8

> This prevents using it on Fedora8 and RHEL5 which have Perl 5.8.8.

Config::Augeas should work with 5.8. I'll try this tomorrow on Rhel5.

> /usr/local is hardcoded in few places:
>
> in lib/Config/Augeas.xs
> -#include </usr/local/include/augeas.h>
> +#include <augeas.h>

I will apply this.

> and /usr/local/share/augeas/lenses/ in t/Config-Augeas*.t

This is a work-around Augeas LOADPATH bug. This can be removed once
this bug is fixed in Augeas (the fix should be in mercurial now)
I will look into this tomorrow.

> Any plans to submit this as Fedora RPM?

No. My work on Config::Augeas and Config::Model is done on spare time,
so I'd rather focus on my "upstream" role. 

> If not, I'll try quick cpanspec + patch removing /usr/local and
> submit for a package review.

If you can wait a few days, I'll update Config::Augeas to remove the
hard coded path and test with Perl 5.8

Thanks for the feedback

Dominique (at home).




More information about the augeas-devel mailing list