[augeas-devel] Augeas on OSX

David Lutterkort dlutter at redhat.com
Fri May 30 02:26:24 UTC 2008


On Thu, 2008-05-29 at 17:51 -0700, Rizwan Kassim wrote:
> Make Augeas build on non-Linux Patch 1-7 makes it look like the
> open_memstream changes you mentioned to me are no longer needed,
> correct?

That is correct.

> A fresh OSX checkout has the following issues :

Is this a checkout from mercurial only or did you apply the patches I
sent on top of it ? (They are not committed yet) Also, you might need to
wait a couple of days until the patches I submitted for gnulib have been
committed - otherwise the path series I sent won't do you much good.

> [ rizwank at macbook /tmp/aug/augeas ] $./autogen.sh
> + ./autogen.sh
> I am going to run ./configure with --enable-warnings - if you
> wish to pass any extra arguments to it, please specify them on
> the ./autogen.sh command line.
> /usr/bin/glibtoolize: line 229: test: # serial 48 AC_PROG_LIBTOOL:
> integer expression expected
> /usr/bin/glibtoolize: line 231: test: # serial 48 AC_PROG_LIBTOOL:
> integer expression expected

No idea what that is about. Might be worth trying to get at the bottom
of this.

> configure.ac:2: installing `./missing'
> 
> (seemingly configures fine though.)

Does it populate a gnulib/ dir ?

> With the following patch :
> diff -r 01489ef21f1d src/fa.h
> --- a/src/fa.h	Thu May 29 10:51:19 2008 -0700
> +++ b/src/fa.h	Thu May 29 17:49:10 2008 -0700
> @@ -184,6 +184,10 @@
>  int fa_as_regexp(fa_t fa, char **regexp);
>  #endif
> 
> +#ifndef REG_NOERROR
> +#define REG_NOERROR 0
> +#endif
> +

You don't need that patch anymore; part of the patch series pulls regex
from gnulib, which takes care of this problem and other interface
issues.

> The remaining issues have to deal with strndup (I submitted a patch to
> this, but it's not LGPL. That being said, it's pretty simple stuff,
> I'm not really sure how to write it all over again without it looking
> similiar to the GPL version.) and with argz funcitons.

Both of these are taken from gnulib with the patches I sent - with the
small caveat that the gnulib implementation of argz was incomplete; I
submitted patches to add the missing functions from glibc. Once they are
in gnulib, you should be able to apply these patches and build without
seeing these problems.

David





More information about the augeas-devel mailing list