X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:reply-to:mime-version:to
	:subject:references:in-reply-to:content-type
	:content-transfer-encoding; q=dns; s=default; b=fwNTzo5fuw86DqqJ
	dG+CObrizbL3nKenEo3uAYBdVA4nP+fCBirmiPEC9Sw/E++L07Rm3BHn3qv8Xo5S
	2gWu/cOa06c7v/ShWVGUy/SG2NW313Az8pLZ0JduZZ8SOsGq+1sIpam8BYZGKQsH
	ZUxSgplhz3KLmzVsloTqZ9bXlX4=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:date:from:reply-to:mime-version:to
	:subject:references:in-reply-to:content-type
	:content-transfer-encoding; s=default; bh=pwSAUowm2/69LhmhKDhZ3E
	ZFO+A=; b=tQWHFxVmQb6493NSH6s4nluZT8i4QLzQfqYg2PWZyPGjyEebFbBTT4
	Z4uIH0YuHSpXQs/ImaknaHMXl/N2v852dFlbWOOM+AHNnf3bSGbH0U+5PbcjVrJ3
	ctApFpbA16XrDwYzSlKSZ8++6bpj/WotJ5+HmJHZefTLXWktn/pDE=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
X-Spam-SWARE-Status: No, score=3.0 required=5.0 tests=AWL,BAYES_00,BOTNET,EXECUTABLE_URI,KHOP_THREADED,RCVD_IN_DNSWL_NONE,RCVD_IN_HOSTKARMA_NO,RCVD_IN_HOSTKARMA_YE autolearn=no version=3.3.1
Message-id: <51CCA4E8.1040601@cygwin.com>
Date: Thu, 27 Jun 2013 16:47:36 -0400
From: "Larry Hall (Cygwin)" <reply-to-list-only-lh@cygwin.com>
Reply-to: cygwin@cygwin.com
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:17.0) Gecko/20130509 Thunderbird/17.0.6
MIME-version: 1.0
To: cygwin@cygwin.com
Subject: Re: Failure with fork()
References: <alpine.DEB.2.02.1306271112580.27492@enira.zlyna.ubzr> <alpine.DEB.2.02.1306271148230.27492@enira.zlyna.ubzr> <51CC8EE9.1080401@gmail.com> <alpine.DEB.2.02.1306271225460.27492@enira.zlyna.ubzr>
In-reply-to: <alpine.DEB.2.02.1306271225460.27492@enira.zlyna.ubzr>
Content-type: text/plain; charset=ISO-8859-1; format=flowed
Content-transfer-encoding: 7bit

On 6/27/2013 4:33 PM, Alan W. Irwin wrote:
<snip>

> I think you keep assuming I have some version of Cygwin already
> installed when that is not the case.  It is the last stage of the
> initial attempt at installation using setup.exe that fails on Wine due
> to the fork bug. Furthermore, when I download setup.exe from
> http://cygwin.com/setup.exe it contains the fork bug. That version is
> self-contained, i.e., only setup.exe needs to be downloaded, not
> cygwin1.dll in addition.  I presume that is because setup.exe uses a
> static version of the cygwin library as a matter of convenience rather
> than depending on an external cygwin1.dll that could be separately
> downloaded.

No not really.  'setup.exe' is a pure Windows executable.  It doesn't
rely on cygwin1.dll at all.  However, as part of the installation process
for individual packages, there are (possible) preremove and postinstall
scripts.  These are shell scripts that invoke Cygwin utilities.  These
utilities, therefore, use cygwin1.dll.  This is where you were seeing
the problem.

> I have looked at the table of contents of the latest
> cygwin-inst-20130619.tar.bz2 since that appears to be the most
> complete recent snapshot version.  Although it does contain a number
> of *.exe files and other core components of cygwin as advertised it is
> missing many components of Cygwin that I need.  Also, it is missing
> the key setup.exe core component which precludes any chance of
> installing the rest of what I need based on this snapshot version of
> Cygwin.

'setup.exe' is built from separate sources.  See
<http://sourceware.org/cygwin-apps/setup.html> for details.  But I don't
think this is really what you want.

> So the question still remains how do I gain access to a version of
> setup.exe with the fork fix that will allow me to not only initialize
> my Cygwin distribution for Wine without the fork abort, but also
> subsequently update it to install all components of Cygwin that I
> need?

Since you want to just run 'setup.exe', you need a new cygwin package
(i.e. cygwin-1.7.2*-*) before you'll be able to do what you want
without any extra effort on your part.  So unless you're willing to
build your own version of this package and put it in your download
directory in the appropriate spot (after you've downloaded the
packages you want), you want to just wait for the next announcement
for the cygwin package.


-- 
Larry

_____________________________________________________________________

A: Yes.
 > Q: Are you sure?
 >> A: Because it reverses the logical flow of conversation.
 >>> Q: Why is top posting annoying in email?

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

