[augeas-devel] Augeas on OSX

David Lutterkort dlutter at redhat.com
Fri May 23 16:38:24 UTC 2008


On Thu, 2008-05-22 at 21:19 -0700, Rizwan Kassim wrote:
> >> It's not a tough
> >> task, just some script changes and some sussing out of different OSX
> >> library methods that I'm not familiar with. Right now I'm hung up on
> >> errors requiring argz.h, will try to look at those later this week.
> >
> > Yeah, I have a few glibc'isms throughout the code; is argz the only one
> > that's biting you ? Does OS X's C library e.g. support open_memstream ?
> 
> Afaik, yes. The initial issues seem to be things that are GNU
> extensions that BSD/OSX don't like. Support for "strndup" for
> instance.

The best way to address this is to use gnulib[1] wherever possible (i.e.
where a gnulib module exists and is available under a LGPL-compatible
license) Chances are good that that will do the job, as we're really
only missing glibc code on other platforms, which is LGPL. But, of
course, we'll have to be careful as we import gnulib modules to not
violate any licenses.

I will look into that today (and installed a FreeBSD VM for purposes of
playing around) - there's a bit of autoconf trickery/cleanup involved as
the first step will be to move the things in config.h into configure.ac
and make config.h a generated file.

David

[1] http://www.gnu.org/software/gnulib/





More information about the augeas-devel mailing list