Juan Manuel Guerrero <[EMAIL PROTECTED]> writes: > The compilation of getopt.c fails because in the design of this file > it is assumed that NLS support is available either through the > system libc library or through ported versions of gettext and iconv > libraries. On MSDOS/WINDOWS systems this can not always be assumed > to be true.
The getopt module depends on the gettext-h module, and the gettext-h module supplies gettext.h. It sounds like you missed this dependency. Let's put it this way: my Debian GNU/Linux stable machine doesn't have a gettext.h either, but I can compile getopt.c without trouble here, because packages that supply the gnulib module also supply the gettext-h module. > If the design goal of gnulib is really to ease the > required porting work from posix/gnu systems to non-posix systems Well, hmm, to be frank, that's not a principal design goal of gnulib. Most of gnulib is aimed at Posix (or almost-Posix) systems, not at non-Posix systems. If a port to non-Posix is easy, fine, but if not then it's probably not worth the aggravation.
