delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/09/22/20:12:50

X-Spam-Check-By: sourceware.org
Date: Fri, 22 Sep 2006 17:11:05 -0700 (PDT)
From: "Peter A. Castro" <doctor AT fruitbat DOT org>
To: "Williams, Gerald S (Jerry)" <gsw AT agere DOT com>
cc: cygwin AT cygwin DOT com
Subject: Re: DLL error messages suppressed under zsh/RXVT
In-Reply-To: <4C89134832705D4D85A6CD2EBF38AE0F7B0F66@PAUMAILU03.ags.agere.com>
Message-ID: <Pine.LNX.4.63.0609221639270.2621@gremlin.fruitbat.org>
References: <4C89134832705D4D85A6CD2EBF38AE0F7B0F66 AT PAUMAILU03 DOT ags DOT agere DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
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 Fri, 22 Sep 2006, Williams, Gerald S (Jerry) wrote:

> I recently ran into a problem where DLL error messages were
> apparently suppressed under zsh/RXVT though they appeared
> under bash/CONSOLE.

How about under zsh/CONSOLE?

> I was trying to build Subversion 1.4.0, and it at one point
> configure runs the following command:
>
>  ruby -r mkmf -e 'exit(have_func("rb_hash_foreach") ? 0 : 1)'
>
> This never returned since mkmf#have_func() was hanging due
> to a rebase issue (at least rebaseall resolved it).
>
> The problem is, I didn't get any error messages. I normally
> run zsh under rxvt, invoked as this Windows shortcut:
>
>  C:\cygwin\bin\run.exe rxvt -ls -e zsh -l -i
>
> I was eventually able to get some warning messages about the
> inability to load certain DLLs when I switched to a bash shell
> invoked in a standard console window invoked as this Windows
> shortcut:
>
>  C:\cygwin\bin\bash.exe --login -i
>
> Unfortunately, I didn't save the messages, and of course I
> don't get them anymore now that I've rebased. I'm assuming
> that the messages were going straight to the console, which
> is why they didn't show up under RXVT, although I could be
> wrong.

Well, if your environment is inconsistent and needs to be rebased, then
all bets are off as to correct behaviour.

> Does anyone have any idea how I can get error messages like
> this while running zsh under RXVT?

Gee, I can make it happen just fine:

For example,
$ cd /bin
$ mv cygcrypto-0.9.8.dll cygcrypto-0.9.8.NOT
$ ./openssl

I get a dialog box popup which says
[openssl.exe - Unable to locate DLL]
"The dynamic link library cygcrypto-0.9.8.dll could not be found in the
specified path"

"Works"(?) for zsh & rxvt, zsh & CONSOLE, bash & rxvt, and, bash & CONSOLE.

> gsw

-- 
Peter A. Castro <doctor AT fruitbat DOT org> or <Peter DOT Castro AT oracle DOT com>
 	"Cats are just autistic Dogs" -- Dr. Tony Attwood

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

- Raw text -


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