delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=2.1 required=5.0 tests=AWL,BAYES_50,DKIM_ADSP_CUSTOM_MED,FORGED_YAHOO_RCVD,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,SPF_HELO_PASS,TW_SG,TW_YG,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: strace on a2ps complains about \Device\Harddisk4\DR4 |
Date: | Mon, 02 Aug 2010 07:33:46 -0400 |
Lines: | 47 |
Message-ID: | <i36aeq$pne$1@dough.gmane.org> |
References: | <i2l8n7$7dk$1 AT dough DOT gmane DOT org> <i2lj97$ujd$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: | <i2lj97$ujd$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/26/2010 11:20 PM, René Berber wrote: > Rasputin Paskudniak wrote: > > [snip] >> I have a new Windows-7 64-bit box and Cygwin (1.75) was my first >> download. At the installation stage, I included a2ps (4.13). >> >> My problem: When I run it, I just get back to my shell prompt. This is >> even when I run "a2ps -- version". Mystery? > > No mystery, but... > >> First step: What is the exit code? echo $? displays 127. (errno.h tells >> me this is related to sockets. Highly unlikely.) So I decided to run >> it with strace: > > ... you followed the wrong procedure. > > To get the error description you do: > > $ net helpmsg 127 > > The specified procedure could not be found. > > That usually means the program, a2ps, can't find one or more of the > dynamic libraries it needs. > > To find what libraries are missing use: cygcheck `which a2ps` > > [long snip] > > Instead of strace, another tool would be better in this case, its not > from Cysgwin but from Microsoft, it's SysInternals depends. It will > tell you the same as the cygcheck. Rene, Thanks much for these two tidbits. I had not hear of the "net helpmsg" command and I have not gotten around to installing any sysinternals utilities. But since I had known of this one (depends) I would not have pulled it down anyway. Very much thanks to Dave and Rene for these insights. -- +- 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
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |