lmi
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lmi] fork failed: no error [464]


From: Greg Chicares
Subject: Re: [lmi] fork failed: no error [464]
Date: Wed, 31 May 2006 13:48:45 +0000
User-agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)

On 2006-4-19 3:11 UTC, Greg Chicares wrote:
> 
> I would guess that it has something to do with other things in the
> environment
[...]
>   Omitted from wx-config --libs:
>   -Wl,--subsystem,windows -mwindows
> 
>   C:/lmi/src/skeleton[130]$make wx_config_check build_type=so_test 
> foo=w1234567
>   c:/wx20060323/wxWidgets/gcc342/lib/wx/config/msw-ansi-debug-2.7: fork 
> failed: no error [464]
>   make.EXE: *** [../build/skeleton/msw_generic/gcc/so_test] Error 130

I can reproduce it by setting COMSPEC to a string that names no
existing file, which would seem to bring the message
  fork failed: no such file or directory [464]
into sharper focus, except that I can't see how it ever got
mangled--I've set it this way for years:
  ComSpec=$0
  COMSPEC=$0
in '/etc/zshenv', and Mikey's ash sets it to 'C:\bin\sh.exe'.
Anyway, maybe this is another piece of the puzzle.

# COMSPEC is gibberish

C:/lmi/src/skeleton[130]$COMSPEC='gibberish'
C:/lmi/src/skeleton[0]$ComSpec='gibberish'
C:/lmi/src/skeleton[0]$make wx_config_check build_type=so_test foo=w1234567
c:/wx20060323/wxWidgets/gcc342/lib/wx/config/msw-ansi-debug-2.7: fork failed: no
 such file or directory [464]
make.EXE: *** [../build/skeleton/msw_generic/gcc/so_test] Error 130

# COMSPEC is zsh

C:/lmi/src/skeleton[130]$ls -o /usr/bin/sh.exe
-rwxrwxrwx   1 Win32      520464 Feb  3  2002 /usr/bin/sh.exe
C:/lmi/src/skeleton[0]$COMSPEC='C:\usr\bin\sh.exe'
C:/lmi/src/skeleton[0]$ComSpec='C:\usr\bin\sh.exe'
C:/lmi/src/skeleton[0]$make wx_config_check build_type=so_test foo=w1234567
Omitted from wx-config --cxxflags:

Omitted from wx-config --libs:
-Wl,--subsystem,windows -mwindows

# COMSPEC is ash

C:/lmi/src/skeleton[0]$ls -o /bin/sh.exe
-rwxrwxrwx   1 Win32      102912 Nov  6  1999 /bin/sh.exe
C:/lmi/src/skeleton[0]$COMSPEC='C:\bin\sh.exe'
C:/lmi/src/skeleton[0]$ComSpec='C:\bin\sh.exe'
C:/lmi/src/skeleton[0]$make wx_config_check build_type=so_test foo=w1234567
c:/wx20060323/wxWidgets/gcc342/lib/wx/config/msw-ansi-debug-2.7: fork failed: no
 such file or directory [464]
make.EXE: *** [../build/skeleton/msw_generic/gcc/so_test] Error 130

# ...which seems weird because this works:

C:/lmi/src/skeleton[0]$$COMSPEC -c echo $COMSPEC
/bin/sh.exe

# Anyway, it looks like the error message comes from zsh, not ash:

C:/downloads/mikey/src/src/fsrc/ash[0]$grep 'fork failed' /bin/sh.exe
C:/downloads/mikey/src/src/fsrc/ash[1]$grep 'fork failed' /usr/bin/sh.exe
Binary file /usr/bin/sh.exe matches
C:/downloads/mikey/src/src/fsrc/ash[0]$




reply via email to

[Prev in Thread] Current Thread [Next in Thread]