a2ps build fails on OS X: ‘LC_TIME’ und eclared
Michael Williams <[email protected]> Mon, 23 Apr 2007 23:29:43 +0100
| Newsgroups | gmane.comp.printing.a2ps.bugs |
|---|---|
| Message-ID | <[email protected]> |
Hi, 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? -- Mike
config.log
(application/octet-stream, 143.7 KB) - not displayed
make.log
(application/octet-stream, 3.2 KB)
make all-recursive Making all in auxdir make[2]: Nothing to be done for `all'. Making all in m4 make[2]: Nothing to be done for `all'. Making all in etc sed "s!@date@!`date`!g;s!@version@!4.13c!g" \ ./README.in > README sed "s!@libpath@!/usr/local/share/a2ps/sheets:/usr/local/share/a2ps/ps:/usr/local/share/a2ps/encoding:/usr/local/share/a2ps/afm:/usr/local/share/ogonkify/afm:/usr/local/share/a2ps/ppd:/usr/local/share/a2ps/fonts:/usr/local/share/ogonkify/fonts:/usr/local/share/a2ps!" a2ps_cfg > a2ps.cfg Making all in ps make[2]: Nothing to be done for `all'. Making all in ogonkify Making all in doc make[3]: Nothing to be done for `all'. Making all in m4 make[3]: Nothing to be done for `all'. sed -e "s#@LIBDIR@#/usr/local/share/ogonkify#g" ogonkify.in > ogonkify-t chmod +x ogonkify-t mv ogonkify-t ogonkify Making all in lib make all-am if /bin/sh ../libtool --tag=CC --mode=compile 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 encoding.lo -MD -MP -MF ".deps/encoding.Tpo" -c -o encoding.lo encoding.c; \ then mv -f ".deps/encoding.Tpo" ".deps/encoding.Plo"; else rm -f ".deps/encoding.Tpo"; exit 1; fi 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 encoding.lo -MD -MP -MF .deps/encoding.Tpo -c encoding.c -o encoding.o encoding.c: In function ‘get_encoding_by_alias’: encoding.c:972: warning: pointer targets in passing argument 1 of ‘strlower’ differ in signedness encoding.c:972: warning: pointer targets in passing argument 2 of ‘encodings_map_resolve_alias’ differ in signedness if /bin/sh ../libtool --tag=CC --mode=compile 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 media.lo -MD -MP -MF ".deps/media.Tpo" -c -o media.lo media.c; \ then mv -f ".deps/media.Tpo" ".deps/media.Plo"; else rm -f ".deps/media.Tpo"; exit 1; fi 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 media.lo -MD -MP -MF .deps/media.Tpo -c media.c -o media.o if /bin/sh ../libtool --tag=CC --mode=compile 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 -o jobs.lo jobs.c; \ then mv -f ".deps/jobs.Tpo" ".deps/jobs.Plo"; else rm -f ".deps/jobs.Tpo"; exit 1; fi 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