delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/08/02/07:40:17

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=1.8 required=5.0 tests=AWL,BAYES_40,DKIM_ADSP_CUSTOM_MED,FORGED_YAHOO_RCVD,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,SPF_HELO_PASS,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL
X-Spam-Check-By: sourceware.org
To: cygwin AT cygwin DOT com
From: Rasputin Paskudniak <rpaskudniak AT yahoo DOT com>
Subject: Re: a2ps on Cygwin quietly exits with code 127 on Windows 7
Date: Mon, 02 Aug 2010 07:37:26 -0400
Lines: 57
Message-ID: <i36alm$qd7$1@dough.gmane.org>
References: <i2ctns$mki$1 AT dough DOT gmane DOT org> <4C4E584E DOT 7000500 AT gmail DOT com> <i2lr47$fgl$1 AT dough DOT gmane DOT org>
Mime-Version: 1.0
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.7) Gecko/20100713 Thunderbird/3.1.1
In-Reply-To: <i2lr47$fgl$1@dough.gmane.org>
X-IsSubscribed: yes
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

On 7/27/2010 1:33 AM, Rasputin Paskudniak wrote:
> On 7/26/2010 11:53 PM, Dave Korn wrote:
>> On 23/07/2010 21:23, Beau Nanaz wrote:
>>> Greetings.
>>>
>>> I have a new Windows-7 machine and one of the first things I downloaded
>>> was Cygwin, making sure to include a2ps and ps2pdf.
>>>
>>> Unlike the flawless running (after diddling $HOME/.a2ps/a2psrc) I had
>>> under my previous XP box, This one is misbehaving: It does nothing
>>> visible, even for a2ps --version.
>>
>> Try installing libintl2. a2ps.exe depends on that very old version but
>> doesn't mention it explicitly in its setup.hint dependencies.
>> (Probably it
>> used to get pulled in by default anyway by some other package but now
>> the last
>> other thing that used to use v2 of libintl has been updated to a more
>> recent
>> one so there's nothing left to cause it to be installed any more.)
>>
>> cheers,
>> DaveK
>>
>>
>>
> YEOWW! That did it. My problem has been solved - I just ran it ant then
> ran that through ps2pdf. Beautiful!!
>
> Thank you! Now where is there an FAQ on a2ps so we can add that to the
> list. I can't be the only one banging my head against the wall on this
> issue. (And whatever nomm de guerre I am using, my first name is *not*
> Harvey. ;-)

A day after I posted the above, I had an awful insight into David's 
helpful suggestion:
 >> Try installing libintl2. a2ps.exe depends on that very old version
 >> but doesn't mention it explicitly in its setup.hint dependencies.

Are there other such undocumented dependencies lurking around the Cygwin 
build?  Obviously, this one got away.  Is there any way we could edit 
that setup.hint file to fix this for the nest poor slob who encounters 
this problem?

On the Cygwin side of the blame:  In every Unix/Linux I used, if a 
shared library cannot be found, we get a very clear message, something like:
... Missing library ....
In this case, all I got was the quiet death of the program.  The only 
way to get any kind of message was to try to run it under strace, which 
yielded an unhelpful message, described in the thread with the subject line:
 > strace on a2ps complains about \Device\Harddisk4\DR4

I'd like to again thank DaveK and Rene for the help on this problem.
-- 
+- Rasputin Paskudniak -----------------------------------+
|- In perpetual pursuit of undomesticated aquatic avians -|
+---------------------------------------------------------+


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

- Raw text -


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