delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/09/29/03:16:54

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,SPF_NEUTRAL
X-Spam-Check-By: sourceware.org
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: AjYBADxPwUp5LETK/2dsb2JhbAAIkUm0SJBzhB4F
Message-ID: <4AC1B44B.6080602@gmail.com>
Date: Tue, 29 Sep 2009 17:16:27 +1000
From: Chris Cormie <cjcormie AT gmail DOT com>
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Num lines in dirs: C:\cygwin\bin = 1152 C:\cygwin-1.7\bin = 289 WHY SO FEW?
References: <23428999 DOT 1253395327680 DOT JavaMail DOT ngmail AT webmail18 DOT arcor-online DOT net> <20090928220918 DOT GA14260 AT panix DOT com> <4AC17184 DOT 4020503 AT gmail DOT com> <4AC17C1E DOT 5020300 AT cygwin DOT com>
In-Reply-To: <4AC17C1E.5020300@cygwin.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Larry Hall (Cygwin) wrote:
> On 09/28/2009 10:31 PM, Chris Cormie wrote:
>> I don't think you are doing anything wrong David. setup-1.7.exe appears
>> to default to just the Base category packages. The 1.5 setup.exe selects
>> many more packages outside the Base category by default and that's the
>> difference you are seeing.
> 
> There should be little difference in how 'setup.exe' works for 1.5 vs 1.7.
> The determination for what's installed by default has not changed, though
> the overall number of packages and size may have changed somewhat.

On my machine the observed behaviour was different:
new 1.5 install -> 91 packages
new 1.7 install -> 44 packages
Note that I'm not using a "clean" machine: this is a machine that has 
Cygwin on it before and one with 1.5 and 1.7 cohabiting. I wonder if 
anyone has installed 1.7 to to a clean machine? If the base install 
package count was closer to 91 it suggests the 1.7 install process is 
affected by a prior 1.5 install, that would be interesting.

I hope I'm not confusing the issue. The impression I get is that David 
additionally expected to find packages he himself installed in 1.5 
present in the new 1.7 install?

>> As an aside I like this current behaviour: I have bandwidth constraints
>> and problems with packages interfering with each other and so find it
>> handy to start with a small core Cygwin and add the stuff I need.
>>
>> I don't know how to extract what the default packages are from the old
>> setup.exe: I suspect it's all the Base category packages plus others
>> from a list compiled into the binary though I'd be happy if someone
>> could correct me on that.
> 
> No, that's not true.  See above.

Could you explain how the installer chooses a default set of packages to 
install for a fresh Cygwin install?

>> I notice that setup-1.7.exe has a command line interface with an option
>> to select packages to install. It doesn't appear to be working yet. I
>> sure hope it is a future feature because it would be just the ticket for
>>   this issue: compile a list of packages you want to be in your default
>> install and then you could reproduce it at will.
> 
> Can you be more specific about the problem you see?

I was wrong, the command line interface *is* working for me. I was 
misled by the following apparently harmless error messages:

in cmd shell:

E:\home\admin\installers> setup-1.7.exe -D -L -s 
http://mirror.internode.on.net/
pub/cygwin/ -R e:\cygwin_1_7 -l E:\home\application_data\cygwin_1_7 -q 
-P joe

E:\home\admin\installers>Starting cygwin install, version 2.649
io_stream_cygfile: fopen(/etc/setup/net-proxy-host) failed 2 No such 
file or dir
ectory
io_stream_cygfile: fopen(/etc/setup/net-proxy-port) failed 2 No such 
file or dir
ectory
io_stream_cygfile: fopen(/etc/setup/extrakeys) failed 2 No such file or 
director
y
... proceeds to install package "joe" correctly

Additionally I needed the the "-L" flag and was omitting it:
Command Line Options:
  -D --download                          Download from internet
  -L --local-install                     Install from local directory
  -s --site                              Download site
....
I wrong assumed I could omit -L if I was freshly downloading the package 
from the mirror and installing it in one go but this is not so: I needed 
to supply both -D *and* -L options.

Chris









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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019