Hi,

>>>>> In <[EMAIL PROTECTED]> 
>>>>>   Michael Williams <[EMAIL PROTECTED]> wrote:

> I'm the maintainer of the a2ps port in MacPorts. We're currently at
> 4.13b, and I see you've recently released a new release candidate of
> a2ps 4.13c, so I thought I'd give building it on OS X a go.

> Out of the box it's not working. config.log and the output of make
> are attached. The final lines of make are:

> gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/share/locale\" - 
> DSYSCONFFILE=\"/usr/local/etc/a2ps.cfg\" -I. -I. -I.. -I.. -I../intl - 
> I. -g -O2 -MT jobs.lo -MD -MP -MF .deps/jobs.Tpo -c jobs.c -o jobs.o
> jobs.c: In function ‘a2ps_job_new’:
> jobs.c:136: error: ‘LC_TIME’ undeclared (first use in this function)
> jobs.c:136: error: (Each undeclared identifier is reported only once
> jobs.c:136: error: for each function it appears in.)
> jobs.c:140: error: ‘LC_CTYPE’ undeclared (first use in this function)
> make[3]: *** [jobs.lo] Error 1
> make[2]: *** [all] Error 2
> make[1]: *** [all-recursive] Error 1
> make: *** [all] Error 2

> Any ideas?

Could you try adding "#include <locale.h>" to src/jobs.c?

Best regards,
MH

--
Masayuki Hatta
Graduate School of Economics, The University of Tokyo


Reply via email to