Re: problem with setup.exe

2008-09-04 Thread Larry Hall (Cygwin)

Bob's email wrote:
I am trying to upgrade my version of cygwin,  1.5.13(0.122/4/2) 
2005-03-01 11:01 i686

but I get the following error:

Package file agetty has a corrupt local copy, please remove and retry

Where is this file?


It's in your local download directory under the munged name of the mirror
you chose.  From there you should find 'release/agetty'.  You can either
delete the package inside this directory or the whole directory.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

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

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



A problem with setup.exe (?)

2007-08-21 Thread Angelo Graziosi

I have observed this problem with setup.exe 2.575, 2.573.2.2 and 2.578
(but, perhaps it is not a stricly setup problem).

Usually when one has some experimental package installed, setup, while
installing some other package, tries to reinstall the 'Cur' package. So
one should click to keep the exp. package. And this is OK.

This morning I forgot this and setup started to reinstall the cur. version
of libtool package. When I see this I clicked the 'Cancel' button to break
the reinstall.

This has caused a corrupted lst.gz file (libtool1.5.lst.gz): trying to
gunzip manually:

  unexpected end of file

When I have tried to reinstall the package (to be sure that all was OK),
choosing 'Reinstall', there was the error window:

   An error occured in setup-2.573.2.2
   Falag the error to Microsoft..
   ...
   Yes/NO
   ...

and setup hanged.

After many tries, the solution has been to remove the corrupted lst.gz
file and then reinstalling.

So the question is: Should setup give a warning that the lst.gz file
was corrupted, suggesting to remove it?

But perhaps, the simplest solution should be to remove the 'Cancel' button
from setup...



Cheers,

   Angelo.

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



Re: A problem with setup.exe (?)

2007-08-21 Thread Brian Dessent
Angelo Graziosi wrote:

 So the question is: Should setup give a warning that the lst.gz file
 was corrupted, suggesting to remove it?
 
 But perhaps, the simplest solution should be to remove the 'Cancel' button
 from setup...

Thanks for the report.  Setup should neither fail to clean up after
itself when interrupted, nor crash and burn when trying to read invalid
input.  I'll add it to the todo list.

Brian

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



Re: Problem with setup.exe

2007-07-06 Thread David Kastrup
cuicui [EMAIL PROTECTED] writes:

 David Kastrup a écrit :
 Hi,

 I have downloaded and non-installed a number of packages.  Now I call
 setup.exe in a batch file with

 setup -n -N -d -A -L -q -R %CYGWIN_HOME%

 and this works in that it installs what is cached in the local
 directory, but!!! just the default minimal selection, not what I have
 additionally selected and fetched using setup.exe.

 Since this is part of an automated installation procedure, this is
 quite a nuisance.  Is there any way to tell setup.exe what else to
 install when it _is_ already cached?

 Hi,

 Just add a virtual package in your setup.ini in the Base category
 that depends on the packages you need.

 I think there is no way to tell Cygwin to install every packages in the
 local directory on the command-line mode.

 Be careful, the setup.ini is erased with a fresh one each time you
 launch install from internet.

Ok, I'll try to see whether I get this done.  Basically, is there a
problem with creating a complete fake setup.ini that just lists every
package I have downloaded as belonging to category Base, with no
dependencies?

If it will get overwritten when installing from internet, there would
not seem to be much of a problem, right?

-- 
David Kastrup


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



Re: Problem with setup.exe

2007-07-06 Thread cuicui

David Kastrup a écrit :

Hi,

I have downloaded and non-installed a number of packages.  Now I call
setup.exe in a batch file with

setup -n -N -d -A -L -q -R %CYGWIN_HOME%

and this works in that it installs what is cached in the local
directory, but!!! just the default minimal selection, not what I have
additionally selected and fetched using setup.exe.

Since this is part of an automated installation procedure, this is
quite a nuisance.  Is there any way to tell setup.exe what else to
install when it _is_ already cached?


Hi,

Just add a virtual package in your setup.ini in the Base category
that depends on the packages you need.

I think there is no way to tell Cygwin to install every packages in the
local directory on the command-line mode.

Be careful, the setup.ini is erased with a fresh one each time you
launch install from internet.

Here is mine:

@ bidon
sdesc: Paquet bidon.
category: Base
requires: unzip zip gawk gzip tar sed ed vim perl python email mutt lftp
openssh rsync less bzip2 wget patch cadaver autossh stunnel curl a2ps
cron file ioperm lynx nano patchutils psutils shutdown tcp_wrappers time
util-linux whois pcre ping zsh psmisc procps
version: 0.0.1-1
source: ...

You'll have to create the source: line with the size in byte and the
md5sum of a fake package, in my example
release/bidon/bidon-0.0.1-1.tar.bz2. It has to be a real file because
setup.exe checks the md5 signature during the parsing of setup.ini.

Nicolas


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



Re: Problem with setup.exe

2007-07-06 Thread cuicui

David Kastrup a écrit :

cuicui [EMAIL PROTECTED] writes:


David Kastrup a écrit :

Hi,

I have downloaded and non-installed a number of packages.  Now I 
call setup.exe in a batch file with


setup -n -N -d -A -L -q -R %CYGWIN_HOME%

and this works in that it installs what is cached in the local 
directory, but!!! just the default minimal selection, not what I 
have additionally selected and fetched using setup.exe.


Since this is part of an automated installation procedure, this 
is quite a nuisance.  Is there any way to tell setup.exe what 
else to install when it _is_ already cached?

Hi,

Just add a virtual package in your setup.ini in the Base 
category that depends on the packages you need.


I think there is no way to tell Cygwin to install every packages 
in the local directory on the command-line mode.


Be careful, the setup.ini is erased with a fresh one each time you
launch install from internet.


Ok, I'll try to see whether I get this done.  Basically, is there a 
problem with creating a complete fake setup.ini that just lists every
 package I have downloaded as belonging to category Base, with no 
dependencies?


Switching the packages you need to the Base category should work.


If it will get overwritten when installing from internet, there would
 not seem to be much of a problem, right?


Yes, but you'll have to create the fake setup.ini from the original
one each time you download packages from internet...

I don't know what's you goal exactly, in my case, i create a fake/light
setup.ini to maintain Cygwin on 250+ windows boxes in my university.

Nicolas

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



Re: Problem with setup.exe

2007-07-06 Thread Dave
David Kastrup wrote:
 cuicui [EMAIL PROTECTED] writes:
 
 David Kastrup a écrit :
 quite a nuisance.  Is there any way to tell setup.exe what else to
 install when it _is_ already cached?

 Just add a virtual package in your setup.ini in the Base category
 that depends on the packages you need.

 Be careful, the setup.ini is erased with a fresh one each time you
 launch install from internet.
 
 If it will get overwritten when installing from internet, there would
 not seem to be much of a problem, right?

Put your small setup.ini listing the virtual package on a server with an
empty tarball. Then point setup to the server whenever you update. Don't
forget to can point it at multiple servers.

If you're just creating an install from disk/CD, you can leave the
setup.ini and empty tarball in a subdirectory of the main package cache
directory, it won't be overwritten by any update and the default
selection will be enforced.

packages/
packages/setup.exe
packages/setup.ini   downloaded by setup
packages/custom/
packages/custom/setup.ini  contains virtual
packages/custom/virtual-0.tar.bz2
packages/release/
...


Dave.


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



Re: Problem downloading setup.exe

2007-07-04 Thread Jeremy Davis-Turak

Yeah, thanks guys, it worked from home.

Stupid firewall.

On 7/3/07, Jeremy Davis-Turak  wrote:

Hi list,

I know this sounds crazy but I can't download setup.exe ... I always
get 97% of the way there then it stops.  I've tried different
browsers, different comptuers, even wget command.  Does anyone know
why it isn't working for me?  Firewall issue?

Thanks a lot,

Jeremy



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



Re: Problem downloading setup.exe

2007-07-03 Thread Jeremy Davis-Turak

Hi list,

I know this sounds crazy but I can't download setup.exe ... I always
get 97% of the way there then it stops.  I've tried different
browsers, different comptuers, even wget command.  Does anyone know
why it isn't working for me?  Firewall issue?

Thanks a lot,

Jeremy

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



Re: Problem downloading setup.exe

2007-07-03 Thread Carlo Florendo

Jeremy Davis-Turak wrote:

Hi list,

I know this sounds crazy but I can't download setup.exe ... I always
get 97% of the way there then it stops.  I've tried different
browsers, different comptuers, even wget command.  


You forgot to try one thing.

Have you tried downloading from another network?  If you're downloading 
from the office, try downloading from home, or vice versa.



Does anyone know
why it isn't working for me? 


No, unless you provide more details.  Perhaps it's a firewall issue.  In 
any case, downloading setup.exe WJJFM.


Thank you very much.

Best Regards,

Carlo

--
Carlo Florendo
Softare Engineer/Network Co-Administrator
Astra Philippines Inc.
UP-Ayala Technopark, Diliman 1101, Quezon City
Philippines
http://www.astra.ph

--
The Astra Group of Companies
5-3-11 Sekido, Tama City
Tokyo 206-0011, Japan
http://www.astra.co.jp

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



Re: Problem downloading setup.exe

2007-07-03 Thread Carlo Florendo

Carlo Florendo wrote:

Jeremy Davis-Turak wrote:


snipped

No, unless you provide more details.  Perhaps it's a firewall issue.  In 
any case, downloading setup.exe WJJFM.

  ^

Sorry, I meant, http://cygwin.com/acronyms/#WJFFM

Thank you very much.

Best Regards,

Carlo

--
Carlo Florendo
Softare Engineer/Network Co-Administrator
Astra Philippines Inc.
UP-Ayala Technopark, Diliman 1101, Quezon City
Philippines
http://www.astra.ph

--
The Astra Group of Companies
5-3-11 Sekido, Tama City
Tokyo 206-0011, Japan
http://www.astra.co.jp

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



Re: Problem downloading setup.exe

2007-07-03 Thread Larry Hall (Cygwin)

Jeremy Davis-Turak wrote:

Hi list,

I know this sounds crazy but I can't download setup.exe ... I always
get 97% of the way there then it stops.  I've tried different
browsers, different comptuers, even wget command.  Does anyone know
why it isn't working for me?  Firewall issue?


Make sure you're running version 2.573.2.2 of 'setup.exe'.  If you're
not, go to cygwin.com and click on Install Cygwin now to get it.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

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

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



Re: Problem downloading setup.exe

2007-07-03 Thread Carlo Florendo

Larry Hall (Cygwin) wrote:

Jeremy Davis-Turak wrote:

Hi list,

I know this sounds crazy but I can't download setup.exe ... I always
get 97% of the way there then it stops.  I've tried different
browsers, different comptuers, even wget command.  Does anyone know
why it isn't working for me?  Firewall issue?


Make sure you're running version 2.573.2.2 of 'setup.exe'.  


Uh, ummm,  he's trying to *download* setup exe.  ;-)

Thank you very much.

Best Regards,

Carlo

--
Carlo Florendo
Softare Engineer/Network Co-Administrator
Astra Philippines Inc.
UP-Ayala Technopark, Diliman 1101, Quezon City
Philippines
http://www.astra.ph

--
The Astra Group of Companies
5-3-11 Sekido, Tama City
Tokyo 206-0011, Japan
http://www.astra.co.jp

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



Re: Problem with setup.exe - C:\cygwin\bin\* isn't created

2007-05-30 Thread Thorsten Kampe
* Jean-Pierre Bogler (Wed, 30 May 2007 07:16:42 +0200)
 I hope you can help me, I'm really having problems to install cygwin.
 
 My OS is Win2k SP 2. I have downloaded the latest version of setup.exe
 (2.510.2.2) and stored it into C:\cyginstall.
 I started the installation with administrator rights. Then I went through
 the installation choosing:
 
 - Installation from Internet
 - C:\cygwin as root path
 - Install for all users
 - Textfile type: Unix/binary
 - Internet Connection: Direct Connection
 - A mirror near to me: http://linux.rz.tuhr-uni-bochum.de
 - I did not change the package settings and wanted to make a default
 installation
 
 The download process worked well an the installation began. After the
 installation I decided to add a desktop icon and double clicked on it.
 The dos box told me that it can't change the directory und can't find
 bash.exe :(, so I looked into the C:\cygwin directory.
 
 The only installed directories are: etc, lib, sbin, usr, var. And the files:
 cygwin.bat and cygwin.ico. There is no bin directory!
 The setup.log file is full of the complaining listed below (... means that
 the message above appears more than once).
 
 I hope you can help me. Many thanks in advance!

I mean sorry, why don't you have a look at it yourself?! It's not 
Sanskrit and it's pretty self-explaining. running: c:\Dokumente und
Einstellungen\Wohnzimmer\Desktop\PDFMergeW\PDFMerge\bin\\bash.exe -
c - couldn't get much more explicit, could it?

T.


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



RE: Problem with setup.exe - C:\cygwin\bin\* isn't created

2007-05-30 Thread Dave Korn
On 30 May 2007 11:08, Thorsten Kampe wrote:

 * Jean-Pierre Bogler (Wed, 30 May 2007 07:16:42 +0200)
 I hope you can help me, I'm really having problems to install cygwin.
 
 My OS is Win2k SP 2. I have downloaded the latest version of setup.exe
 (2.510.2.2) and stored it into C:\cyginstall.
 I started the installation with administrator rights. Then I went through
 the installation choosing: 
 
 - Installation from Internet
 - C:\cygwin as root path

 The download process worked well an the installation began. After the
 installation I decided to add a desktop icon and double clicked on it.
 The dos box told me that it can't change the directory und can't find
 bash.exe :(, so I looked into the C:\cygwin directory.
 
 The only installed directories are: etc, lib, sbin, usr, var. And the
 files: cygwin.bat and cygwin.ico. There is no bin directory!
 The setup.log file is full of the complaining listed below (... means that
 the message above appears more than once).
 
 I hope you can help me. Many thanks in advance!
 
 I mean sorry, why don't you have a look at it yourself?! It's not
 Sanskrit and it's pretty self-explaining. running: c:\Dokumente und
 Einstellungen\Wohnzimmer\Desktop\PDFMergeW\PDFMerge\bin\\bash.exe -
 c - couldn't get much more explicit, could it?


  Yes, but that's very far from an explanation of just how on earth the bin 
directory got installed in such an unexpected place, particularly when all the 
other directories ended up in the correct location.


cheers,
  DaveK
-- 
Can't think of a witty .sigline today


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



Re: Problem with setup.exe - C:\cygwin\bin\* isn't created

2007-05-30 Thread Dave
Dave Korn wrote:
 On 30 May 2007 11:08, Thorsten Kampe wrote:
 * Jean-Pierre Bogler (Wed, 30 May 2007 07:16:42 +0200)
 The download process worked well an the installation began. After the
 installation I decided to add a desktop icon and double clicked on it.
 The dos box told me that it can't change the directory und can't find
 bash.exe :(, so I looked into the C:\cygwin directory.

 The only installed directories are: etc, lib, sbin, usr, var. And the
 files: cygwin.bat and cygwin.ico. There is no bin directory!
 The setup.log file is full of the complaining listed below (... means that
 the message above appears more than once).

   Yes, but that's very far from an explanation of just how on earth the bin 
 directory got installed in such an unexpected place, particularly when all 
 the other directories ended up in the correct location.

I've seen this before. To reproduce:

1. Install cygwin to some directory, say c:\bizarro_path.
2. Optionally uninstall cygwin.
3. Install cygwin to another directory, c:\cygwin

The first install set up your /bin mount to point to c:\bizarro_path\bin.

During the second install setup.exe places almost everything in
c:\cygwin. However the contents of /bin go to the existing mount point
at c:\bizarro_path\bin. This is necessary so cygwin updates work when
you've mounted bin somewhere non-standard.

Specifically, when this problem happens cygwin.bat tries to run bash in
c:\cygwin\bin\bash.exe which is not there.

Simple enough to fix, just clear you mounts and reinstall.
c:\bizarro_path\bin\umount -a (IIRC)

I was thinking of submitting a patch to setup to warn users of /bin
being in a non-standard location relative to the install path, but
reasoned this is:

a) not a very frequent occurence
b) usually the user trying to do something strange*


Regards,

DaveK2.

* Having multiple cygwins scattered about the place, and in some cases
running them concurrently.

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



Re: Problem with setup.exe - C:\cygwin\bin\* isn't created

2007-05-30 Thread Larry Hall (Cygwin)
On 05/30/2007, Dave wrote:
 Dave Korn wrote:
   On 30 May 2007 11:08, Thorsten Kampe wrote:
   * Jean-Pierre Bogler (Wed, 30 May 2007 07:16:42 +0200)
   The download process worked well an the installation began. After 
 the
   installation I decided to add a desktop icon and double clicked on 
 it.
   The dos box told me that it can't change the directory und can't 
 find
   bash.exe  :( , so I looked into the C:\cygwin directory.
  
   The only installed directories are: etc, lib, sbin, usr, var. And 
 the
   files: cygwin.bat and cygwin.ico. There is no bin directory!
   The setup.log file is full of the complaining listed below (... 
 means that
   the message above appears more than once).
  
 Yes, but that's very far from an explanation of just how on earth the 
 bin directory got installed in such an unexpected place, particularly when 
 all the other directories ended up in the correct location.
 
 I've seen this before. To reproduce:
 
 1. Install cygwin to some directory, say c:\bizarro_path.
 2. Optionally uninstall cygwin.
 3. Install cygwin to another directory, c:\cygwin
 
 The first install set up your /bin mount to point to c:\bizarro_path\bin.

In this case, the bad bin directory appears to be the result of a
http://cygwin.com/acronyms/#3PP - PDFMerge in this case.

-- 
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
216 Dalton Rd.  (508) 893-9889 - FAX
Holliston, MA 01746

_

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

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



RE: Problem with setup.exe - C:\cygwin\bin\* isn't created

2007-05-30 Thread Thorsten Kampe
* Dave Korn (Wed, 30 May 2007 11:18:12 +0100)
 On 30 May 2007 11:08, Thorsten Kampe wrote:
  * Jean-Pierre Bogler (Wed, 30 May 2007 07:16:42 +0200)
  I hope you can help me, I'm really having problems to install cygwin.
  
  My OS is Win2k SP 2. I have downloaded the latest version of setup.exe
  (2.510.2.2) and stored it into C:\cyginstall.
  I started the installation with administrator rights. Then I went through
  the installation choosing: 
  
  - Installation from Internet
  - C:\cygwin as root path
 
  The download process worked well an the installation began. After the
  installation I decided to add a desktop icon and double clicked on it.
  The dos box told me that it can't change the directory und can't find
  bash.exe :(, so I looked into the C:\cygwin directory.
  
  The only installed directories are: etc, lib, sbin, usr, var. And the
  files: cygwin.bat and cygwin.ico. There is no bin directory!
  The setup.log file is full of the complaining listed below (... means that
  the message above appears more than once).
  
  I hope you can help me. Many thanks in advance!
  
  I mean sorry, why don't you have a look at it yourself?! It's not
  Sanskrit and it's pretty self-explaining. running: c:\Dokumente und
  Einstellungen\Wohnzimmer\Desktop\PDFMergeW\PDFMerge\bin\\bash.exe -
  c - couldn't get much more explicit, could it?
 
 
   Yes, but that's very far from an explanation of just how on earth the bin 
 directory got installed in such an unexpected place, particularly when all 
 the other directories ended up in the correct location.

A small tool to merge several PDF files into one PDF file (based on 
Ghostscript). It has the following the features: Add/Remove PDF files; 
Adjust the order of the PDF files; Merge the PDF file based on 
ps2pdf.

I guess PDFMerge brings its own small cygwin/bash/ghostscript 
installation with it.



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



Re: Problem with setup.exe - C:\cygwin\bin\* isn't created

2007-05-30 Thread morgan gangwere
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Thorsten Kampe wrote:
 * Dave Korn (Wed, 30 May 2007 11:18:12 +0100)
 On 30 May 2007 11:08, Thorsten Kampe wrote:
 * Jean-Pierre Bogler (Wed, 30 May 2007 07:16:42 +0200)
 I hope you can help me, I'm really having problems to install cygwin.

 My OS is Win2k SP 2. I have downloaded the latest version of setup.exe
 (2.510.2.2) and stored it into C:\cyginstall.
 I started the installation with administrator rights. Then I went through
 the installation choosing: 

 - Installation from Internet
 - C:\cygwin as root path
 The download process worked well an the installation began. After the
 installation I decided to add a desktop icon and double clicked on it.
 The dos box told me that it can't change the directory und can't find
 bash.exe :(, so I looked into the C:\cygwin directory.

 The only installed directories are: etc, lib, sbin, usr, var. And the
 files: cygwin.bat and cygwin.ico. There is no bin directory!
 The setup.log file is full of the complaining listed below (... means that
 the message above appears more than once).

 I hope you can help me. Many thanks in advance!
 I mean sorry, why don't you have a look at it yourself?! It's not
 Sanskrit and it's pretty self-explaining. running: c:\Dokumente und
 Einstellungen\Wohnzimmer\Desktop\PDFMergeW\PDFMerge\bin\\bash.exe -
 c - couldn't get much more explicit, could it?

   Yes, but that's very far from an explanation of just how on earth the bin 
 directory got installed in such an unexpected place, particularly when all 
 the other directories ended up in the correct location.
 
 A small tool to merge several PDF files into one PDF file (based on 
 Ghostscript). It has the following the features: Add/Remove PDF files; 
 Adjust the order of the PDF files; Merge the PDF file based on 
 ps2pdf.
 
 I guess PDFMerge brings its own small cygwin/bash/ghostscript 
 installation with it.
 
 
 
 --
 Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
 Problem reports:   http://cygwin.com/problems.html
 Documentation: http://cygwin.com/docs.html
 FAQ:   http://cygwin.com/faq/
 
 
yep

SAME with irssi and such - you gotta take them out totally before you
can do much else.

and yes its a bunch of 3pp who did this - i just remember to take
c:\program files\irssi\bin\ or whatever out of my PATH.

also, cygwin1.dll apparently does something to the registry? where it
lives, it thinks that that is bin/

gah.

hope that helps :)
- --
Just a Thought
Morgan Gangwere

For those who want my PGP key:
http://pengunassasin.kicks-ass.org/pgpKey.html

*** Wisdom for the day ***
* Dont rawquote - it gives   *
*  spammers free bait!   *
**
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGXgSwCF9T/dUsmAgRAmPZAJ0bXE1ZEdsD3LPc+MDwnEx2QbtE3wCeKzih
bJM3tiuVaqbdr5sq5xQ00yg=
=2lkB
-END PGP SIGNATURE-

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



Re: A problem with setup.exe

2005-12-07 Thread Max Bowsher
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

petro wrote:
 I've been an off and on user of Cygwin for a long time, and over the
 years the setup program (and process) has incrementally gotten better.
 I'm not all that great at development, and I really hate whinging about
 free software that more-or-less works because basically I can't do any
 better, but I've hit (what I consider) a bug in the setup program three
 or 4 times today, and it's got me a tad annoyed.
 
 When selecting packages, if one hits the arrow keys (at least the down
 arrow, I'm not sure about the others, and I'm in the middle of a lengthy
 selection process, so I'm not testing it right now) it closes all of the
 trees and sets all of the selections to the default. Was this
 deliberate, or is a bug?

I suspect that what is happening is that it is triggering a 'click'
event to the Keep/Curr/Prev/Exp radio buttons.

So, I guess it really falls into the category of 'unplanned feature'. Of
course, if the chooser control was made able to take focus, this would
not happen.


Max.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Cygwin)

iD8DBQFDltSUfFNSmcDyxYARAgnqAKCPp/Q/61WvCn/NO4KuuZo3OnPdygCfY58K
aW6SqdE3ZVubxHhlSTR1s18=
=tUwq
-END PGP SIGNATURE-

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



A problem with setup.exe

2005-12-05 Thread petro
I've been an off and on user of Cygwin for a long time, and over the 
years the setup program (and process) has incrementally gotten better. 
I'm not all that great at development, and I really hate whinging about 
free software that more-or-less works because basically I can't do any 
better, but I've hit (what I consider) a bug in the setup program three 
or 4 times today, and it's got me a tad annoyed.


When selecting packages, if one hits the arrow keys (at least the down 
arrow, I'm not sure about the others, and I'm in the middle of a lengthy 
selection process, so I'm not testing it right now) it closes all of the 
trees and sets all of the selections to the default. Was this 
deliberate, or is a bug?


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



Re: Problem building setup.exe (zlib.h not found)

2005-04-17 Thread Max Bowsher
Daniel Einspanjer wrote:
I'm trying to build setup.exe from source.
I ran into the same problem mentioned by a thread back in 2003 where
using a windows cvs.exe instead of the cygwin one caused configure to
fail, and I made it past that, but now make is failing because it
can't find zlib.h.
This is the first cygwin based build I've ever tried before.  All my
other building has been msvc based.  I took all my msvc stuff out of
the environment, but I'm not sure how to go about trying to
troubleshoot why g++ can't find zlib.h (obviously, I double checked to
make sure the zlib package is installed).
Could someone give me some pointers here?
Version of setup source?
If using source from CVS, have you read the README file, which now gives 
detailed instructions?

Max.


Re: Problem building setup.exe (zlib.h not found)

2005-04-17 Thread Brian Dessent
Daniel Einspanjer wrote:

 troubleshoot why g++ can't find zlib.h (obviously, I double checked to
 make sure the zlib package is installed).

setup is a mingw program, you need mingw-zlib and mingw-bzip2.  (the
source for these libraries used to be bundled, but if you're using a
recent CVS checkout it now uses the system provided libraries from those
packages.)

Brian


Re: Problem building setup.exe (zlib.h not found)

2005-04-17 Thread Daniel Einspanjer
Exactly what I needed to know.  Thanks muchly. :)

On 4/17/05, Brian Dessent [EMAIL PROTECTED] wrote:
 Daniel Einspanjer wrote:
 
  troubleshoot why g++ can't find zlib.h (obviously, I double checked to
  make sure the zlib package is installed).
 
 setup is a mingw program, you need mingw-zlib and mingw-bzip2.  (the
 source for these libraries used to be bundled, but if you're using a
 recent CVS checkout it now uses the system provided libraries from those
 packages.)
 
 Brian



Re: Problem building setup.exe (zlib.h not found)

2005-04-17 Thread Daniel Einspanjer
Max, sorry for not RTFMing closely enough.  I knew I had bz2 and zlib
libraries installed so I didn't click on the mingw prefix until Brian
highlighted it.

On 4/17/05, Daniel Einspanjer [EMAIL PROTECTED] wrote:
 Exactly what I needed to know.  Thanks muchly. :)
 
 On 4/17/05, Brian Dessent [EMAIL PROTECTED] wrote:
  Daniel Einspanjer wrote:
 
   troubleshoot why g++ can't find zlib.h (obviously, I double checked to
   make sure the zlib package is installed).
 
  setup is a mingw program, you need mingw-zlib and mingw-bzip2.  (the
  source for these libraries used to be bundled, but if you're using a
  recent CVS checkout it now uses the system provided libraries from those
  packages.)
 
  Brian
 



Re: Problem building Setup.exe

2003-07-25 Thread Christian Gross
Check that libgetopt++/bootstrap.sh is executable, if
it is, sorry, I don't know.  If it's not, to quote
StarTrek TNG, make it so then start again from the
setup/bootstrap.sh

Yupe it is and was.  I even downloaded a clean copy
and did a chmod for good measure.

Hope this helps!  I've only just gotten the thing
working.

Nope the libgetopt++ stuff still does not
configure

Thanks though

Christian Gross

__ 
Post your free ad now! http://personals.yahoo.ca


Re: Problem building Setup.exe

2003-07-25 Thread Max Bowsher
Christian Gross wrote:
 Check that libgetopt++/bootstrap.sh is executable, if
 it is, sorry, I don't know.  If it's not, to quote
 StarTrek TNG, make it so then start again from the
 setup/bootstrap.sh
 
 Yupe it is and was.  I even downloaded a clean copy
 and did a chmod for good measure.
 
 Hope this helps!  I've only just gotten the thing
 working.
 
 Nope the libgetopt++ stuff still does not
 configure

Please post the *exact* commands and output.


Max.



Re: Problem building Setup.exe

2003-07-25 Thread Igor Pechtchanski
On Fri, 25 Jul 2003, Christian (SerpentMage) wrote:

 On Fri, 25 Jul 2003, Christian Gross wrote:

   Hello
  
   I downloaded the Setup.exe program from the CVS
   sources.  Then in order I did the following:
  
   ./bootstrap
   ./setup/configure -C --enable-dependencies --disable-shared 
 --host=i686-pc-mingw32 --build=i686-pc-cygwin 'CC=gcc -mno-cygwin' 'CXX=g++ 
 -mno-cygwin' --enable-maintainer-mode
  
   The bootstrap was successful, but the configure was
   not.  Here is the error.
  
   checking whether byte ordering is bigendian... no
   updating cache ../config.cache
   configure: creating ./config.status
   config.status: creating \
   .infig.status: error: cannot find input file: \
   configure: error: /bin/bash '.././setup/libgetopt++/configure' failed for 
 libgetopt++
  
   Could somebody please tell me what the problem is?
  
   Thanks
   Christian Gross

  Well, Christian, it doesn't seem like you're calling the right
  programs here...  Judging by the path in the second command, you're
  running this from a directory one level up from setup's source.
  AFAIK, there is no bootstrap script there, especially not one called
  bootstrap.  There is a bootstrap.sh script *in* the setup source
  directory, and that's the one you should be calling, IIRC.  So, your
  sequence (starting at the same directory you were before) should be:

 Yes you are right there.  However, the bootstrap.sh script does get
 called.  It was a typo in the email.

 I still get the error...

 Thanks...
 Christian

Christian,

Please make sure your mailer honors the Reply-To: field.  We should keep
this discussion on the list, so this appears in the archives.

FYI, I was able to CVS checkout and build setup from scratch just now by
using the command sequence below (with the exact output).  I'm also
attaching my cygcheck -c output, just in case, so you can compare our
configurations.

A wild guess: you *do* have gcc-mingw and mingw-runtime installed, right?
Igor

[pechtcha:/tmp/test] cvs -z3 -d :pserver:[EMAIL PROTECTED]:/cvs/cygwin-apps checkout 
setup
see attached checkout.log
[pechtcha:/tmp/test] cd setup/
[pechtcha:/tmp/test/setup] chmod a+x bootstrap.sh libgetopt++/bootstrap.sh
[pechtcha:/tmp/test/setup] ./bootstrap.sh
see attached bootstrap.log
[pechtcha:/tmp/test/setup] mkdir ../build
[pechtcha:/tmp/test/setup] cd ../build
[pechtcha:/tmp/test/build] ../setup/configure -C --enable-dependencies 
--disable-shared --host=i686-pc-mingw32 --build=i686-pc-cygwin 'CC=gcc -mno-cygwin' 
'CXX=g++ -mno-cygwin' --enable-maintainer-mode
see attached configure.log
[pechtcha:/tmp/test/build] make
see attached make.log.gz
[pechtcha:/tmp/test/build] ls -l setup.exe
-rwx--x--x1 igor Administ 11209768 Jul 25 11:02 setup.exe*
[pechtcha:/tmp/test/build]

-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Pechtchanski, Ph.D.
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

I have since come to realize that being between your mentor and his route
to the bathroom is a major career booster.  -- Patrick Naughton
U setup/.cvsignore

U setup/AntiVirus.cc

U setup/AntiVirus.h

U setup/CONTRIBUTORS

U setup/ChangeLog

U setup/Exception.cc

U setup/Exception.h

U setup/FilterVisitor.cc

U setup/FilterVisitor.h

U setup/FindVisitor.cc

U setup/FindVisitor.h

U setup/GUIDELINES

U setup/IOStreamProvider.h

U setup/IniDBBuilder.cc

U setup/IniDBBuilder.h

U setup/IniDBBuilderPackage.cc

U setup/IniDBBuilderPackage.h

U setup/IniParseFeedback.cc

U setup/IniParseFeedback.h

U setup/IniParseFindVisitor.cc

U setup/IniParseFindVisitor.h

U setup/LogFile.cc

U setup/LogFile.h

U setup/LogSingleton.cc

U setup/LogSingleton.h

U setup/MD5++.cc

U setup/MD5++.h

U setup/Makefile.am

U setup/PackageSpecification.cc

U setup/PackageSpecification.h

U setup/PackageTrust.h

U setup/PickCategoryLine.cc

U setup/PickCategoryLine.h

U setup/PickLine.cc

U setup/PickLine.h

U setup/PickPackageLine.cc

U setup/PickPackageLine.h

U setup/PickView.cc

U setup/PickView.h

U setup/README

U setup/RECTWrapper.h

U setup/ScanFindVisitor.cc

U setup/ScanFindVisitor.h

U setup/String++.cc

U setup/String++.h

U setup/UserSetting.cc

U setup/UserSetting.h

U setup/UserSettings.cc

U setup/UserSettings.h

U setup/archive.cc

U setup/archive.h

U setup/archive_tar.cc

U setup/archive_tar.h

U setup/archive_tar_file.cc

U setup/autoload.c

U setup/bootstrap.sh

U setup/category.cc

U setup/category.h

U setup/check-na.bmp

U setup/check-no.bmp

U setup/check-yes.bmp

U setup/choose-rtarrow.bmp

U setup/choose-spin.bmp

U setup/choose.cc

U setup/choose.h

U setup/cistring.cc

U setup/cistring.h

U setup/compress.cc

U setup/compress.h

U setup/compress_bz.cc

U setup/compress_bz.h

U setup/compress_gz.cc

U setup/compress_gz.h

U setup/configure.in

U 

Re: Problem building Setup.exe

2003-07-25 Thread Christian (SerpentMage)
At 12:39 25/07/2003 -0400, Igor Pechtchanski wrote:
On Fri, 25 Jul 2003, Christian (SerpentMage) wrote:

FYI, I was able to CVS checkout and build setup from scratch just now by
using the command sequence below (with the exact output).  I'm also
attaching my cygcheck -c output, just in case, so you can compare our
configurations.
Following your instructions it worked.  I know what the difference 
is.  When I checked out the sources I used Tortoise CVS (a shell integrated 
tool) and not the cygwin CVS.  What is the difference?  Line feeds

This could be something to document.  It frustrated me...

Christian Gross



Re: Problem with setup.exe (last version)

2003-06-19 Thread Larry Hall
Miha Andrejasic wrote:

Hello!

I would like to use cygwin at home. But I ahve slow connection so I
downloades setup.exe and run at work. I downloaded packages to local
directory and burned them to CD. At home I tried the instal but when I
use Install from local directory and select from where and to where it
produces error. Program has generated errors and it will be closed. I
tried then the same thing at work and same thing happens. I downloaded
new set of files again and it is the same. I did it last time on Monday
16th of June.
I am using W2k on both computers. I will also like to install Xfree
server. 

What might be a problem? 


Impossible to say for sure given the information you've provided.
However, my WAG is that you created the CD with files in the root
directory.  Put them all in a subdirectory (i.e. cygwin) on the CD and
try again.  See the email list archives for more details and other
discussions on making Cygwin CDs.
--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  (508) 893-9779 - RFK Office
838 Washington Street   (508) 893-9889 - FAX
Holliston, MA 01746
--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Problem reports:   http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/


Re: Problem with setup.exe

2003-01-14 Thread Max Bowsher
yann Bassing wrote:
 Under win2000, the setup.exe fails to launch :
 setup.exe has generated errors and will be closed by windows...

 What's wrong ? Help me please...

Most odd. For some reason, setup.exe works perfectly for the majority of
people, but a very few get bad misbehaviour.

I suggest you try the beta version of setup available at
http://cygwin.com/setup-snapshots/

Max.


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




Lesstif compilation problem and setup.exe

2002-11-11 Thread Mark Manning
I decided to try compiling the latest version of Lesstif to get my feet 
wet doing compilations of packages.  Download and untaring went well. 
Compilation seemed to go ok also until I'd gotten about 3/4 of the way 
through.  Then Cygwin refused to continue compiling.  I was in fvwm2 at 
the time.  When I flipped back to the window for Cygwin it had quite a 
few messages about having run out of process space and that it could no 
longer fork a new process.  I could not even exit Cygwin.  (ie: typing 
exit just generated a new error.)

I decided that maybe fvwm2 was the culprit (after all X does suck up a 
lot of process space sometimes) and so I rebooted my system, got back 
into Cygwin, and recompiled.  Same results.

My System:

Windows98se box
Memory: 512mb
HDD: 30GB (17GB used)
Motherboard graphics, sound, etc

Cygwin version: (currently downloading latest version to give this a go 
again [as I type]) Release available on August 5th, 2002.  Full 
installation download.

Notes: I was using tcsh under fvwm2.  Nothing fancy and I just did a 
make (no options) after doing the ./configure (no options).  There 
didn't seem to be any problems with the compilations (no errors only a 
few warnings).  It just seemed to be the number of iterations make had 
to go through which caused it to run out of process space.

If you need a screen dump - let me know.  I can either try to capture 
the text itself (didn't work before but I can try again) or do a screen 
capture (found a nice on-line product).  Didn't want to post the screen 
capture.

Setup.exe:

I'd like to propose a couple of changes to setup.exe:
   1.Make the dialog box resizable.  It would be nice to be able to 
see the entire set of
   information about what is going to be downloaded without 
having to scroll back and
   forth.

   2.Change the options on what to do so Update is shown.  Either 
Install/Update or
   maybe a separate radio button.  Anything just so we don't go 
I don't want to install
   the whole thing again! before remembering the program is 
smart enough to just do the
   update.  :-)

TIA!

Mark Manning



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



RE: Lesstif compilation problem and setup.exe

2002-11-11 Thread Scott Prive
 -Original Message-
 From: Mark Manning [mailto:markem;ev1.net]
 Sent: Monday, November 11, 2002 12:20 PM
 To: [EMAIL PROTECTED]
 Subject: Lesstif compilation problem and setup.exe
 

snipped out your primary problem which I can't help with..

 If you need a screen dump - let me know.  I can either try to capture 
 the text itself (didn't work before but I can try again) or 
 do a screen 
 capture (found a nice on-line product).  Didn't want to post 
 the screen 
 capture.

See `man script`. Run this before doing your compile, and you'll begin a disk log of 
everything on your terminal.

Even if the process dies at the same as the others, it should have a record up until 
that point. If it's a reasonable size for posting, the general concensus is to post as 
an attachment so it doesn't generate false hits in the list archive searches..

For your primary concern, hopefully someone else will step up with real answers.  :-)

You might also attempt compiling  building a smaller package to triage what breaks 
your system (ie, try packaging bash and avoiding anything X-related).



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




/usr/lib/w32api problem in setup.exe needs immediate investigation

2002-03-20 Thread Christopher Faylor

Is anyone investigating the problem with /usr/lib/w32api problem in
setup.exe?

w32api is being created in c:/cygwin/usr/lib/w32api rather than
c:/cygwin/lib/w32api .

cgf



RE: /usr/lib/w32api problem in setup.exe needs immediate investigation

2002-03-20 Thread Robert Collins

I will check this tonight. 

 -Original Message-
 From: Christopher Faylor [mailto:[EMAIL PROTECTED]] 
 Sent: Thursday, March 21, 2002 5:37 PM
 To: [EMAIL PROTECTED]
 Subject: /usr/lib/w32api problem in setup.exe needs immediate 
 investigation
 
 
 Is anyone investigating the problem with /usr/lib/w32api 
 problem in setup.exe?
 
 w32api is being created in c:/cygwin/usr/lib/w32api rather 
 than c:/cygwin/lib/w32api .
 
 cgf
 



Re: Preliminary patch for symlink problem in setup.exe

2002-01-15 Thread Christopher Faylor

On Tue, Jan 15, 2002 at 07:38:34PM +0100, Corinna Vinschen wrote:
And a question:  Wouldn't it make sense to uninstall first on
Reinstall, too?

It doesn't do this already?  Hmm.  I would expect a reinstall to
be equivalent to an uninstall/install, yes.

cgf



Re: Preliminary patch for symlink problem in setup.exe

2002-01-15 Thread Corinna Vinschen

On Tue, Jan 15, 2002 at 01:41:19PM -0500, Chris Faylor wrote:
 On Tue, Jan 15, 2002 at 07:38:34PM +0100, Corinna Vinschen wrote:
 And a question:  Wouldn't it make sense to uninstall first on
 Reinstall, too?
 
 It doesn't do this already?  Hmm.  I would expect a reinstall to
 be equivalent to an uninstall/install, yes.

Yeah, me too(tm).

The current implementation just installs over the existing files
(getting the endless-loop problem when the file is locked).

Corinna

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
Red Hat, Inc.



Preliminary patch for symlink problem in setup.exe

2002-01-14 Thread Corinna Vinschen

I've found a problem in setup.exe which potentially results in
two symlinks with the same name.

As you know, the default setting for symlinks in Cygwin is using
Windows shortcuts while setup.exe always creates symlinks as
the old-style system files.

Now imagine the following simple situation

- Delete /usr/bin/slogin by mistake.

- Recreate /usr/sbin/slogin with ln(1) creates a Windows shortcut
  /usr/sbin/slogin.lnk.

- A new OpenSSH package is downloaded using setup.exe.

Now look into the /usr/bin directory.  You will find two files,
`slogin' and `slogin.lnk'.


The following patch is a quick hack which I'd like to get reviewed
by the active setup contributors (not me).

The additional advantage of that patch is that it alleviates the
problem that setup complains when a file couldn't be installed
because the file already exists and couldn't be unlinked before.
That happens mostly when the R/O file attribute is set since
DeleteFile() fails then.

Oh, and I'm using the new INVALID_FILE_ATTRIBUTES define which
I found in the latest MSDN (surprise, surprise) and which
substitutes all prior ((DWORD) -1) or 0x constants
to mark the return code of GetFileAttributes() for ... yeah, you
guessed it, invalid file attributes.

Corinna

2002-01-14  Corinna Vinschen  [EMAIL PROTECTED]

* package_meta.cc (packagemeta::uninstall): Uninstall a file
even with trailing .lnk.  Unset R/O file attribute before
trying to delete file.

Index: package_meta.cc
===
RCS file: /cvs/src/src/winsup/cinstall/package_meta.cc,v
retrieving revision 2.11
diff -u -p -r2.11 package_meta.cc
--- package_meta.cc 2002/01/06 11:31:47 2.11
+++ package_meta.cc 2002/01/14 21:08:44
@@ -120,11 +120,22 @@ packagemeta::uninstall ()
{
  dirs.add_subdirs (line);
 
+ char buf[512];
  char *d = cygpath (/, line, NULL);
+
  DWORD dw = GetFileAttributes (d);
- if (dw != 0x  !(dw  FILE_ATTRIBUTE_DIRECTORY))
+ if (dw == INVALID_FILE_ATTRIBUTES)
{
+ /* Check for Windows shortcut. */
+ strcpy (buf, d);
+ strcat (buf, .lnk);
+ d = buf;
+ dw = GetFileAttributes (d);
+   }
+ if (dw != INVALID_FILE_ATTRIBUTES  !(dw  FILE_ATTRIBUTE_DIRECTORY))
+   {
  log (LOG_BABBLE, unlink %s, d);
+ SetFileAttributes (d, dw  ~FILE_ATTRIBUTE_READONLY);
  DeleteFile (d);
}
  line = installed-getnextfile ();

-- 
Corinna Vinschen  Please, send mails regarding Cygwin to
Cygwin Developermailto:[EMAIL PROTECTED]
Red Hat, Inc.