[augeas-devel] Augeas on OSX

Rizwan Kassim rizwank at geekymedia.com
Sat May 24 03:28:48 UTC 2008


Sorry, missed it when you suggested that I reference this earlier.
gnulib/lib/argz.c has an lgpl implementation of the argz functions
gnulib/lib/strndup.c does not have a lgpl implementation of strndup. (it's gpl.)

I made some autoconfig changes for the strndup changes, should I just
replicate those and submit a patch for argz (and save you the trouble
of doing it)?

Best,
Rizwan


On Fri, May 23, 2008 at 9:38 AM, David Lutterkort <dlutter at redhat.com> wrote:
>
> 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/
>
>
>



-- 
Rizwan Kassim
Software and Systems Engineer, uWink Interactive Bistro
http://www.geekymedia.com

If there is any great secret of success in life, it lies in the
ability to put yourself in the other's place and to see things from
his point of view -- as well as your own.
-- Henry Ford




More information about the augeas-devel mailing list