This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [1.7] cannot run native win32 app


On Wed, Dec 17, 2008 at 05:14:47PM +0900, SungHyun Nam wrote:
> Christopher Faylor wrote:
>>Please, at the very least provide the cygcheck output that we always
>>ask for whether this is Cygwin 1.5 or 1.7.

For the record, what we "always ask for" is mentioned here:

http://cygwin.com/problems.html

In particular, we ask for cygcheck information attached to the email.

> I include results of 'cygcheck -c', 'cygcheck -s' and strace output
> below.
>
> ~/tmp[11]$ notepad&
> [1] 2076
> ~/tmp[12]$
> [1]+  Exit 127                notepad
> ~/tmp[12]$ strace -o strace.out bash -c notepad
> bash: notepad: command not found
> ~/tmp[13]$ which notepad
> /cygdrive/c/WINDOWS/system32/notepad
> ~/tmp[14]$ strace -o strace.out bash -c 
> /cygdrive/c/WINDOWS/system32/notepad
>
> ~/tmp[19]$ cygcheck -c > c-c; cygcheck -s > c-s
> cygcheck: WARNING: PATH is not set
>
> cygcheck: WARNING: PATH is not set
>
> ~/tmp[20]$ echo $PATH
> /opt/bin:/d/user/namsh/bin:/d/user/namsh/bin/t:/d/user/namsh/bin/git:/d/user/namsh/bin/share:/bin:/usr/bin:/usr/X11R6/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/c/tools/bin:/c/tools/vim/vim:/c/cygwin/bin:/c/cygwin/usr/x11r6/bin:/c/cygwin/opt/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/c/tools/bin:/c/tools/vim/vim:/c/cygwin/bin:/c/cygwin/usr/x11r6/bin:/c/cygwin/opt/bin:/d/user/namsh/bin

The fact that you have a bash variable named PATH doesn't mean that you
have an environment variable named PATH.

It might be useful to see what your full envirnoment looks like at the
command prompt by typing "set".  Then we'd see everything, including the
PATH, or Path, or pAth.

But the fact that, from your cygcheck, there don't seem to be any
environment variables being imported is rather odd.

> --- Process 2228, exception C0150004 at 7C99478E

This is suspicious.  Anything that I see on the web regarding the above
exception points to something odd on the host computer.  You might try
searching on that string and 0xc0150004 and see if anything that google
finds relates to your system.

cgf

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]