a2ps on Cygwin quietly exits with code 127 on Windows 7

Yaakov (Cygwin/X) yselkowitz@users.sourceforge.net
Wed Sep 29 15:30:00 GMT 2010


On Fri, 2010-07-30 at 17:24 -0500, Yaakov (Cygwin/X) wrote:
> On Tue, 2010-07-27 at 01:51 -0400, Rasputin Paskudniak wrote:
> > Yaakov,
> > I have tried compiling 4.14.  Here is the last few lines of the make 
> > output, with line numbers to compensate for line-breaks:
> > 
> >      179     /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  -c -o path-concat.lo path-concat.c
> >      180  gcc -DHAVE_CONFIG_H -DLOCALEDIR=\"/usr/local/share/locale\" 
> > -DSYSCONFFILE=\"/usr/local/etc/a2ps.cfg\" -I. -I. -I.. -I.. -I../intl 
> > -I. -g -O2 -c path-concat.c -o path-concat.o
> >      181 In file included from path-concat.c:30:
> >      182 /usr/include/string.h:58: error: parse error before "void"
> 
> I got the same error, but haven't had a chance to figure it out.  If the
> a2ps maintainer doesn't appear soon then I'll try to take another look
> at it.

Sorry for the delay, I haven't looked at this in a while.  The
attached .cygport contains the workaround (namely the HAVE_MEMPCPY
define).

HTH,


Yaakov

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 4.14-font-paths.patch
Type: text/x-patch
Size: 828 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20100929/3ad8d07b/attachment.bin>
-------------- next part --------------
DESCRIPTION="Anything to PostScript converter"
HOMEPAGE="http://www.gnu.org/software/a2ps/"
SRC_URI="mirror://gnu/a2ps/${P}.tar.gz"
PATCH_URI="4.14-font-paths.patch"

DIFF_EXCLUDES="doc"

CPPFLAGS+=" -DHAVE_MEMPCPY"
NO_AUTOPOINT=1

-------------- next part --------------
--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple


More information about the Cygwin mailing list