public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
* WinXP: "make" from a Bash shell works fine, but gets "couldn't reserve space" from DOS shell
@ 2001-07-25 17:12 Karr, David
  2001-07-25 17:13 ` WinXP: "make" from a Bash shell works fine, but gets "couldn't re serve " Christopher Faylor
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Karr, David @ 2001-07-25 17:12 UTC (permalink / raw)
  To: 'cygwin@cygwin.com'

I have a user here who is trying to set up Cygwin on WinXP.  Is that
expected to work?

He was able to install all the pieces of the development environment (Cygwin
included).  When he does a "make" of our product in a Bash shell, it works
fine, just as it does on Win2k and WinNT.  When he runs "make" from a DOS
shell (or tcsh), he gets the following error:

f:\cygwin\bin\bash.exe: *** Couldn't reserve space for cygwin's heap
(0x2430000)
 in child, cygheap, Win32 error 487

One of the first things that happens in our Makefiles is that it runs a
little shell script that pulls some information from the environment.  It
appears that this "bash" shell (from the error message) is being created
because of the attempt to run that shell script.  The next line that we see
in the output is a warning from "make" saying that it wasn't able to find a
particular file, and the message makes it apparent that the shell script
returned an empty string (or nothing), which shouldn't happen.

This problem does not occur on Win2k or WinNT, either in a DOS shell, Bash
shell, or Tcsh shell.

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: WinXP: "make" from a Bash shell works fine, but gets "couldn't re serve space" from DOS shell
  2001-07-25 17:12 WinXP: "make" from a Bash shell works fine, but gets "couldn't reserve space" from DOS shell Karr, David
@ 2001-07-25 17:13 ` Christopher Faylor
  2001-07-25 20:08   ` Tim Prince
  2001-07-26  5:54   ` David Starks-Browning
  2001-07-25 17:57 ` WinXP: "make" from a Bash shell works fine, but gets "couldn'tre " Robert Collins
  2001-07-26  7:52 ` WinXP: "make" from a Bash shell works fine, but gets "couldn't reserve " Peter Buckley
  2 siblings, 2 replies; 10+ messages in thread
From: Christopher Faylor @ 2001-07-25 17:13 UTC (permalink / raw)
  To: cygwin

On Wed, Jul 25, 2001 at 05:13:40PM -0700, Karr, David wrote:
>I have a user here who is trying to set up Cygwin on WinXP.  Is that
>expected to work?

NO!

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: WinXP: "make" from a Bash shell works fine, but gets "couldn'tre serve space" from DOS shell
  2001-07-25 17:12 WinXP: "make" from a Bash shell works fine, but gets "couldn't reserve space" from DOS shell Karr, David
  2001-07-25 17:13 ` WinXP: "make" from a Bash shell works fine, but gets "couldn't re serve " Christopher Faylor
@ 2001-07-25 17:57 ` Robert Collins
  2001-07-26  7:52 ` WinXP: "make" from a Bash shell works fine, but gets "couldn't reserve " Peter Buckley
  2 siblings, 0 replies; 10+ messages in thread
From: Robert Collins @ 2001-07-25 17:57 UTC (permalink / raw)
  To: Karr, David; +Cc: 'cygwin@cygwin.com'

On 25 Jul 2001 17:13:40 -0700, Karr, David wrote:
> I have a user here who is trying to set up Cygwin on WinXP.  Is that
> expected to work?
No. XP is reported as broken by Corinna - one of the core cygwin
developers.
 
> He was able to install all the pieces of the development environment (Cygwin
> included).  When he does a "make" of our product in a Bash shell, it works
> fine, just as it does on Win2k and WinNT.  When he runs "make" from a DOS
> shell (or tcsh), he gets the following error:
> 
> f:\cygwin\bin\bash.exe: *** Couldn't reserve space for cygwin's heap
> (0x2430000)
>  in child, cygheap, Win32 error 487
This means that fork() is broken - and make is never being started. You
need to 
a) build a debug cygwin on a working machine, and try to findout whats
wrong - and fix it (or at least provide enough details that one of the
cygwin developers can fix it).
b) wait .

Rob

> One of the first things that happens in our Makefiles is that it runs a
> little shell script that pulls some information from the environment.  It
> appears that this "bash" shell (from the error message) is being created
> because of the attempt to run that shell script.  The next line that we see
> in the output is a warning from "make" saying that it wasn't able to find a
> particular file, and the message makes it apparent that the shell script
> returned an empty string (or nothing), which shouldn't happen.
> 
> This problem does not occur on Win2k or WinNT, either in a DOS shell, Bash
> shell, or Tcsh shell.
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/
> 



--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: WinXP: "make" from a Bash shell works fine, but gets "couldn't re serve space" from DOS shell
  2001-07-25 17:13 ` WinXP: "make" from a Bash shell works fine, but gets "couldn't re serve " Christopher Faylor
@ 2001-07-25 20:08   ` Tim Prince
  2001-07-26  5:54   ` David Starks-Browning
  1 sibling, 0 replies; 10+ messages in thread
From: Tim Prince @ 2001-07-25 20:08 UTC (permalink / raw)
  To: cygwin

----- Original Message -----
From: "Christopher Faylor" <cgf@redhat.com>
To: <cygwin@cygwin.com>
Sent: Wednesday, July 25, 2001 5:13 PM
Subject: Re: WinXP: "make" from a Bash shell works fine, but gets
"couldn't re serve space" from DOS shell


> On Wed, Jul 25, 2001 at 05:13:40PM -0700, Karr, David wrote:
> >I have a user here who is trying to set up Cygwin on WinXP.  Is that
> >expected to work?
>
> NO!
>
> cgf
>
XP64 requires a modified build of cygwin1.dll to run under Win32
emulation. There is no support for building native software.  XP32
emulates Win2K better; I installed cygwin and built and installed
gcc-3.1 under it, but I wouldn't "expect" everything (e.g. expect) to
work.


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: WinXP: "make" from a Bash shell works fine, but gets "couldn't re serve space" from DOS shell
  2001-07-25 17:13 ` WinXP: "make" from a Bash shell works fine, but gets "couldn't re serve " Christopher Faylor
  2001-07-25 20:08   ` Tim Prince
@ 2001-07-26  5:54   ` David Starks-Browning
  2001-07-26  7:43     ` Christopher Faylor
  1 sibling, 1 reply; 10+ messages in thread
From: David Starks-Browning @ 2001-07-26  5:54 UTC (permalink / raw)
  To: cygwin

On Wednesday 25 Jul 01, Christopher Faylor writes:
> On Wed, Jul 25, 2001 at 05:13:40PM -0700, Karr, David wrote:
> >I have a user here who is trying to set up Cygwin on WinXP.  Is that
> >expected to work?
> 
> NO!

Should this go in the FAQ?  (As if it would help...)

David


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: WinXP: "make" from a Bash shell works fine, but gets "couldn't re serve space" from DOS shell
  2001-07-26  5:54   ` David Starks-Browning
@ 2001-07-26  7:43     ` Christopher Faylor
  0 siblings, 0 replies; 10+ messages in thread
From: Christopher Faylor @ 2001-07-26  7:43 UTC (permalink / raw)
  To: cygwin

On Thu, Jul 26, 2001 at 01:53:59PM +0100, David Starks-Browning wrote:
>On Wednesday 25 Jul 01, Christopher Faylor writes:
>> On Wed, Jul 25, 2001 at 05:13:40PM -0700, Karr, David wrote:
>> >I have a user here who is trying to set up Cygwin on WinXP.  Is that
>> >expected to work?
>> 
>> NO!
>
>Should this go in the FAQ?  (As if it would help...)

Probably.  Then I can say:

NO!  Check the FAQ!

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: WinXP: "make" from a Bash shell works fine, but gets "couldn't reserve space" from DOS shell
  2001-07-25 17:12 WinXP: "make" from a Bash shell works fine, but gets "couldn't reserve space" from DOS shell Karr, David
  2001-07-25 17:13 ` WinXP: "make" from a Bash shell works fine, but gets "couldn't re serve " Christopher Faylor
  2001-07-25 17:57 ` WinXP: "make" from a Bash shell works fine, but gets "couldn'tre " Robert Collins
@ 2001-07-26  7:52 ` Peter Buckley
  2001-07-26  8:03   ` Christopher Faylor
  2 siblings, 1 reply; 10+ messages in thread
From: Peter Buckley @ 2001-07-26  7:52 UTC (permalink / raw)
  To: Karr, David, cygwin

This win32 error 487 has been covered in two long threads in the past
month or so- try using google to search the arhives for stuff like 
"windows/win32 error 487" and "cygwin heap". People were getting these
errors on winNT and/or win2k IIRC. Maybe it will help you pin down the
problem and find a workaround, or maybe through your experience with
this problem you will spearhead the port of cygwin to winXP :-)

HTH,
Peter 

"Karr, David" wrote:
> 
> I have a user here who is trying to set up Cygwin on WinXP.  Is that
> expected to work?
> 
> He was able to install all the pieces of the development environment (Cygwin
> included).  When he does a "make" of our product in a Bash shell, it works
> fine, just as it does on Win2k and WinNT.  When he runs "make" from a DOS
> shell (or tcsh), he gets the following error:
> 
> f:\cygwin\bin\bash.exe: *** Couldn't reserve space for cygwin's heap
> (0x2430000)
>  in child, cygheap, Win32 error 487
> 
> One of the first things that happens in our Makefiles is that it runs a
> little shell script that pulls some information from the environment.  It
> appears that this "bash" shell (from the error message) is being created
> because of the attempt to run that shell script.  The next line that we see
> in the output is a warning from "make" saying that it wasn't able to find a
> particular file, and the message makes it apparent that the shell script
> returned an empty string (or nothing), which shouldn't happen.
> 
> This problem does not occur on Win2k or WinNT, either in a DOS shell, Bash
> shell, or Tcsh shell.
> 
> --
> Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
> Bug reporting:         http://cygwin.com/bugs.html
> Documentation:         http://cygwin.com/docs.html
> FAQ:                   http://cygwin.com/faq/

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: WinXP: "make" from a Bash shell works fine, but gets "couldn't reserve space" from DOS shell
  2001-07-26  7:52 ` WinXP: "make" from a Bash shell works fine, but gets "couldn't reserve " Peter Buckley
@ 2001-07-26  8:03   ` Christopher Faylor
  0 siblings, 0 replies; 10+ messages in thread
From: Christopher Faylor @ 2001-07-26  8:03 UTC (permalink / raw)
  To: cygwin

On Thu, Jul 26, 2001 at 10:52:52AM -0400, Peter Buckley wrote:
>This win32 error 487 has been covered in two long threads in the past
>month or so- try using google to search the arhives for stuff like 
>"windows/win32 error 487" and "cygwin heap". People were getting these
>errors on winNT and/or win2k IIRC. Maybe it will help you pin down the
>problem and find a workaround, or maybe through your experience with
>this problem you will spearhead the port of cygwin to winXP :-)

This is just a Windows XP problem.  It is unrelated to those other messages.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: WinXP: "make" from a Bash shell works fine, but gets "couldn' t re serve space" from DOS shell
  2001-07-25 17:35 WinXP: "make" from a Bash shell works fine, but gets "couldn't re serve " Karr, David
@ 2001-07-25 18:19 ` Christopher Faylor
  0 siblings, 0 replies; 10+ messages in thread
From: Christopher Faylor @ 2001-07-25 18:19 UTC (permalink / raw)
  To: cygwin

On Wed, Jul 25, 2001 at 05:37:12PM -0700, Karr, David wrote:
>No disrespect intended, Chris, but coming from you :) , I guess I would
>appreciate a LITTLE more detail, like a statement to the effect of "no
>one has tested it yet", or "we know for a fact that it doesn't work,
>and we're not sure when it will".  I sometimes have a little trouble
>extracting enough meaning from your somewhat short (in length, not
>tone) responses.

http://cygwin.com/ml/cygwin/2001-07/msg01088.html

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 10+ messages in thread

* RE: WinXP: "make" from a Bash shell works fine, but gets "couldn't re serve space" from DOS shell
@ 2001-07-25 17:35 Karr, David
  2001-07-25 18:19 ` WinXP: "make" from a Bash shell works fine, but gets "couldn' t " Christopher Faylor
  0 siblings, 1 reply; 10+ messages in thread
From: Karr, David @ 2001-07-25 17:35 UTC (permalink / raw)
  To: 'cygwin@cygwin.com'

No disrespect intended, Chris, but coming from you :) , I guess I would
appreciate a LITTLE more detail, like a statement to the effect of "no one
has tested it yet", or "we know for a fact that it doesn't work, and we're
not sure when it will".  I sometimes have a little trouble extracting enough
meaning from your somewhat short (in length, not tone) responses.

-----Original Message-----
From: Christopher Faylor [ mailto:cgf@redhat.com ]
Sent: Wednesday, July 25, 2001 5:14 PM
To: cygwin@cygwin.com
Subject: Re: WinXP: "make" from a Bash shell works fine, but gets
"couldn't re serve space" from DOS shell


On Wed, Jul 25, 2001 at 05:13:40PM -0700, Karr, David wrote:
>I have a user here who is trying to set up Cygwin on WinXP.  Is that
>expected to work?

NO!

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2001-07-26  8:03 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-25 17:12 WinXP: "make" from a Bash shell works fine, but gets "couldn't reserve space" from DOS shell Karr, David
2001-07-25 17:13 ` WinXP: "make" from a Bash shell works fine, but gets "couldn't re serve " Christopher Faylor
2001-07-25 20:08   ` Tim Prince
2001-07-26  5:54   ` David Starks-Browning
2001-07-26  7:43     ` Christopher Faylor
2001-07-25 17:57 ` WinXP: "make" from a Bash shell works fine, but gets "couldn'tre " Robert Collins
2001-07-26  7:52 ` WinXP: "make" from a Bash shell works fine, but gets "couldn't reserve " Peter Buckley
2001-07-26  8:03   ` Christopher Faylor
2001-07-25 17:35 WinXP: "make" from a Bash shell works fine, but gets "couldn't re serve " Karr, David
2001-07-25 18:19 ` WinXP: "make" from a Bash shell works fine, but gets "couldn' t " Christopher Faylor

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).