[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: a2ps build fails on OS X: ‘LC_TIME’ undeclared
From: |
Masayuki Hatta |
Subject: |
Re: a2ps build fails on OS X: ‘LC_TIME’ undeclared |
Date: |
Thu, 26 Apr 2007 07:43:35 +0900 |
User-agent: |
Wanderlust/2.15.5 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.8 (Shijō) APEL/10.7 Emacs/22.0.95 (i486-pc-linux-gnu) MULE/5.0 (SAKAKI) |
Hi,
>>>>> In <address@hidden>
>>>>> Michael Williams <address@hidden> 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: a2ps build fails on OS X: ‘LC_TIME’ undeclared,
Masayuki Hatta <=