delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/09/29/12:08:16

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-50.8 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE
X-Spam-Check-By: sourceware.org
Subject: Re: a2ps on Cygwin quietly exits with code 127 on Windows 7
From: "Yaakov (Cygwin/X)" <yselkowitz AT users DOT sourceforge DOT net>
To: cygwin <cygwin AT cygwin DOT com>
In-Reply-To: <1280528696.6508.5.camel@YAAKOV04>
References: <i2ctns$mki$1 AT dough DOT gmane DOT org> <4C4E584E DOT 7000500 AT gmail DOT com> <1280206057 DOT 4808 DOT 71 DOT camel AT YAAKOV04> <i2ls59$hmh$1 AT dough DOT gmane DOT org> <1280528696 DOT 6508 DOT 5 DOT camel AT YAAKOV04>
Date: Wed, 29 Sep 2010 05:36:34 -0500
Message-ID: <1285756594.368.26.camel@YAAKOV04>
Mime-Version: 1.0
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

--=-6ke1Jiuy9dKn8F9l1mqj
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit

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


--=-6ke1Jiuy9dKn8F9l1mqj
Content-Disposition: attachment; filename="4.14-font-paths.patch"
Content-Type: text/x-patch; name="4.14-font-paths.patch"; charset="UTF-8"
Content-Transfer-Encoding: 7bit

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

--=-6ke1Jiuy9dKn8F9l1mqj
Content-Disposition: attachment; filename="a2ps-4.14-1.cygport"
Content-Type: text/plain; name="a2ps-4.14-1.cygport"; charset="UTF-8"
Content-Transfer-Encoding: 7bit

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


--=-6ke1Jiuy9dKn8F9l1mqj
Content-Type: text/plain; charset=us-ascii

--
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
--=-6ke1Jiuy9dKn8F9l1mqj--

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019