This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: a2ps on Cygwin quietly exits with code 127 on Windows 7


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

--- origsrc/a2ps-4.14/configure.in	2007-05-01 23:35:49.000000000 -0500
+++ src/a2ps-4.14/configure.in	2010-09-29 05:27:02.670787200 -0500
@@ -208,6 +208,7 @@ AC_MSG_CHECKING(for PostScript fonts pat
 # Find out if ghostscript is installed
 ac_psfont_path=
 for ac_dir in /usr/local/ghostscript/fonts \
+  /usr/share/ghostscript/fonts \
   /usr/local/share/ghostscript/fonts;
 do
   if test "cd $ac_dir 2>/dev/null && echo *.afm"; then
--- origsrc/a2ps-4.14/ogonkify/configure.in	2007-12-28 20:05:05.000000000 -0600
+++ src/a2ps-4.14/ogonkify/configure.in	2010-09-29 05:26:32.049084300 -0500
@@ -22,6 +22,7 @@ AC_DEFUN([ad_IBMFONTS],
  [AC_PATH_X
   AC_MSG_CHECKING(for IBM font files)
   for i in $x_libraries/X11/fonts/Type1 \
+     /usr/share/fonts/Type1 \
      /usr/local/share/TeX/gs/fonts
   do
     if test -r "$i"; then

Attachment: a2ps-4.14-1.cygport
Description: Text document

--
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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]