RE: Setup 2.218.2.9 fails to read setup.ini file from prc-tools mirror

2002-05-31 Thread Carl Sorensen

In order to make this work, I had to modify the file c:\cygwin\etc\setup\last-mirror 
and remove the final '/'.  Then it worked fine for me.

Thanks all for the help.

Carl

On Thursday, May 30, 2002 6:03 PM, Robert Collins 
[SMTP:[EMAIL PROTECTED]] wrote:
 Hmm, strange. I just tried this myself, and got the same result (I used
 direct connection, rather than IE settings).
 
 Yet, wget gets the file fine.
 
 Hmm, ah yes. DON'T put the last '/' in.
 
 Works fine for me now.
 
 Rob
 
  -Original Message-
  From: Carl Sorensen [mailto:[EMAIL PROTECTED]] 
  Sent: Friday, 31 May 2002 9:57 AM
  To: 'Robert Collins'
  Subject: RE: Setup 2.218.2.9 fails to read setup.ini file 
  from prc-tools mirror
  
  
  Rob,
  
  I entered the trailing / when I added the custom URL.  
  However, when the 
  error window popped up, it did not have the trailing /.
  
  More information:  When running Setup.exe 2.218.2.9, if I 
  select the option 
  Use IE5 Settings, I get the Unable to get setup.ini 
  message, rather 
  than the Parse error message.
  
  
  On Thursday, May 30, 2002 5:28 PM, Robert Collins 
  [SMTP:[EMAIL PROTECTED]] wrote:
   You need a trailing / on the custom URL.
  
   Rob
  
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] On Behalf Of Carl Sorensen
Sent: Friday, 31 May 2002 9:00 AM
To: 'Ton van Overbeek'; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Subject: RE: Setup 2.218.2.9 fails to read setup.ini file
from prc-tools mirror
   
   
Ton wrote:
   
   

 One thing Carl could try is to use the latest setup snapshot on
 http://cygwin.com/setup-snapshots/.
 The latest one right now is setup-2.249.exe.
 See if the problem is still there on XP with that version.

   
I followed this advice
   
The result:
   
An error window titled Cygwin Setup gives the message
Unable to get setup.ini from
http://prc-tools.sourceforge.net/install;.
   
I pointed my
browser at http://prc-tools.sourceforge.net/install/setup.ini
and successfully downloaded a copy of the setup.ini file.
   
Two questions:
(1) is there a way to make setup.exe use the setup.ini from
my drive, rather than getting a copy from the prc-tools site?
   
(2) Is there something different about the way setup
processes http:// mirror sites instead of ftp:// mirror sites?
   
Carl
   

  
  




Re: Setup 2.218.2.9 fails to read setup.ini file from prc-tools mirror

2002-05-30 Thread John Marshall

On Thu, May 30, 2002 at 09:02:12AM -0600, Carl Sorensen wrote:
 I am trying to install prc-tools on my WinXP machine, using cygwin setup 
 2.218.2.9.
[...]
 (null) line 1: parse error, unexpected $undefined.
 (null) line 1: unrecognized line in setup.ini headers (do you have the 
 latest setup?)

Yes.  This was happening intermittently while I was updating our little
setup.ini, and would go away with random changes to the file, or even if
I just saved it again.  Or something.  I couldn't figure out what was
going on.  I thought the problem had gone away, but now that it's gone
live, I've been getting a few reports that it's failing for some people.
Intermittently.  (Uninitialised variable in the parser maybe?)  The
setup.ini in question is at

http://prc-tools.sourceforge.net/install/setup.ini

in case any experts can see what dumb mistake I've made.  I've only got
HEAD setup.exe sources, I haven't yet pulled down the current branch
ones to try to figure out what the error messages are trying to tell me.
I guess I should.

Incidentally, contrary to the example at the end of
http://sources.redhat.com/cygwin-apps/setup.html, my trial and error
found that the quotation marks in sdesc were not optional.  If so, maybe
the example needs updating.

John



Re: Setup 2.218.2.9 fails to read setup.ini file from prc-tools mirror

2002-05-30 Thread Christopher Faylor

On Thu, May 30, 2002 at 06:32:19PM +0200, Ton van Overbeek wrote:
The error messages which Carl saw come from iniparse.cc, which in turn is produced
from the parser definition in iniparse.y.

From the definitions in iniparse.y it is clear that the sdesc and ldesc arguments
have to be put in quotes in order to be recognized as a single token.
So, as John said, the example at the bottom of the page
(http://sources.redhat.com/cygwin-apps/setup.html) is wrong and should be
corrected. (Rob, are you listening ?)

What specific example are you looking at?

  % grep sdesc setup.html
  sdesc: isome text/i
  pttsdesc/tt and ttldesc/tt are both mandatory fields for
  the ttsdesc/tt field is required for correct operation of setup.exe.
  pttsdesc/tt is a one line description of the package.  This is the
  ttsdesc:  boffo: A whackamole simulation in ASCII art/tt
  ttsdesc:  A whackamole simulation in ASCII art/tt
  sdesc:A whackamole simulation in ASCII art
  ttsdesc: A whackamole simulation in ASCII art/ttbr
  ttsdesc: Runtime library for a whackamole simulation in ASCII art/ttbr

They all seem to have quotes to me.

cgf



RE: Setup 2.218.2.9 fails to read setup.ini file from prc-tools mirror

2002-05-30 Thread Carl Sorensen

Ton wrote:


 
 One thing Carl could try is to use the latest setup snapshot on
 http://cygwin.com/setup-snapshots/.
 The latest one right now is setup-2.249.exe.
 See if the problem is still there on XP with that version.
 

I followed this advice

The result:

An error window titled Cygwin Setup gives the message Unable to get setup.ini from 
http://prc-tools.sourceforge.net/install;.

I pointed my browser at http://prc-tools.sourceforge.net/install/setup.ini and 
successfully downloaded a copy of the setup.ini file.

Two questions:
(1) is there a way to make setup.exe use the setup.ini from my drive, rather than 
getting a copy from the prc-tools site?

(2) Is there something different about the way setup processes http:// mirror sites 
instead of ftp:// mirror sites?

Carl




RE: Setup 2.218.2.9 fails to read setup.ini file from prc-tools mirror

2002-05-30 Thread Robert Collins

You need a trailing / on the custom URL.

Rob

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]] On Behalf Of Carl Sorensen
 Sent: Friday, 31 May 2002 9:00 AM
 To: 'Ton van Overbeek'; [EMAIL PROTECTED]; [EMAIL PROTECTED]
 Subject: RE: Setup 2.218.2.9 fails to read setup.ini file 
 from prc-tools mirror
 
 
 Ton wrote:
 
 
  
  One thing Carl could try is to use the latest setup snapshot on
  http://cygwin.com/setup-snapshots/.
  The latest one right now is setup-2.249.exe.
  See if the problem is still there on XP with that version.
  
 
 I followed this advice
 
 The result:
 
 An error window titled Cygwin Setup gives the message 
 Unable to get setup.ini from 
 http://prc-tools.sourceforge.net/install;.
 
 I pointed my 
 browser at http://prc-tools.sourceforge.net/install/setup.ini 
 and successfully downloaded a copy of the setup.ini file.
 
 Two questions:
 (1) is there a way to make setup.exe use the setup.ini from 
 my drive, rather than getting a copy from the prc-tools site?
 
 (2) Is there something different about the way setup 
 processes http:// mirror sites instead of ftp:// mirror sites?
 
 Carl
 
 




RE: Setup 2.218.2.9 fails to read setup.ini file from prc-tools mirror

2002-05-30 Thread Robert Collins

Thanks, I've corrected this.

Rob

 -Original Message-
 From: [EMAIL PROTECTED] 
 [mailto:[EMAIL PROTECTED]] On Behalf Of John Marshall
 Sent: Friday, 31 May 2002 4:18 AM
 To: [EMAIL PROTECTED]
 Subject: Re: Setup 2.218.2.9 fails to read setup.ini file 
 from prc-tools mirror
 
 
 On Thu, May 30, 2002 at 02:09:39PM -0400, Christopher Faylor wrote:
  What specific example are you looking at?
 
 setup-timestamp: 967844652
 
 @ cygwin
 sdesc: Cygwin Runtime
 ldesc: A Posix runtime emulator for Windows platforms
 version: 1.1.4
 [...]
 
 at the bottom of http://sources.redhat.com/cygwin-apps/setup.html
 (which is a different page from http://cygwin.com/setup.html)
 
 John
 




RE: Setup 2.218.2.9 fails to read setup.ini file from prc-tools mirror

2002-05-30 Thread Carl Sorensen

Rob,

I entered the trailing / when I added the custom URL.  However, when the 
error window popped up, it did not have the trailing /.

More information:  When running Setup.exe 2.218.2.9, if I select the option 
Use IE5 Settings, I get the Unable to get setup.ini message, rather 
than the Parse error message.




On Thursday, May 30, 2002 5:28 PM, Robert Collins 
[SMTP:[EMAIL PROTECTED]] wrote:
 You need a trailing / on the custom URL.

 Rob

  -Original Message-
  From: [EMAIL PROTECTED]
  [mailto:[EMAIL PROTECTED]] On Behalf Of Carl Sorensen
  Sent: Friday, 31 May 2002 9:00 AM
  To: 'Ton van Overbeek'; [EMAIL PROTECTED]; [EMAIL PROTECTED]
  Subject: RE: Setup 2.218.2.9 fails to read setup.ini file
  from prc-tools mirror
 
 
  Ton wrote:
 
 
  
   One thing Carl could try is to use the latest setup snapshot on
   http://cygwin.com/setup-snapshots/.
   The latest one right now is setup-2.249.exe.
   See if the problem is still there on XP with that version.
  
 
  I followed this advice
 
  The result:
 
  An error window titled Cygwin Setup gives the message
  Unable to get setup.ini from
  http://prc-tools.sourceforge.net/install;.
 
  I pointed my
  browser at http://prc-tools.sourceforge.net/install/setup.ini
  and successfully downloaded a copy of the setup.ini file.
 
  Two questions:
  (1) is there a way to make setup.exe use the setup.ini from
  my drive, rather than getting a copy from the prc-tools site?
 
  (2) Is there something different about the way setup
  processes http:// mirror sites instead of ftp:// mirror sites?
 
  Carl
 
  




RE: Setup 2.218.2.9 fails to read setup.ini file from prc-tools mirror

2002-05-30 Thread Robert Collins

Hmm, strange. I just tried this myself, and got the same result (I used
direct connection, rather than IE settings).

Yet, wget gets the file fine.

Hmm, ah yes. DON'T put the last '/' in.

Works fine for me now.

Rob

 -Original Message-
 From: Carl Sorensen [mailto:[EMAIL PROTECTED]] 
 Sent: Friday, 31 May 2002 9:57 AM
 To: 'Robert Collins'
 Subject: RE: Setup 2.218.2.9 fails to read setup.ini file 
 from prc-tools mirror
 
 
 Rob,
 
 I entered the trailing / when I added the custom URL.  
 However, when the 
 error window popped up, it did not have the trailing /.
 
 More information:  When running Setup.exe 2.218.2.9, if I 
 select the option 
 Use IE5 Settings, I get the Unable to get setup.ini 
 message, rather 
 than the Parse error message.
 
 
 On Thursday, May 30, 2002 5:28 PM, Robert Collins 
 [SMTP:[EMAIL PROTECTED]] wrote:
  You need a trailing / on the custom URL.
 
  Rob
 
   -Original Message-
   From: [EMAIL PROTECTED]
   [mailto:[EMAIL PROTECTED]] On Behalf Of Carl Sorensen
   Sent: Friday, 31 May 2002 9:00 AM
   To: 'Ton van Overbeek'; [EMAIL PROTECTED]; [EMAIL PROTECTED]
   Subject: RE: Setup 2.218.2.9 fails to read setup.ini file
   from prc-tools mirror
  
  
   Ton wrote:
  
  
   
One thing Carl could try is to use the latest setup snapshot on
http://cygwin.com/setup-snapshots/.
The latest one right now is setup-2.249.exe.
See if the problem is still there on XP with that version.
   
  
   I followed this advice
  
   The result:
  
   An error window titled Cygwin Setup gives the message
   Unable to get setup.ini from
   http://prc-tools.sourceforge.net/install;.
  
   I pointed my
   browser at http://prc-tools.sourceforge.net/install/setup.ini
   and successfully downloaded a copy of the setup.ini file.
  
   Two questions:
   (1) is there a way to make setup.exe use the setup.ini from
   my drive, rather than getting a copy from the prc-tools site?
  
   (2) Is there something different about the way setup
   processes http:// mirror sites instead of ftp:// mirror sites?
  
   Carl