Re: gengetopt, anyone?

2011-10-02 Thread Rhys Ulerich
On Sat, Oct 1, 2011 at 6:16 PM, Reuben Thomas wrote: > I notice no-one mentioned argp. (I also notice one of autoopts's > testimonials says that it (autoopts) is simpler than argp!). But from > a quick look argp seems rather neat; it doesn't need a separate parser > and code generator, and it's av

Re: Cannot compile gettext-0.18.1.1 on latest Mac OS X

2011-10-02 Thread Bruno Haible
Gary V. Vaughan wrote: > I found this: > > https://trac.macports.org/browser/trunk/dports/devel/gettext/files/stpncpy.patch > > While plainly not the right file to patch, it does allow me to complete a > gettext-0.18.1.1 build on Mac OS 10.7.1. Yup, I think this patch (or simply using the packag

Re: gengetopt, anyone?

2011-10-02 Thread Simon Josefsson
Reuben Thomas writes: > I notice no-one mentioned argp. (I also notice one of autoopts's > testimonials says that it (autoopts) is simpler than argp!). But from > a quick look argp seems rather neat; it doesn't need a separate parser > and code generator, and it's available in gnulib. > > Why are

Re: gengetopt, anyone?

2011-10-02 Thread Bruno Haible
Hi Reuben, > I notice no-one mentioned argp. (I also notice one of autoopts's > testimonials says that it (autoopts) is simpler than argp!). But from > a quick look argp seems rather neat; it doesn't need a separate parser > and code generator, and it's available in gnulib. > > Why aren't I using

Re: gengetopt, anyone?

2011-10-02 Thread Bruce Korb
On 10/01/11 16:16, Reuben Thomas wrote: I notice no-one mentioned argp. (I also notice one of autoopts's testimonials says that it (autoopts) is simpler than argp!). But from a quick look argp seems rather neat; it doesn't need a separate parser and code generator, and it's available in gnulib.

Re: Cannot compile gettext-0.18.1.1 on latest Mac OS X

2011-10-02 Thread Gary V. Vaughan
On 2 Oct 2011, at 21:31, Gary V. Vaughan wrote: > On 2 Oct 2011, at 19:23, Gary V. Vaughan wrote: >> $ grep stpncpy /usr/include/* >> /usr/include/string.h:char*stpncpy(char *, const char *, size_t) >> __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_4_3; > > Cut-n-paste error, sorry. The trail

Re: Cannot compile gettext-0.18.1.1 on latest Mac OS X

2011-10-02 Thread Gary V. Vaughan
On 2 Oct 2011, at 19:23, Gary V. Vaughan wrote: > $ grep stpncpy /usr/include/* > /usr/include/string.h:char*stpncpy(char *, const char *, size_t) > __OSX_AVAILABLE_STARTING(__MAC_10_7, __IPHONE_4_3; Cut-n-paste error, sorry. The trailing ')' is not missing in the real string.h header.

Cannot compile gettext-0.18.1.1 on latest Mac OS X

2011-10-02 Thread Gary V. Vaughan
Hi Bruno, I wanted to bootstrap latest GNU coreutils master on my Mac, but cannot because it requires gettext-0.18.1. I didn't bother with gettext-0.18.1, but tried to compile gettext-0.18.1.1 without success: $ wget http://ftpmirror.gnu.org/gettext/gettext-0.18.1.1.tar.gz ... $ wget ftp:/

Re: a saner bootstrap script

2011-10-02 Thread Gary V. Vaughan
Hi Jim, Sorry I didn't notice your reply sooner. On 22 Sep 2011, at 23:38, Jim Meyering wrote: > Gary V. Vaughan wrote: * g...@github.com:gvvaughan/GNU-coreutils.git in gary/bootstrap https://github.com/gvvaughan/GNU-coreutils/commits/gary/bootstrap > > I'll try to find time for this n