Re: DLL error messages suppressed under zsh/RXVT

2006-09-26 Thread Williams, Gerald S \(Jerry\)
Shankar Unni wrote:
> Before sending your cygcheck.out, try checking the archives.
> This problem was talked about a couple of months ago.

Thanks for the reference. The problem I reported (check the OP)
may be related but isn't exactly the same. AFAICT, suppression
of those DLL error messages should be universal. I got error
messages (due to DLL rebase issues) in one case, but not in the
other. Worse, the program simply hung rather than returning an
error code (which the makefile would have caught, at least).

My WAG is that the fact that RXVT isn't a Windows console was
the cause of the differing error message suppression that I
saw, but as Peter Castro pointed out, perhaps "all bets are
off" when there are rebase issues.

I am still confused about Peter's ability to get a dialog box.
Is this a version difference? Is there a new CYGWIN option? I'm
getting error code 53 (ENOANO ?!?) if a DLL is missing.

BTW, I didn't see any response to Dave Korn's August 30 comment
on the "missing DLL" issue. Did I miss it? Are we looking for a
P to TC?

Dave Korn wrote:
> Of course, but there's still an issue here why this case
> doesn't get a proper ENOENT status in $? and an error
> message on stderr.

gsw

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



Re: DLL error messages suppressed under zsh/RXVT

2006-09-25 Thread Shankar Unni

Williams, Gerald S (Jerry) wrote:


 $ mv cygcrypto-0.9.8.dll cygcrypto-0.9.8.dll.NOT
 $ ./openssl
 $

No popups or error messages, just silently exits. 


Before sending your cygcheck.out, try checking the archives. This 
problem was talked about a couple of months ago. See the thread starting 
with:


http://sourceware.org/ml/cygwin/2006-08/msg01039.html


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



Re: DLL error messages suppressed under zsh/RXVT

2006-09-22 Thread Peter A. Castro

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 <[EMAIL PROTECTED]> or <[EMAIL PROTECTED]>
"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/



DLL error messages suppressed under zsh/RXVT

2006-09-22 Thread Williams, Gerald S \(Jerry\)
I recently ran into a problem where DLL error messages were
apparently suppressed under zsh/RXVT though they appeared
under bash/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.

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

gsw

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