chere problem with directories with single quote marks

2005-12-23 Thread Tom Plunket
Hey gang,

So I started having this little issue with chere, where every once in
a while the startup fails.  I go to the parent folder, and it works
just dandy.

I actually bothered to think about the problem today, and it has to do
with the way the folder name is quoted.  I use bash, and here's the
string in the chere script:

   SHELL_CMD="-l -c \\\"cd '%L'; exec $SHELL_EXE\\\""

As you can see, this is clearly "wrong" for folders with a
single-quote mark in them.

My local fix was just to edit the registry and change '%L' to "%L".
Obviously this affects the handling of this feature with folders that
have a double-quote mark in them, but as I only use single quotes
(e.g. "Debbie's Truck" or "Craig's List"), it Works For Me.  ;)

Maybe there's a way to get quoted strings out of Windows?  I really
don't know too much about the way this stuff works in Windows, so
couldn't give you a Real Answer, but wanted to flag this issue as I
didn't see this specific behavior discussed in the archives.

btw, thanks for doing this.  I always had some hack or another to get
this functionality but it was never truly what I wanted it to be.
Maybe this has been there forever, but I never knew about it 'til this
past fall (and I've been using Cygwin here and there since B19).

-tom!


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



How to really really "remove all mounts"

2005-12-23 Thread fergus
I find that the command
$ umount -A
intended to "remove all mounts" (see man) actually leaves straggling
$ mount -m
mount -s -b --change-cygdrive-prefix "/cygdrive"
$ mount -p
Prefix  Type Flags
/cygdrive   system   binmode
and to make certain of getting what I want (all mounts removed) I
laboriously type
$ umount -uc ; umount -uA ; umount -sc ; umount -sA
Is the current behaviour of "umount -A" as intended, or, if not, please
could it be tweaked to be really really equivalent to the last command line
typed above?
Thank you.
Fergus


--
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: Please try a snapshot - final push for 1.5.19

2005-12-23 Thread Eric Blake
> 
> I played with this all day and I can't convince myself that it isn't a
> readline bug.  It seems like there is a situation where bash/readline
> unmasks SIGINT and potentially lets a stray CTRL-C in while the signal
> handler is still carefully dealing with signals, causing recursion and,
> eventually, an overflow of cygwin's signal stack.

Indeed it is a readline bug; Chet Ramey confirmed it:
http://article.gmane.org/gmane.comp.shells.bash.bugs/8559

However, he didn't mention whether it was fixed prior to or
after readline 5.1, which I am still in the middle of preparing
as an experimental package.  Nor did he mention directly
what the fix is, or I might have been able to prepare a
patched readline 5.0 with the fix.

> 
> In any event, this isn't a regression and, unless I have an amazing
> insight sometime soon, I don't think there is any way to fix this
> in the cygwin DLL.

Agreed - cygwin shouldn't have to go to great lengths to
work around a program that mistakenly calls kill() from inside a
signal handler.

--
Eric Blake
volunteer cygwin readline maintainer

--
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: Cygwin install (v2.510.2.2) failure WinXPHome fopen failed 22 invalid argument.

2005-12-23 Thread Phil Pollock
When I tried the latest snapshots,  I didn't go through all the combinations 
- I just found a combination that actually works! Everything downloads and 
installs very quickly.


- the latest setup snapshot: setup-2.523.exe
- used C:\Cygwin and C:\Cygwin_localpkg folders
- Norton Antivirus auto-protect disabled
- a different mirror: http://mirror.mcs.anl.gov/cygwin

TNX


From: "Larry Hall (Cygwin)" <[EMAIL PROTECTED]>
Reply-To: cygwin@cygwin.com
To: Phil Pollock <[EMAIL PROTECTED]>
CC: cygwin@cygwin.com
Subject: Re: Cygwin install (v2.510.2.2) failure WinXPHome fopen failed 22  
invalid  argument.

Date: Fri, 23 Dec 2005 20:59:44 -0500

Phil Pollock wrote:
I'm sure this is frustrating for both of us. I was expecting Cygwin to be 
running a couple of days ago.  There is nothing unusual about what I am 
doing with setup.exe.  I don't know why setup.exe would be sensitive to my 
hardware/software more than other people's.




Yeah, probably the only way to really get to the bottom of this is for
you to build "setup.exe" locally in debug and then running it in gdb to
see what it's doing when it starts to hog VM.





1. As previously stated, under all installation attempts (except the 
first):


   """
   1. I emptied folders:
   C:\Shareware\Cygwin
   C:\Shareware\Cygwin\LocalPkg

   """

When I say that I 'emptied folders',  I deleted all folders/files in each 
folder except the main folder itself,  including the .log files and all 
downloaded files.  As a consequence the 'setup.log' and 'setup.log.full' 
files were deleted on each test.


Therefore,  there was no appending of old error messages - the date/time 
stamps on the messages tell you that the errors are not appended from 
other runs. I've included the setup.log.full for the latest setup run 
(fewer error messages) at the end of this response.



2. 'Download Without Installing' is the exact text on the dialog option I 
selected.  Following some downloads I did try an installation always with 
the same bad VM results.



3. Don't assume that this is package specific: 'So, your real problem is 
setup hogging up all the VM
while installing the alternatives package.'  I tried other iterations that 
included SKIPPING this package and others (one at a time and in 
combinations) - same results.  This is probably not package specific.



Yeah but it could be a combination of packages.  Try doing two installs.
One with the default set of packages only (don't pick any yourself) and
a subsequent one where you install the remainder of the packages you want,
assuming the first is successful.


4. No /var/log/setup.log file was created.  Also, these folders don't 
exist either.  I believe that setup.exe failed to create them due to the 
bad path string.



See below.


5. I have never been successful at setting up any part of Cygwin - so 
there are no after installation issues to worry about yet.



6. When I say 'while' it means that literally Cygwin setup is running the 
'Install from Local Directory' (after a previous 'Download Without 
Installing') - I am literally watching it run and also (at the same) time 
I am watching VM Size under the Windows Task Manager.  I am also watching 
the File Explorer to see what folders and files are being generated.  The 
'Install from Local Directory' part of setup.exe has never finished.  When 
VM size approaches 1,000,000K+ my mouse won't even move and it is 
difficult to terminate setup.exe.  When I let it go - VM manager 
terminates setup.exe.


7. As I previously stated,  I am running under the admin account - I have 
full registry access during setup.


8. As I previously stated, I tried 'Install from Local Directory' with NAV 
auto-protect disabled - same result.


9. As I previously stated, I tried a download followed by installation 
without nested folders. Specifically I used 'C:\Cygwin' and 
'C:\Cygwin_localpkg'.  Same results.


10. It doesn't take long to delete and download the files - this way I 
always start each installation test in the same starting state.


11. Why is setup.exe trying to access files under '/etc/setup/...' - these 
don't exist?



These would be found under C:\ShareWare\Cygwin.  "setup.exe" understands 
this.




 setup.log.full ==

2005/12/23 16:30:52 Starting cygwin install, version 2.523
2005/12/23 16:30:52 io_stream_cygfile: fopen(/etc/setup/last-action) 
failed 22 Invalid argument
2005/12/23 16:30:52 io_stream_cygfile: fopen(/etc/setup/last-mirror) 
failed 22 Invalid argument
2005/12/23 16:30:52 io_stream_cygfile: fopen(/etc/setup/last-connection) 
failed 22 Invalid argument
2005/12/23 16:30:52 io_stream_cygfile: fopen(/etc/setup/last-cache) failed 
22 Invalid argument
2005/12/23 16:30:52 Current Directory: C:\Documents and 
Settings\Owner\Desktop



Try not running from a directory with spaces in the names.


--
Larry Hall  http://www.rfk.com
RFK Partners, Inc.  

Re: Cygwin install (v2.510.2.2) failure WinXPHome fopen failed 22 invalid argument.

2005-12-23 Thread Larry Hall (Cygwin)

Phil Pollock wrote:
I'm sure this is frustrating for both of us. I was expecting Cygwin to 
be running a couple of days ago.  There is nothing unusual about what I 
am doing with setup.exe.  I don't know why setup.exe would be sensitive 
to my hardware/software more than other people's.




Yeah, probably the only way to really get to the bottom of this is for
you to build "setup.exe" locally in debug and then running it in gdb to
see what it's doing when it starts to hog VM.





1. As previously stated, under all installation attempts (except the 
first):


   """
   1. I emptied folders:
   C:\Shareware\Cygwin
   C:\Shareware\Cygwin\LocalPkg

   """

When I say that I 'emptied folders',  I deleted all folders/files in 
each folder except the main folder itself,  including the .log files and 
all downloaded files.  As a consequence the 'setup.log' and 
'setup.log.full' files were deleted on each test.


Therefore,  there was no appending of old error messages - the date/time 
stamps on the messages tell you that the errors are not appended from 
other runs. I've included the setup.log.full for the latest setup run 
(fewer error messages) at the end of this response.



2. 'Download Without Installing' is the exact text on the dialog option 
I selected.  Following some downloads I did try an installation always 
with the same bad VM results.



3. Don't assume that this is package specific: 'So, your real problem is 
setup hogging up all the VM
while installing the alternatives package.'  I tried other iterations 
that included SKIPPING this package and others (one at a time and in 
combinations) - same results.  This is probably not package specific.



Yeah but it could be a combination of packages.  Try doing two installs.
One with the default set of packages only (don't pick any yourself) and
a subsequent one where you install the remainder of the packages you want,
assuming the first is successful.


4. No /var/log/setup.log file was created.  Also, these folders don't 
exist either.  I believe that setup.exe failed to create them due to the 
bad path string.



See below.


5. I have never been successful at setting up any part of Cygwin - so 
there are no after installation issues to worry about yet.



6. When I say 'while' it means that literally Cygwin setup is running 
the 'Install from Local Directory' (after a previous 'Download Without 
Installing') - I am literally watching it run and also (at the same) 
time I am watching VM Size under the Windows Task Manager.  I am also 
watching the File Explorer to see what folders and files are being 
generated.  The 'Install from Local Directory' part of setup.exe has 
never finished.  When VM size approaches 1,000,000K+ my mouse won't even 
move and it is difficult to terminate setup.exe.  When I let it go - VM 
manager terminates setup.exe.


7. As I previously stated,  I am running under the admin account - I 
have full registry access during setup.


8. As I previously stated, I tried 'Install from Local Directory' with 
NAV auto-protect disabled - same result.


9. As I previously stated, I tried a download followed by installation 
without nested folders. Specifically I used 'C:\Cygwin' and 
'C:\Cygwin_localpkg'.  Same results.


10. It doesn't take long to delete and download the files - this way I 
always start each installation test in the same starting state.


11. Why is setup.exe trying to access files under '/etc/setup/...' - 
these don't exist?



These would be found under C:\ShareWare\Cygwin.  "setup.exe" understands this.



 setup.log.full ==

2005/12/23 16:30:52 Starting cygwin install, version 2.523
2005/12/23 16:30:52 io_stream_cygfile: fopen(/etc/setup/last-action) 
failed 22 Invalid argument
2005/12/23 16:30:52 io_stream_cygfile: fopen(/etc/setup/last-mirror) 
failed 22 Invalid argument
2005/12/23 16:30:52 io_stream_cygfile: fopen(/etc/setup/last-connection) 
failed 22 Invalid argument
2005/12/23 16:30:52 io_stream_cygfile: fopen(/etc/setup/last-cache) 
failed 22 Invalid argument
2005/12/23 16:30:52 Current Directory: C:\Documents and 
Settings\Owner\Desktop



Try not running from a directory with spaces in the names.


--
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: cygwin returning screen on exit?

2005-12-23 Thread Igor Peshansky
On Fri, 23 Dec 2005, Tyler Spivey wrote:

> Hello. How can I tell cygwin not to return the screen to the state it
> was in before running a full screen program such as vim or mutt? This is
> highly annoying.

I actually find it useful, but to each his own...  There are two ways of
doing it: one is on a program-by-program basis, and the other is modifying
your terminal settings.

In Vim, you can turn it off by manipulating the terminfo entries (the
exact recipe can be obtained by typing ":help 'restorescreen'" in vim).
I have no idea how to do this in mutt, but others may chime in.

Alternatively, you can edit your terminfo database -- see "man terminfo"
for details.
HTH,
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED] | [EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_Igor Peshansky, Ph.D. (name changed!)
 |,4-  ) )-,_. ,\ (  `'-'   old name: Igor Pechtchanski
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

--
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: Please try a snapshot - final push for 1.5.19

2005-12-23 Thread Buzz
Op Fri, 23 Dec 2005 17:07:05 -0500 schreef Christopher Faylor
in <20051223220705.GA28617trixie.casa.cgf.cx>:
:  On Fri, Dec 23, 2005 at 10:46:04PM +0100, Bas van Gompel wrote:
: > Op Wed, 21 Dec 2005 11:22:49 -0500 schreef Christopher Faylor
: > in <20051221162249.GA9890trixie.casa.cgf.cx>:

: > Testing a self-built dll from a CVS-checkout on December 23rd.

Rebuilt on the 24rd (GMT+1).

:  http://cygwin.com/ml/cygwin/2005-12/msg00923.html

And (of course) you fixed it. Great, Many thanks (not just for this
fix).

*Best* *Cygwin* *Ever*.


L8r,

Buzz [not B20].
-- 
  ) |  | ---/ ---/  Yes, this | This message consists of true | I do not
--  |  |   //   really is |   and false bits entirely.| mail for
  ) |  |  //a 72 by 4 +---+ any1 but
--  \--| /--- /---  .sigfile. |   |perl -pe "s.u(z)\1.as."| me. 4^re

--
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: Cygwin install (v2.510.2.2) failure WinXPHome fopen failed 22 invalid argument.

2005-12-23 Thread Phil Pollock
I'm sure this is frustrating for both of us. I was expecting Cygwin to be 
running a couple of days ago.  There is nothing unusual about what I am 
doing with setup.exe.  I don't know why setup.exe would be sensitive to my 
hardware/software more than other people's.


Hardware:

Compaq Presario,  AMD Athlon(tm) 64 Processor, 3200+, 2.00 GHz, 512 MB of 
RAM, Physical Address Extension.


Software:

Microsoft Windows XP, Home Edition, Version 2002, Service Pack 2, automatic 
updates enabled.


If I knew what setup.exe was needing,  I could look for it.

==


1. As previously stated, under all installation attempts (except the first):

   """
   1. I emptied folders:
   C:\Shareware\Cygwin
   C:\Shareware\Cygwin\LocalPkg

   """

When I say that I 'emptied folders',  I deleted all folders/files in each 
folder except the main folder itself,  including the .log files and all 
downloaded files.  As a consequence the 'setup.log' and 'setup.log.full' 
files were deleted on each test.


Therefore,  there was no appending of old error messages - the date/time 
stamps on the messages tell you that the errors are not appended from other 
runs. I've included the setup.log.full for the latest setup run (fewer error 
messages) at the end of this response.



2. 'Download Without Installing' is the exact text on the dialog option I 
selected.  Following some downloads I did try an installation always with 
the same bad VM results.



3. Don't assume that this is package specific: 'So, your real problem is 
setup hogging up all the VM
while installing the alternatives package.'  I tried other iterations that 
included SKIPPING this package and others (one at a time and in 
combinations) - same results.  This is probably not package specific.


4. No /var/log/setup.log file was created.  Also, these folders don't exist 
either.  I believe that setup.exe failed to create them due to the bad path 
string.



5. I have never been successful at setting up any part of Cygwin - so there 
are no after installation issues to worry about yet.



6. When I say 'while' it means that literally Cygwin setup is running the 
'Install from Local Directory' (after a previous 'Download Without 
Installing') - I am literally watching it run and also (at the same) time I 
am watching VM Size under the Windows Task Manager.  I am also watching the 
File Explorer to see what folders and files are being generated.  The 
'Install from Local Directory' part of setup.exe has never finished.  When 
VM size approaches 1,000,000K+ my mouse won't even move and it is difficult 
to terminate setup.exe.  When I let it go - VM manager terminates setup.exe.


7. As I previously stated,  I am running under the admin account - I have 
full registry access during setup.


8. As I previously stated, I tried 'Install from Local Directory' with NAV 
auto-protect disabled - same result.


9. As I previously stated, I tried a download followed by installation 
without nested folders. Specifically I used 'C:\Cygwin' and 
'C:\Cygwin_localpkg'.  Same results.


10. It doesn't take long to delete and download the files - this way I 
always start each installation test in the same starting state.


11. Why is setup.exe trying to access files under '/etc/setup/...' - these 
don't exist?



 setup.log.full ==

2005/12/23 16:30:52 Starting cygwin install, version 2.523
2005/12/23 16:30:52 io_stream_cygfile: fopen(/etc/setup/last-action) failed 
22 Invalid argument
2005/12/23 16:30:52 io_stream_cygfile: fopen(/etc/setup/last-mirror) failed 
22 Invalid argument
2005/12/23 16:30:52 io_stream_cygfile: fopen(/etc/setup/last-connection) 
failed 22 Invalid argument
2005/12/23 16:30:52 io_stream_cygfile: fopen(/etc/setup/last-cache) failed 
22 Invalid argument
2005/12/23 16:30:52 Current Directory: C:\Documents and 
Settings\Owner\Desktop

2005/12/23 16:30:52 Changing gid to Users
2005/12/23 16:30:52 Could not open service McShield for query, start and 
stop. McAfee may not be installed, or we don't have access.
2005/12/23 16:30:55 io_stream_cygfile: fopen(/etc/setup/installed.db) failed 
22 Invalid argument

2005/12/23 16:30:57 source: download
2005/12/23 16:31:27 io_stream_cygfile: fopen(/etc/setup/last-cache) failed 
22 Invalid argument

2005/12/23 16:31:27 Selected local directory: C:\Shareware\Cygwin\LocalPkg
2005/12/23 16:31:29 net: Direct
get_url_to_membuf http://sources.redhat.com/cygwin/mirrors.lst
getUrlToStream http://sources.redhat.com/cygwin/mirrors.lst
2005/12/23 16:31:29 io_stream_cygfile: fopen(/etc/setup/mirrors-lst) failed 
22 Invalid argument
2005/12/23 16:31:58 io_stream_cygfile: fopen(/etc/setup/last-mirror) failed 
22 Invalid argument
2005/12/23 16:31:58 site: 
http://sourceware.mirrors.tds.net/pub/sourceware.org/cygwin
get_url_to_membuf 
http://sourceware.mirrors.tds.net/pub/sourceware.org/cygwin/setup.bz2
getUrlToStream 
http://sourceware.mirrors.tds.net/pub/sourceware.

Re: newbie question chdir

2005-12-23 Thread Shankar Unni

Luke Vanderfluit wrote:

> long saga about windows

Perhaps we're having a terminology problem here.

Are you typing (literally) the string "cd c:\" as the entire input to 
bash? If so, you need to be aware that all Unix-y shells do *escape 
processing* using "\", so you have to double them up if you want to send 
them in literally.


As in

bash-3.00$ cd c:\\
bash-3.00$ pwd
/cygdrive/c
bash-3.00$

Surprise, it works.

Also, you realize that you can use *FORWARD SLASHES* on Windows, don't 
you? It's completely supported at the Win32 API level, so you can even


bash-3.00$ cd c:/
bash-3.00$ pwd
/cygdrive/c
bash-3.00$

Does this solve your problem?



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



cygwin returning screen on exit?

2005-12-23 Thread Tyler Spivey
Hello. How can I tell cygwin not to return the screen to the state it
was in before running a full screen program such as vim or mutt? This is
highly annoying.
Thanks,
Tyler


--
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: Cygwin install (v2.510.2.2) failure WinXPHome fopen failed 22 invalid argument.

2005-12-23 Thread Igor Peshansky
Ugh, top-posting...  Reformatted.

On Fri, 23 Dec 2005, Phil Pollock wrote:

> > From: Igor Peshansky <[EMAIL PROTECTED]>
> > Reply-To: [EMAIL PROTECTED]
> > To: Phil Pollock <[EMAIL PROTECTED]>
> > CC: [EMAIL PROTECTED]

.  Please read this link.
Thanks.

> > Subject: Re: Cygwin install (v2.510.2.2) failure WinXPHome fopen failed 22 
> > invalid argument.
> > Date: Fri, 23 Dec 2005 17:05:41 -0500 (EST)
> >
> > Ugh, top-posting...  Reformatted.
> >
> > On Fri, 23 Dec 2005, Phil Pollock wrote:
> >
> > > > From: "Larry Hall (Cygwin)" <[EMAIL PROTECTED]>
> > > > Reply-To: [EMAIL PROTECTED]
> > > > To: Phil Pollock <[EMAIL PROTECTED]>
> > > > CC: [EMAIL PROTECTED]
> >
> > .  Thanks.
> >
> > > > Subject: Re: Cygwin install (v2.510.2.2) failure WinXPHome fopen failed 
> > > > 22 invalid argument.
> > > > Date: Fri, 23 Dec 2005 16:21:13 -0500
> > > >
> > > > Phil Pollock wrote:
> > > > > I have attempted to install Cygwin DLL release v1.5.18-1 under my
> > > > > Windows XP Home (SP2) administrative account over the last couple of
> > > > > days - just doesn't work for me.
> >
> > What makes you think it doesn't work?  What are the problems you are
> > having after installation completes?
> >
> > > > > Is there another way to download and install Cygwin? Any help would
> > > > > be appreciated.  Here's what I attempted:
> > > > >
> > > > > ===
> > > > > INSTALLATION ATTEMPT 1: Standard Internet Install
> > > > > [snip]
> > > > > 5. Progress hung on setting up 'alternatives' for a couple of hours
> > > > > until all Virtual Memory was consumed resulting in termination.
> > > > >
> > > > > ===
> > > > > INSTALLATION ATTEMPT 2: Download then Install
> > > > >
> > > > > 1. I emptied folders:
> > > > >C:\Shareware\Cygwin
> > > > >C:\Shareware\Cygwin\LocalPkg
> > > > > 2. I ran setup.exe and selected:
> > > > >  - 'Download Without Installing'
> > > > >  - Local Package Directory: C:\Shareware\Cygwin\LocalPkg
> > > > >  - Internet Connection: Direct Connection
> > > > >  - Download Site: http://sourceware.mirrors.tds.net
> > > > >  - Select Packages: (left defaults as-is) Clicked Next
> > > > > 4. Cygwin Setup Progress shows activity creating and downloading
> > > > >directory tree under:
> > > > > C:\SHAREWARE\CYGWIN\LOCALPKG\HTTP%3A%2F%2FSOURCEWARE.MIRRORS.TDS.NET%2FPUB%2FSOURCEWARE.ORG%2FCYGWIN\RELEASE
> > > > >
> > > > >   the tree structure contains one *.tar.bz2 file per branch.
> > > > > 5. Progress continued until a 'Download Complete' dialog appeared.
> >
> > Heh, this seems to have worked...
> >
> > > > > 6. Files 'setup.log' and 'setup.log.full' were also created this
> > > > > time and contained many error messages of the sort:
> > > > >
> > > > > ---
> > > > > 2005/12/23 09:20:04 Starting cygwin install, version 2.510.2.2
> > > > > 2005/12/23 09:20:04 io_stream_cygfile: fopen failed 22 Invalid 
> > > > > argument <=== this line repeated
> > > > > ... repeats of previous line
> >
> > This is harmless -- there was a bug in the older version that was
> > fixed in the snapshots.
> >
> > > > > 2005/12/23 09:20:04 Current Directory: C:\Documents and 
> > > > > Settings\Owner\Desktop
> > > > > 2005/12/23 09:20:04 Changing gid to Users
> > > > > 2005/12/23 09:20:04 Could not open service McShield for query, start 
> > > > > and stop. McAfee may not be installed, or we don't have access.
> >
> > This is also harmless -- it's an informational message.
> >
> > > > > 2005/12/23 09:20:11 io_stream_cygfile: fopen failed 22 Invalid 
> > > > > argument
> > > > > 2005/12/23 09:20:15 io_stream_cygfile: fopen failed 22 Invalid 
> > > > > argument
> > > > > 2005/12/23 09:20:15 source: download
> > > > > 2005/12/23 09:20:35 io_stream_cygfile: fopen failed 22 Invalid 
> > > > > argument
> > > > > 2005/12/23 09:20:35 Selected local directory: C:\Cygwin_localpkg
> > > > > 2005/12/23 09:20:42 net: Direct get_url_to_membuf 
> > > > > http://sources.redhat.com/cygwin/mirrors.lst
> > > > > getUrlToStream http://sources.redhat.com/cygwin/mirrors.lst
> > > > > 2005/12/23 09:20:50 io_stream_cygfile: fopen failed 22 Invalid 
> > > > > argument <=== this line repeated
> > > > > 2005/12/23 09:20:50 site: 
> > > > > http://sourceware.mirrors.tds.net/pub/sourceware.org/cygwin
> > > > > get_url_to_membuf 
> > > > > http://sourceware.mirrors.tds.net/pub/sourceware.org/cygwin/setup.bz2
> > > > > ...
> > > > > ---
> >
> > Ok, this is just the download step -- what happened during the install
> > step?
> >
> > > > > INSTALLATION ATTEMPTs 3 - n: Download then Install (all possible 
> > > > > combinations)
> > > > >
> > > > > 1. I tried using paths: C:\Cygwin and C:\Cygwin_localpk:  SAME RESULT 
> > > > > AS ATTEMPT 2.
> > > > > 2. I tried using different mirrors: SAME RESULT AS ATTEMPT 2.
> > > > > 3. I tried turning off Norton Antivirus:  SAME RESULT AS ATTEMPT 2.
> > > > 

Re: Cygwin install (v2.510.2.2) failure WinXPHome fopen failed 22 invalid argument.

2005-12-23 Thread Phil Pollock
I apologize for putting Cygwin into my convenient shareware folder with 
other stuff - but I don't organize my folder for political correctness.


Regarding setup-2.523.exe: 'Install from Local Directory' following 
'Download Without Installing' with error messages in log file:


I believe that the result will be the same as in 'INSTALLATION ATTEMPT 1', 
i.e., all virtual memory will be consumed and the installation will be 
terminated by XP.  Normally takes at least a couple of hours before XP 
complains.  After doing this a few times (using up a couple of long days),  
I just watch the Windows Task Manager's 'Processes' VM Size for setup.exe.  
Right now it has grown to 500,000K+ and setup is still 'installing' the same 
alternatives-1.3.20a-1 into /usr/bin/alternatives.exe with '0%' in the Setup 
title bar and no change in the Total or Disk progress bars.  I don't want to 
waste my time waiting for the VM to expire - Don't you think that something 
is wrong - considering all the error messages during the download phase - or 
is it normal to have hundreds of error messages in the log file?  Also my 
system grinds to a halt as time goes by and causes me some concern about the 
stability of Cygwin setup.


If I hit 'Cancel',  setup displays: Cannot open log file 
C:\Shareware\Cygwin\/var/log/setup.log for writing - I click OK.  Note the 
invalid path here ('...\/var...).


What makes you think it is working?  Is this kind of behavior is 'normal' 
for Cygwin setup?



TNX



From: Igor Peshansky <[EMAIL PROTECTED]>
Reply-To: cygwin@cygwin.com
To: Phil Pollock <[EMAIL PROTECTED]>
CC: cygwin@cygwin.com
Subject: Re: Cygwin install (v2.510.2.2) failure WinXPHome fopen failed 22  
invalid argument.

Date: Fri, 23 Dec 2005 17:05:41 -0500 (EST)

Ugh, top-posting...  Reformatted.

On Fri, 23 Dec 2005, Phil Pollock wrote:

> > From: "Larry Hall (Cygwin)" <[EMAIL PROTECTED]>
> > Reply-To: [EMAIL PROTECTED]
> > To: Phil Pollock <[EMAIL PROTECTED]>
> > CC: [EMAIL PROTECTED]

.  Thanks.

> > Subject: Re: Cygwin install (v2.510.2.2) failure WinXPHome fopen 
failed 22 invalid argument.

> > Date: Fri, 23 Dec 2005 16:21:13 -0500
> >
> > Phil Pollock wrote:
> > > I have attempted to install Cygwin DLL release v1.5.18-1 under my
> > > Windows XP Home (SP2) administrative account over the last couple of
> > > days - just doesn't work for me.

What makes you think it doesn't work?  What are the problems you are
having after installation completes?

> > > Is there another way to download and install Cygwin? Any help would
> > > be appreciated.  Here's what I attempted:
> > >
> > > ===
> > > INSTALLATION ATTEMPT 1: Standard Internet Install
> > > [snip]
> > > 5. Progress hung on setting up 'alternatives' for a couple of hours
> > > until all Virtual Memory was consumed resulting in termination.
> > >
> > > ===
> > > INSTALLATION ATTEMPT 2: Download then Install
> > >
> > > 1. I emptied folders:
> > >C:\Shareware\Cygwin
> > >C:\Shareware\Cygwin\LocalPkg
> > > 2. I ran setup.exe and selected:
> > >  - 'Download Without Installing'
> > >  - Local Package Directory: C:\Shareware\Cygwin\LocalPkg
> > >  - Internet Connection: Direct Connection
> > >  - Download Site: http://sourceware.mirrors.tds.net
> > >  - Select Packages: (left defaults as-is) Clicked Next
> > > 4. Cygwin Setup Progress shows activity creating and downloading 
directory

> > > tree under:
> > >  
C:\SHAREWARE\CYGWIN\LOCALPKG\HTTP%3A%2F%2FSOURCEWARE.MIRRORS.TDS.NET%2FPUB%2FSOURCEWARE.ORG%2FCYGWIN\RELEASE

> > >
> > >   the tree structure contains one *.tar.bz2 file per branch.
> > > 5. Progress continued until a 'Download Complete' dialog appeared.

Heh, this seems to have worked...

> > > 6. Files 'setup.log' and 'setup.log.full' were also created this 
time and

> > > contained many error messages of the sort:
> > >
> > > ---
> > > 2005/12/23 09:20:04 Starting cygwin install, version 2.510.2.2
> > > 2005/12/23 09:20:04 io_stream_cygfile: fopen failed 22 Invalid 
argument <=== this line repeated

> > > ... repeats of previous line

This is harmless -- there was a bug in the older version that was fixed in
the snapshots.

> > > 2005/12/23 09:20:04 Current Directory: C:\Documents and 
Settings\Owner\Desktop

> > > 2005/12/23 09:20:04 Changing gid to Users
> > > 2005/12/23 09:20:04 Could not open service McShield for query, start 
and stop. McAfee may not be installed, or we don't have access.


This is also harmless -- it's an informational message.

> > > 2005/12/23 09:20:11 io_stream_cygfile: fopen failed 22 Invalid 
argument
> > > 2005/12/23 09:20:15 io_stream_cygfile: fopen failed 22 Invalid 
argument

> > > 2005/12/23 09:20:15 source: download
> > > 2005/12/23 09:20:35 io_stream_cygfile: fopen failed 22 Invalid 
argument

> > > 2005/12/23 09:20:35 Selected local directory: C:\Cygwin_localpkg
> > > 2005/12/23 09:20:42 net: Direct
> >

Re: Please try a snapshot - final push for 1.5.19

2005-12-23 Thread Buzz
Op Fri, 23 Dec 2005 17:07:05 -0500 schreef Christopher Faylor
in <20051223220705.GA28617trixie.casa.cgf.cx>:
:  On Fri, Dec 23, 2005 at 10:46:04PM +0100, Bas van Gompel wrote:
: > Op Wed, 21 Dec 2005 11:22:49 -0500 schreef Christopher Faylor
: > in <20051221162249.GA9890trixie.casa.cgf.cx>:
: > :  Only four more testing days remain if we want to get a cygwin 1.5.19
: > :  release out there by Christmas.  Please try a snapshot and report
: > :  success/failure to this thread.

: > Testing a self-built dll from a CVS-checkout on December 23rd.

:  http://cygwin.com/ml/cygwin/2005-12/msg00923.html

I saw it. That's what happens when you try to report ASAP, are not on
a fixed line and don't check your mail every minute... Sorry about the
duplication.


L8r,

Buzz [deer otter bee an owl].
-- 
  ) |  | ---/ ---/  Yes, this | This message consists of true | I do not
--  |  |   //   really is |   and false bits entirely.| mail for
  ) |  |  //a 72 by 4 +---+ any1 but
--  \--| /--- /---  .sigfile. |   |perl -pe "s.u(z)\1.as."| me. 4^re

--
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: Please try a snapshot - final push for 1.5.19

2005-12-23 Thread Christopher Faylor
On Fri, Dec 23, 2005 at 10:46:04PM +0100, Bas van Gompel wrote:
>Op Wed, 21 Dec 2005 11:22:49 -0500 schreef Christopher Faylor
>in <20051221162249.GA9890trixie.casa.cgf.cx>:
>:  Only four more testing days remain if we want to get a cygwin 1.5.19
>:  release out there by Christmas.  Please try a snapshot and report
>:  success/failure to this thread.
>
>Testing a self-built dll from a CVS-checkout on December 23rd.

http://cygwin.com/ml/cygwin/2005-12/msg00923.html

cgf

--
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: Cygwin install (v2.510.2.2) failure WinXPHome fopen failed 22 invalid argument.

2005-12-23 Thread Igor Peshansky
Ugh, top-posting...  Reformatted.

On Fri, 23 Dec 2005, Phil Pollock wrote:

> > From: "Larry Hall (Cygwin)" <[EMAIL PROTECTED]>
> > Reply-To: [EMAIL PROTECTED]
> > To: Phil Pollock <[EMAIL PROTECTED]>
> > CC: [EMAIL PROTECTED]

.  Thanks.

> > Subject: Re: Cygwin install (v2.510.2.2) failure WinXPHome fopen failed 22 
> > invalid argument.
> > Date: Fri, 23 Dec 2005 16:21:13 -0500
> >
> > Phil Pollock wrote:
> > > I have attempted to install Cygwin DLL release v1.5.18-1 under my
> > > Windows XP Home (SP2) administrative account over the last couple of
> > > days - just doesn't work for me.

What makes you think it doesn't work?  What are the problems you are
having after installation completes?

> > > Is there another way to download and install Cygwin? Any help would
> > > be appreciated.  Here's what I attempted:
> > >
> > > ===
> > > INSTALLATION ATTEMPT 1: Standard Internet Install
> > > [snip]
> > > 5. Progress hung on setting up 'alternatives' for a couple of hours
> > > until all Virtual Memory was consumed resulting in termination.
> > >
> > > ===
> > > INSTALLATION ATTEMPT 2: Download then Install
> > >
> > > 1. I emptied folders:
> > >C:\Shareware\Cygwin
> > >C:\Shareware\Cygwin\LocalPkg
> > > 2. I ran setup.exe and selected:
> > >  - 'Download Without Installing'
> > >  - Local Package Directory: C:\Shareware\Cygwin\LocalPkg
> > >  - Internet Connection: Direct Connection
> > >  - Download Site: http://sourceware.mirrors.tds.net
> > >  - Select Packages: (left defaults as-is) Clicked Next
> > > 4. Cygwin Setup Progress shows activity creating and downloading directory
> > > tree under:
> > >  
> > > C:\SHAREWARE\CYGWIN\LOCALPKG\HTTP%3A%2F%2FSOURCEWARE.MIRRORS.TDS.NET%2FPUB%2FSOURCEWARE.ORG%2FCYGWIN\RELEASE
> > >
> > >   the tree structure contains one *.tar.bz2 file per branch.
> > > 5. Progress continued until a 'Download Complete' dialog appeared.

Heh, this seems to have worked...

> > > 6. Files 'setup.log' and 'setup.log.full' were also created this time and
> > > contained many error messages of the sort:
> > >
> > > ---
> > > 2005/12/23 09:20:04 Starting cygwin install, version 2.510.2.2
> > > 2005/12/23 09:20:04 io_stream_cygfile: fopen failed 22 Invalid argument 
> > > <=== this line repeated
> > > ... repeats of previous line

This is harmless -- there was a bug in the older version that was fixed in
the snapshots.

> > > 2005/12/23 09:20:04 Current Directory: C:\Documents and 
> > > Settings\Owner\Desktop
> > > 2005/12/23 09:20:04 Changing gid to Users
> > > 2005/12/23 09:20:04 Could not open service McShield for query, start and 
> > > stop. McAfee may not be installed, or we don't have access.

This is also harmless -- it's an informational message.

> > > 2005/12/23 09:20:11 io_stream_cygfile: fopen failed 22 Invalid argument
> > > 2005/12/23 09:20:15 io_stream_cygfile: fopen failed 22 Invalid argument
> > > 2005/12/23 09:20:15 source: download
> > > 2005/12/23 09:20:35 io_stream_cygfile: fopen failed 22 Invalid argument
> > > 2005/12/23 09:20:35 Selected local directory: C:\Cygwin_localpkg
> > > 2005/12/23 09:20:42 net: Direct
> > > get_url_to_membuf http://sources.redhat.com/cygwin/mirrors.lst
> > > getUrlToStream http://sources.redhat.com/cygwin/mirrors.lst
> > > 2005/12/23 09:20:50 io_stream_cygfile: fopen failed 22 Invalid argument 
> > > <=== this line repeated
> > > 2005/12/23 09:20:50 site:
> > > http://sourceware.mirrors.tds.net/pub/sourceware.org/cygwin
> > > get_url_to_membuf
> > > http://sourceware.mirrors.tds.net/pub/sourceware.org/cygwin/setup.bz2
> > > ...
> > > ---

Ok, this is just the download step -- what happened during the install
step?

> > > INSTALLATION ATTEMPTs 3 - n: Download then Install (all possible 
> > > combinations)
> > >
> > > 1. I tried using paths: C:\Cygwin and C:\Cygwin_localpk:  SAME RESULT AS 
> > > ATTEMPT 2.
> > > 2. I tried using different mirrors: SAME RESULT AS ATTEMPT 2.
> > > 3. I tried turning off Norton Antivirus:  SAME RESULT AS ATTEMPT 2.
> > > 4. I tried using different download protocols: SAME RESULT AS ATTEMPT 2.

Meaning the io_stream_cygfile errors in setup.log?

> > > INSTALLATION ATTEMPT n+1: Any ideas?
> >
> > Try a snapshot? 
>
> Regarding /setup/snapshots:
> [snip]
> ===
> INSTALLATION ATTEMPT n+2: Download then Install with setup-2.523.exe
>
> 1. I emptied folders:
>   C:\Shareware\Cygwin
>   C:\Shareware\Cygwin\LocalPkg
> 2. I ran setup.exe and selected:
> - 'Download Without Installing'
> - Local Package Directory: C:\Shareware\Cygwin\LocalPkg
> - Internet Connection: Direct Connection
> - Download Site: http://sourceware.mirrors.tds.net
> - Select Packages: (left defaults as-is) Clicked Next
> SAME RESULTS AS INSTALLATION ATTEMPT 2.
>
> Any more combinations or permutations that might work?

Umm, not quite the same

Re: Cygwin install (v2.510.2.2) failure WinXPHome fopen failed 22 invalid argument.

2005-12-23 Thread Phil Pollock

Regarding /setup/snapshots:

===
INSTALLATION ATTEMPT n+1: Download then Install with setup-2.521.exe

1. I emptied folders:
  C:\Shareware\Cygwin
  C:\Shareware\Cygwin\LocalPkg
2. I ran setup.exe and selected:
- 'Download Without Installing'
- Local Package Directory: C:\Shareware\Cygwin\LocalPkg
- Internet Connection: Direct Connection
- Download Site: http://sourceware.mirrors.tds.net
- Select Packages: (left defaults as-is) Clicked Next
SAME RESULTS AS INSTALLATION ATTEMPT 2.

===
INSTALLATION ATTEMPT n+2: Download then Install with setup-2.523.exe

1. I emptied folders:
  C:\Shareware\Cygwin
  C:\Shareware\Cygwin\LocalPkg
2. I ran setup.exe and selected:
- 'Download Without Installing'
- Local Package Directory: C:\Shareware\Cygwin\LocalPkg
- Internet Connection: Direct Connection
- Download Site: http://sourceware.mirrors.tds.net
- Select Packages: (left defaults as-is) Clicked Next
SAME RESULTS AS INSTALLATION ATTEMPT 2.

Any more combinations or permutations that might work?

TNX


From: "Larry Hall (Cygwin)" <[EMAIL PROTECTED]>
Reply-To: cygwin@cygwin.com
To: Phil Pollock <[EMAIL PROTECTED]>
CC: cygwin@cygwin.com
Subject: Re: Cygwin install (v2.510.2.2) failure WinXPHome fopen failed 22 
invalid argument.

Date: Fri, 23 Dec 2005 16:21:13 -0500

Phil Pollock wrote:
I have attempted to install Cygwin DLL release v1.5.18-1 under my Windows 
XP Home (SP2) administrative account over the last couple of days - just 
doesn't work for me.  Is there another way to download and install Cygwin? 
 Any help would be appreciated.  Here's what I attempted:



===
INSTALLATION ATTEMPT 1: Standard Internet Install

1. I created new folders:
   C:\Shareware\Cygwin
   C:\Shareware\Cygwin\LocalPkg
2. I downloaded setup.exe from cygwin.com.
3. I ran setup.exe and selected:
 - 'Install from Internet'
 - Root Directory: C:\Shareware\Cygwin\,  All Users, Unix/binary
 - Local Package Directory: C:\Shareware\Cygwin\LocalPkg
 - Internet Connection: Direct Connection
 - Download Site: http://sourceware.mirrors.tds.net
 - Select Packages: (left defaults as-is) Clicked Next
4. Cygwin Setup Progress shows activity creating and downloading directory 
tree under:
 
C:\SHAREWARE\CYGWIN\LOCALPKG\HTTP%3A%2F%2FSOURCEWARE.MIRRORS.TDS.NET%2FPUB%2FSOURCEWARE.ORG%2FCYGWIN\RELEASE



  the tree structure contains one *.tar.bz2 file per branch.
5. Progress hung on setting up 'alternatives' for a couple of hours until 
all Virtual Memory was consumed resulting in termination.



===
INSTALLATION ATTEMPT 2: Download then Install

1. I emptied folders:
   C:\Shareware\Cygwin
   C:\Shareware\Cygwin\LocalPkg
2. I ran setup.exe and selected:
 - 'Download Without Installing'
 - Local Package Directory: C:\Shareware\Cygwin\LocalPkg
 - Internet Connection: Direct Connection
 - Download Site: http://sourceware.mirrors.tds.net
 - Select Packages: (left defaults as-is) Clicked Next
4. Cygwin Setup Progress shows activity creating and downloading directory 
tree under:
 
C:\SHAREWARE\CYGWIN\LOCALPKG\HTTP%3A%2F%2FSOURCEWARE.MIRRORS.TDS.NET%2FPUB%2FSOURCEWARE.ORG%2FCYGWIN\RELEASE



  the tree structure contains one *.tar.bz2 file per branch.
5. Progress continued until a 'Download Complete' dialog appeared.
6. Files 'setup.log' and 'setup.log.full' were also created this time and 
contained many error messages of the sort:


---
2005/12/23 09:20:04 Starting cygwin install, version 2.510.2.2
2005/12/23 09:20:04 io_stream_cygfile: fopen failed 22 Invalid argument 
<=== this line repeated

... repeats of previous line
2005/12/23 09:20:04 Current Directory: C:\Documents and 
Settings\Owner\Desktop

2005/12/23 09:20:04 Changing gid to Users
2005/12/23 09:20:04 Could not open service McShield for query, start and 
stop. McAfee may not be installed, or we don't have access.

2005/12/23 09:20:11 io_stream_cygfile: fopen failed 22 Invalid argument
2005/12/23 09:20:15 io_stream_cygfile: fopen failed 22 Invalid argument
2005/12/23 09:20:15 source: download
2005/12/23 09:20:35 io_stream_cygfile: fopen failed 22 Invalid argument
2005/12/23 09:20:35 Selected local directory: C:\Cygwin_localpkg
2005/12/23 09:20:42 net: Direct
get_url_to_membuf http://sources.redhat.com/cygwin/mirrors.lst
getUrlToStream http://sources.redhat.com/cygwin/mirrors.lst
2005/12/23 09:20:50 io_stream_cygfile: fopen failed 22 Invalid argument 
<=== this line repeated
2005/12/23 09:20:50 site: 
http://sourceware.mirrors.tds.net/pub/sourceware.org/cygwin
get_url_to_membuf 
http://sourceware.mirrors.tds.net/pub/sourceware.org/cygwin/setup.bz2

...
---

===
INSTALLATION ATTEMPTs 3 - n: Download then Install (all possible 
combinations)


1. I tried using paths: C:\Cygwin and C:\Cygwin_localpk:  SAME RESULT AS 
ATTEMPT 2.

2. I tried using different mirrors: SAME RESULT

Re: Please try a snapshot - final push for 1.5.19

2005-12-23 Thread Bas van Gompel
Op Wed, 21 Dec 2005 11:22:49 -0500 schreef Christopher Faylor
in <20051221162249.GA9890trixie.casa.cgf.cx>:
:  Only four more testing days remain if we want to get a cygwin 1.5.19
:  release out there by Christmas.  Please try a snapshot and report
:  success/failure to this thread.

Testing a self-built dll from a CVS-checkout on December 23rd.

Win95 again...

On a dos command.com prompt I typed: ``

  bash -c ':'

''. As a result I get back: ``

  644 [sig] BASH 642383 wait_sig: short read from signal pipe: 160 != 164
 2145 [sig] BASH 642383 wait_sig: short read from signal pipe: 4 != 164
  6416 [main] BASH 642383 sig_send: wait for sig_complete event failed, 
signal -20, rc 258, Win32 error 0
  60015160 [sig] BASH 642383 wait_sig: short read from signal pipe: 160 != 164
  60022267 [sig] BASH 642383 wait_sig: short read from signal pipe: 4 != 164
  96798799 [sig] BASH 642383 wait_sig: short read from signal pipe: 160 != 164
  96800062 [sig] BASH 642383 wait_sig: short read from signal pipe: 4 != 164

''.

The first two lines come almost at once, three more come every minute.
The last two lines were caused by pressing control-c, which did not
terminate the process.

This also happens when starting cygwin.bat.

Attempts to strace it failed with a ``STATUS_ACCESS_VIOLATION''.


Let me know if/how I can supply more info.


L8r,

Buzz.
-- 
  ) |  | ---/ ---/  Yes, this | This message consists of true | I do not
--  |  |   //   really is |   and false bits entirely.| mail for
  ) |  |  //a 72 by 4 +---+ any1 but
--  \--| /--- /---  .sigfile. |   |perl -pe "s.u(z)\1.as."| me. 4^re

--
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: Please try a snapshot - final push for 1.5.19

2005-12-23 Thread Christopher Faylor
On Thu, Dec 22, 2005 at 11:35:07PM -0500, Christopher Faylor wrote:
>On Thu, Dec 22, 2005 at 08:07:19PM -0800, Yitzchak Scott-Thoennes wrote:
>>CYGWIN = `tty ntsec title server'
>   ^^^
>Thank you.  That was why I couldn't duplicate it.

I played with this all day and I can't convince myself that it isn't a
readline bug.  It seems like there is a situation where bash/readline
unmasks SIGINT and potentially lets a stray CTRL-C in while the signal
handler is still carefully dealing with signals, causing recursion and,
eventually, an overflow of cygwin's signal stack.

In fact, I could crash bash on linux by doing a:

  while kill -INT nnn; do :; done

where nnn denotes the pid of a running Debian bash 3.00.16(1)-release
binary.

In any event, this isn't a regression and, unless I have an amazing
insight sometime soon, I don't think there is any way to fix this
in the cygwin DLL.

cgf

--
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: Gnuplot 4.0.0-1 dependencies

2005-12-23 Thread Dr. Volker Zell
> Mike Parker writes:

> As of a few days ago, it appears as if gnuplot v4.0.0-1 has the following
> dependencies:

> ed:   0.2-1
> libdb4.2: 4.2.52-1
> libdb4.3: 4.3.28-1
> libkpathsea3: 2.0.2-15
> libkpathsea4: 3.0.0-3
> libtiff4: 3.6.0-5
> libtiff5: 3.7.3-1
> perl: 5.8.7-4
> tetex-bin:3.0.0-3

This is what I see in the latest setup.ini and it's OK.

@ gnuplot
sdesc: "A command-line driven interactive function plotting utility."
ldesc: "Gnuplot is a command-line driven interactive function plotting
utility for UNIX, MSDOS, VMS, and many other platforms. Gnuplot
supports many different types of terminals, plotters, and printers
(including many color devices, and pseudo-devices like LaTeX) and is
easily extensible to include new devices. Gnuplot handles both curves
(2 dimensions) and surfaces (3 dimensions)."
category: Graphics Math
requires: cygwin libgd2 libreadline5 xorg-x11-bin-dlls tetex-bin 
_update-info-dir
version: 4.0.0-1


Ciao
  Volker


--
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: Using gcc under cygwin to compile and link the db2 udb sample c programs

2005-12-23 Thread ERIC HO
Thanks Eric. I was able to compile and link the db2 udb sample program using 
gcc with no errors. But I got segmentation fault error when running the sample 
program. After spending some time on this problem, I decided to install 
Microsoft VC++. I then ran nmake all and was able to run the sample program 
with no problems on my XP, just like running it on Linux. Too bad, using cygwin 
and gcc did not work for me. Thanks.


--
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: Please try a snapshot - final push for 1.5.19

2005-12-23 Thread Eric Blake
> Dec 22 snapshot on Win98.
> 
> 410 [sig] BASH 687835 wait_sig: short read from signal pipe: 160 != 164
>1690 [sig] BASH 687835 wait_sig: short read from signal pipe: 4 != 164
> 60002603 [main] BASH 687835 sig_send: wait for sig_complete event failed, 
> signal
>  -20, rc 258, Win32 error 0

More info - this is a recent regression, since 20051221 seemed to work okay
for me on Win98.
--
Eric Blake

--
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: SSH problem after upgrade - SOLVED

2005-12-23 Thread J. David Boyd
Ed Brady <[EMAIL PROTECTED]> writes:

> Ed Brady wrote:
>
>> Igor Pechtchanski wrote:
>
>>> IIRC, the Windows dynamic loader will first look for DLLs in the
>>> application directory, and only then in the PATH.  Here's a WAG: do you
>>> have a copy of winsock.dll or ws2_32.dll in /usr/bin?
>>>
>>>   
>>
> The problem is now solved.
>
> The culprit is due to the installation of the cmake-2.2.3-1 package.
> (Located in development).   This package, copies three Microsoft
> Windows specific dll's to /usr/bin.  Specifically, mfc71.dll,
> msvcp71.dll, and msvcr71.dll.  Once I uninstalled this package ssh,
> telnet, and ftp, worked as intended.
>
> As a sanity check, I unzipped the package and manually copied the dlls
> to /usr/bin and the problem returned.
>
> Igor P., it looks like your WAG pretty much nailed it.
>
> Thanks to all who had input
>
> Ed

Very strange.  I have all those files.  I upgrade to the latest version of
everything.  My ssh, telnet, and ftp all work just fine.  I wonder what the
difference is...

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: Cygwin 1.5.18-1 on Windows XP group & passwd problem

2005-12-23 Thread Kyle S. Allender
Igor Peshansky wrote:

> 
> You said you get the same message for a bash shell?  Could you please try
> to capture the output (by opening a CMD.EXE window and typing
> "c:\cygwin\cygwin.bat")?

Output follows:

C:\Documents and Settings\kallender>c:\cygwin\cygwin.bat
CreateFileandSetSecurity failed with FALSE (Expected on FAT Partitions)
GLE: 32
CreateFileandSetSecurity failed with TRUE (not expected) GLE: 32
CreateFileandSetSecurity failed with FALSE (Expected on FAT Partitions)
GLE: 32
CreateFileandSetSecurity failed with TRUE (not expected) GLE: 32
CreateFileandSetSecurity failed with FALSE (Expected on FAT Partitions)
GLE: 32
CreateFileandSetSecurity failed with TRUE (not expected) GLE: 32
CreateFileandSetSecurity failed with FALSE (Expected on FAT Partitions)
GLE: 32
CreateFileandSetSecurity failed with TRUE (not expected) GLE: 32
$

> 
>> Output of a re-run of the commands is as follows:
>>
>> [EMAIL PROTECTED] /etc
>> $ mkpasswd -l -d > /etc/passwd
>> mkpasswd (731): [2453] Could not find domain controller for this domain.
> 
> Hmm.  How about "mkpasswd -l -c > /etc/passwd"?

passwd then looks like this (starting with an empty file:

CreateFileandSetSecurity failed with FALSE (Expected on FAT Partitions)
GLE: 32
CreateFileandSetSecurity failed with TRUE (not expected) GLE: 32
SYSTEM:*:18:544:,S-1-5-18::
Administrators:*:544:544:,S-1-5-32-544::
Administrator:unused_by_nt/2000/xp:500:513:U-NC-DM-DC141\Administrator,S-1-5-21-
1220945662-1547161642-682003330-500:/home/Administrator:/bin/bash
Guest:unused_by_nt/2000/xp:501:513:U-NC-DM-DC141\Guest,S-1-5-21-1220945662-15471
61642-682003330-501:/home/Guest:/bin/bash
HelpAssistant:unused_by_nt/2000/xp:1000:513:Remote Desktop Help
Assistant Accoun
t,U-NC-DM-DC141\HelpAssistant,S-1-5-21-1220945662-1547161642-682003330-1000:/hom
e/HelpAssistant:/bin/bash
SUPPORT_388945a0:unused_by_nt/2000/xp:1002:513:CN=Microsoft
Corporation,L=Redmon
d,S=Washington,C=US,U-NC-DM-DC141\SUPPORT_388945a0,S-1-5-21-1220945662-154716164
2-682003330-1002:/home/SUPPORT_388945a0:/bin/bash
kallender:unused_by_nt/2000/xp:31363:10545:kallender,U-MEDIACOMCORP\kallender,S-
1-5-21-727417886-63593122-2613945857-21363:/cygdrive/c/Documents and
Settings/kallender:/bin/bash


> 
>> [EMAIL PROTECTED] /etc
>> $ mkgroup -l > /etc/group
>>
>> Contents of the files:
>>
>> passwd:
>>
>> SYSTEM:*:18:544:,S-1-5-18::
>> Administrators:*:544:544:,S-1-5-32-544::
>> Administrator:unused_by_nt/2000/xp:500:513:U-NC-DM-DC141\Administrator,S-1-5-21-1220945662-1547161642-682003330-500:/home/Administrator:/bin/bash
>> Guest:unused_by_nt/2000/xp:501:513:U-NC-DM-DC141\Guest,S-1-5-21-1220945662-1547161642-682003330-501:/home/Guest:/bin/bash
>> HelpAssistant:unused_by_nt/2000/xp:1000:513:Remote Desktop Help Assistant 
>> Account,U-NC-DM-DC141\HelpAssistant,S-1-5-21-1220945662-1547161642-682003330-1000:/home/HelpAssistant:/bin/bash
>> SUPPORT_388945a0:unused_by_nt/2000/xp:1002:513:CN=Microsoft 
>> Corporation,L=Redmond,S=Washington,C=US,U-NC-DM-DC141\SUPPORT_388945a0,S-1-5-21-1220945662-1547161642-682003330-1002:/home/SUPPORT_388945a0:/bin/bash
> 
> I noticed that the "kallender" user is missing from /etc/passwd.
> According to the "id" output, "kallender" is definitely a domain user.
> Perhaps you need to specify the domain name explicitly (as in "mkpasswd -l
> -u kallender -d DOMAINNAME")?
> 
>> group:
>>
>> CreateFileandSetSecurity failed with FALSE (Expected on FAT Partitions) GLE: 
>> 32
>> CreateFileandSetSecurity failed with TRUE (not expected) GLE: 32
> 
> Heh...  You should remove those two lines -- they may be screwing up the
> parsing of /etc/group...

I have removed these lines.  Exiting the bash shell and re-entering it,
I encounter the same error.

When I included the domain name as suggested above, I end up with an
empty passwd file.  Output is:

$ mkpasswd -l -u kallender -d MEDIACOMCORP.COM > /etc/passwd
mkpasswd (257): [2221] The user name could not be found.
$ mkpasswd -l -u kallender -d MEDIACOMCORP > /etc/passwd
mkpasswd (257): [2221] The user name could not be found.
$ cat /etc/passwd
CreateFileandSetSecurity failed with FALSE (Expected on FAT Partitions)
GLE: 32
CreateFileandSetSecurity failed with TRUE (not expected) GLE: 32
$

>>
>> A further clue _might_ be this:
>>
>> [EMAIL PROTECTED] /etc
>> $ ssh -X [EMAIL PROTECTED]
>> CreateFileandSetSecurity failed with FALSE (Expected on FAT Partitions) GLE: 
>> 32
>> CreateFileandSetSecurity failed with TRUE (not expected) GLE: 32
>> The authenticity of host '192.168.1.100 (192.168.1.100)' can't be 
>> established.
>> RSA key fingerprint is 6d:2d:77:1f:1f:41:04:96:62:f1:5c:76:16:23:b2:2b.
>> Are you sure you want to continue connecting (yes/no)? yes
>> Warning: Permanently added '192.168.1.100' (RSA) to the list of known hosts.
>> Password:
>> CreateFileandSetSecurity failed with FALSE (Expected on FAT Partitions) GLE: 
>> 32
>> CreateFileandSetSecurity failed with TRUE (not expected) GLE: 32
>> x11_request_forwarding: bad authentication data: with
> 

Cygwin install (v2.510.2.2) failure WinXPHome fopen failed 22 invalid argument.

2005-12-23 Thread Phil Pollock
I have attempted to install Cygwin DLL release v1.5.18-1 under my Windows XP 
Home (SP2) administrative account over the last couple of days - just 
doesn't work for me.  Is there another way to download and install Cygwin?  
Any help would be appreciated.  Here's what I attempted:



===
INSTALLATION ATTEMPT 1: Standard Internet Install

1. I created new folders:
   C:\Shareware\Cygwin
   C:\Shareware\Cygwin\LocalPkg
2. I downloaded setup.exe from cygwin.com.
3. I ran setup.exe and selected:
 - 'Install from Internet'
 - Root Directory: C:\Shareware\Cygwin\,  All Users, Unix/binary
 - Local Package Directory: C:\Shareware\Cygwin\LocalPkg
 - Internet Connection: Direct Connection
 - Download Site: http://sourceware.mirrors.tds.net
 - Select Packages: (left defaults as-is) Clicked Next
4. Cygwin Setup Progress shows activity creating and downloading directory 
tree under:
 
C:\SHAREWARE\CYGWIN\LOCALPKG\HTTP%3A%2F%2FSOURCEWARE.MIRRORS.TDS.NET%2FPUB%2FSOURCEWARE.ORG%2FCYGWIN\RELEASE


  the tree structure contains one *.tar.bz2 file per branch.
5. Progress hung on setting up 'alternatives' for a couple of hours until 
all Virtual Memory was consumed resulting in termination.



===
INSTALLATION ATTEMPT 2: Download then Install

1. I emptied folders:
   C:\Shareware\Cygwin
   C:\Shareware\Cygwin\LocalPkg
2. I ran setup.exe and selected:
 - 'Download Without Installing'
 - Local Package Directory: C:\Shareware\Cygwin\LocalPkg
 - Internet Connection: Direct Connection
 - Download Site: http://sourceware.mirrors.tds.net
 - Select Packages: (left defaults as-is) Clicked Next
4. Cygwin Setup Progress shows activity creating and downloading directory 
tree under:
 
C:\SHAREWARE\CYGWIN\LOCALPKG\HTTP%3A%2F%2FSOURCEWARE.MIRRORS.TDS.NET%2FPUB%2FSOURCEWARE.ORG%2FCYGWIN\RELEASE


  the tree structure contains one *.tar.bz2 file per branch.
5. Progress continued until a 'Download Complete' dialog appeared.
6. Files 'setup.log' and 'setup.log.full' were also created this time and 
contained many error messages of the sort:


---
2005/12/23 09:20:04 Starting cygwin install, version 2.510.2.2
2005/12/23 09:20:04 io_stream_cygfile: fopen failed 22 Invalid argument <=== 
this line repeated

... repeats of previous line
2005/12/23 09:20:04 Current Directory: C:\Documents and 
Settings\Owner\Desktop

2005/12/23 09:20:04 Changing gid to Users
2005/12/23 09:20:04 Could not open service McShield for query, start and 
stop. McAfee may not be installed, or we don't have access.

2005/12/23 09:20:11 io_stream_cygfile: fopen failed 22 Invalid argument
2005/12/23 09:20:15 io_stream_cygfile: fopen failed 22 Invalid argument
2005/12/23 09:20:15 source: download
2005/12/23 09:20:35 io_stream_cygfile: fopen failed 22 Invalid argument
2005/12/23 09:20:35 Selected local directory: C:\Cygwin_localpkg
2005/12/23 09:20:42 net: Direct
get_url_to_membuf http://sources.redhat.com/cygwin/mirrors.lst
getUrlToStream http://sources.redhat.com/cygwin/mirrors.lst
2005/12/23 09:20:50 io_stream_cygfile: fopen failed 22 Invalid argument <=== 
this line repeated
2005/12/23 09:20:50 site: 
http://sourceware.mirrors.tds.net/pub/sourceware.org/cygwin
get_url_to_membuf 
http://sourceware.mirrors.tds.net/pub/sourceware.org/cygwin/setup.bz2

...
---

===
INSTALLATION ATTEMPTs 3 - n: Download then Install (all possible 
combinations)


1. I tried using paths: C:\Cygwin and C:\Cygwin_localpk:  SAME RESULT AS 
ATTEMPT 2.

2. I tried using different mirrors: SAME RESULT AS ATTEMPT 2.
3. I tried turning off Norton Antivirus:  SAME RESULT AS ATTEMPT 2.
4. I tried using different download protocols: SAME RESULT AS ATTEMPT 2.

===
INSTALLATION ATTEMPT n+1: Any ideas?

TNX

Phil

_
Is your PC infected? Get a FREE online computer virus scan from McAfee® 
Security. http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



--
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: perl Bundle::Cygwin / perl-bundle-cygwin package

2005-12-23 Thread Yaakov S (Cygwin Ports)
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Yitzchak Scott-Thoennes wrote:
> To further explain, suppose we had a package of all the DateTime::
> modules (which are broken up into many distributions, but I hope you
> would agree would belong together).  They have a number of small
> general purpose dependencies; putting those in the same package
> doesn't make sense to me, nor does packaging each individually.

Yitzchak,

If they have their own CPAN Bundles, then I suppose it would makes sense
to use those in some cases (NOT, for example, Bundle::Gnome2, for the
reasons I stated before).  But if they are just simple, non-essential
CPAN modules and aren't (potential) prereq's for something else, then I
don't see a reason to package them at all.

I think that we need to consider the precedents set by other distros.
For example, Gentoo policy[1] is not to make ebuilds for simple CPAN
modules that are non-essential and not required for another package.

[1] http://www.gentoo.org/doc/en/ebuild-submit.xml

There are some CPAN modules (libwww-perl comes to mind) which IIRC I
have seen as part of Fedora, Debian, and Gentoo, so that should be a
candidate.

> I would lump them all together, along with the few modules we don't
> have packaged yet but that come bundled with ActivePerl (for
> competitive purposes :) and maybe some of the modules that will be
> bundled with perl in 5.10.

Could you provide a list of what you have in mind?  That would give me a
better idea of what we're talking about.


Yaakov
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Cygwin)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDrFTFpiWmPGlmQSMRAkDvAKCyMxvXq5/QgZeZijeasOmiOw8aegCgs6Ui
5SMttw1wexMi6GsMHBOi33Y=
=gb4+
-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: Cygwin 1.5.18-1 on Windows XP group & passwd problem

2005-12-23 Thread Igor Peshansky
On Fri, 23 Dec 2005, Kyle S. Allender wrote:

> Igor Peshansky wrote:
>
> >> mkpasswd -l -s > /etc/passwd
> >   ^^
> > At a guess, here's your problem.  This flag completely omits the SIDs
> > from /etc/passwd.  When you omit SIDs, there is no way for Cygwin to
> > map your user id back to Windows security mechanisms, so any attempt
> > to use ntsec (which is on by default) will fail.  This has nothing to
> > do with the domain.
> >
> > Did you mean to use "-d" instead of "-s"?
>
> Well, I had actually intended to not use -d as I did want to import the
> domain users into the file - there are well over 4000 of them, the vast
> majority of whom I would prefer not have access to my system.

My main point was about your using the "-s" flag -- the "-d" comment was
just my guess for a reason you used the flag.  FWIW, you could also use
the "-u" flag to specify the actual user you want from the domain.

> >> mkgroup -l > /etc/group
> >>
> >> The passwd file initially contained a pair of the lines from the
> >> message above when run with mkpasswd -l -d > /etc/passwd, but I'm not
> >> certain as to why.
> >
> > Running any Cygwin program (including mkpasswd) would probably result
> > in the above message if the SIDs are missing.  Just rerun the command,
> > delete the offending lines, and see if it fixes your problem.
> >
> > You could try confirming my guess by running "CYGWIN=nontsec bash"
> > before regenerating /etc/passwd -- if I'm right, you shouldn't see
> > these messages.
>
> Initially, there was no change.  I actually completely removed Cygwin
> from my system and reinstalled (using the current release, not a
> snapshot), but the effect upon launching the Cygwin shell was the same -
> same error message that is.  Opening an xterm with startx resulted in:
>
> CreateFileandSetSecurity failed with FALSE (Expected on FAT Partitions) GLE: 
> 32
> CreateFileandSetSecurity failed with TRUE (not expected) GLE: 32
> [snip]

You said you get the same message for a bash shell?  Could you please try
to capture the output (by opening a CMD.EXE window and typing
"c:\cygwin\cygwin.bat")?

> Output of a re-run of the commands is as follows:
>
> [EMAIL PROTECTED] /etc
> $ mkpasswd -l -d > /etc/passwd
> mkpasswd (731): [2453] Could not find domain controller for this domain.

Hmm.  How about "mkpasswd -l -c > /etc/passwd"?

> [EMAIL PROTECTED] /etc
> $ mkgroup -l > /etc/group
>
> Contents of the files:
>
> passwd:
>
> SYSTEM:*:18:544:,S-1-5-18::
> Administrators:*:544:544:,S-1-5-32-544::
> Administrator:unused_by_nt/2000/xp:500:513:U-NC-DM-DC141\Administrator,S-1-5-21-1220945662-1547161642-682003330-500:/home/Administrator:/bin/bash
> Guest:unused_by_nt/2000/xp:501:513:U-NC-DM-DC141\Guest,S-1-5-21-1220945662-1547161642-682003330-501:/home/Guest:/bin/bash
> HelpAssistant:unused_by_nt/2000/xp:1000:513:Remote Desktop Help Assistant 
> Account,U-NC-DM-DC141\HelpAssistant,S-1-5-21-1220945662-1547161642-682003330-1000:/home/HelpAssistant:/bin/bash
> SUPPORT_388945a0:unused_by_nt/2000/xp:1002:513:CN=Microsoft 
> Corporation,L=Redmond,S=Washington,C=US,U-NC-DM-DC141\SUPPORT_388945a0,S-1-5-21-1220945662-1547161642-682003330-1002:/home/SUPPORT_388945a0:/bin/bash

I noticed that the "kallender" user is missing from /etc/passwd.
According to the "id" output, "kallender" is definitely a domain user.
Perhaps you need to specify the domain name explicitly (as in "mkpasswd -l
-u kallender -d DOMAINNAME")?

> group:
>
> CreateFileandSetSecurity failed with FALSE (Expected on FAT Partitions) GLE: 
> 32
> CreateFileandSetSecurity failed with TRUE (not expected) GLE: 32

Heh...  You should remove those two lines -- they may be screwing up the
parsing of /etc/group...

> SYSTEM:S-1-5-18:18:
> None:S-1-5-21-1220945662-1547161642-682003330-513:513:
> Administrators:S-1-5-32-544:544:
> Backup Operators:S-1-5-32-551:551:
> Guests:S-1-5-32-546:546:
> Network Configuration Operators:S-1-5-32-556:556:
> Power Users:S-1-5-32-547:547:
> Remote Desktop Users:S-1-5-32-555:555:
> Replicator:S-1-5-32-552:552:
> Users:S-1-5-32-545:545:
> Debugger Users:S-1-5-21-1220945662-1547161642-682003330-1003:1003:
> HelpServicesGroup:S-1-5-21-1220945662-1547161642-682003330-1001:1001:
> RS_Query:S-1-5-21-1220945662-1547161642-682003330-1004:1004:
>
> A further clue _might_ be this:
>
> [EMAIL PROTECTED] /etc
> $ ssh -X [EMAIL PROTECTED]
> CreateFileandSetSecurity failed with FALSE (Expected on FAT Partitions) GLE: 
> 32
> CreateFileandSetSecurity failed with TRUE (not expected) GLE: 32
> The authenticity of host '192.168.1.100 (192.168.1.100)' can't be established.
> RSA key fingerprint is 6d:2d:77:1f:1f:41:04:96:62:f1:5c:76:16:23:b2:2b.
> Are you sure you want to continue connecting (yes/no)? yes
> Warning: Permanently added '192.168.1.100' (RSA) to the list of known hosts.
> Password:
> CreateFileandSetSecurity failed with FALSE (Expected on FAT Partitions) GLE: 
> 32
> CreateFileandSetSecurity failed with TRUE (not expected) GLE: 32
> x11_request_forw

Re: Cygwin 1.5.18-1 on Windows XP group & passwd problem

2005-12-23 Thread Kyle S. Allender
Igor Peshansky wrote:

>>
>> mkpasswd -l -s > /etc/passwd
>   ^^
> At a guess, here's your problem.  This flag completely omits the SIDs from
> /etc/passwd.  When you omit SIDs, there is no way for Cygwin to map your
> user id back to Windows security mechanisms, so any attempt to use ntsec
> (which is on by default) will fail.  This has nothing to do with the
> domain.
> 
> Did you mean to use "-d" instead of "-s"?

Well, I had actually intended to not use -d as I did want to import the
domain users into the file - there are well over 4000 of them, the vast
majority of whom I would prefer not have access to my system.

> 
>> mkgroup -l > /etc/group
>>
>> The passwd file initially contained a pair of the lines from the message
>> above when run with mkpasswd -l -d > /etc/passwd, but I'm not certain as
>> to why.
> 
> Running any Cygwin program (including mkpasswd) would probably result in
> the above message if the SIDs are missing.  Just rerun the command, delete
> the offending lines, and see if it fixes your problem.
> 
> You could try confirming my guess by running "CYGWIN=nontsec bash" before
> regenerating /etc/passwd -- if I'm right, you shouldn't see these
> messages.

Initially, there was no change.  I actually completely removed Cygwin
from my system and reinstalled (using the current release, not a
snapshot), but the effect upon launching the Cygwin shell was the same -
same error message that is.  Opening an xterm with startx resulted in:

CreateFileandSetSecurity failed with FALSE (Expected on FAT Partitions)
GLE: 32
CreateFileandSetSecurity failed with TRUE (not expected) GLE: 32
CreateFileandSetSecurity failed with FALSE (Expected on FAT Partitions)
GLE: 32
CreateFileandSetSecurity failed with TRUE (not expected) GLE: 32
CreateFileandSetSecurity failed with FALSE (Expected on FAT Partitions)
GLE: 32
CreateFileandSetSecurity failed with TRUE (not expected) GLE: 32
CreateFileandSetSecurity failed with FALSE (Expected on FAT Partitions)
GLE: 32
CreateFileandSetSecurity failed with TRUE (not expected) GLE: 32
CreateFileandSetSecurity failed with FALSE (Expected on FAT Partitions)
GLE: 32
CreateFileandSetSecurity failed with TRUE (not expected) GLE: 32
CreateFileandSetSecurity failed with FALSE (Expected on FAT Partitions)
GLE: 32
CreateFileandSetSecurity failed with TRUE (not expected) GLE: 32

Output of a re-run of the commands is as follows:

[EMAIL PROTECTED] /etc
$ mkpasswd -l -d > /etc/passwd
mkpasswd (731): [2453] Could not find domain controller for this domain.

[EMAIL PROTECTED] /etc
$ mkgroup -l > /etc/group

Contents of the files:

passwd:

SYSTEM:*:18:544:,S-1-5-18::
Administrators:*:544:544:,S-1-5-32-544::
Administrator:unused_by_nt/2000/xp:500:513:U-NC-DM-DC141\Administrator,S-1-5-21-1220945662-1547161642-682003330-500:/h
ome/Administrator:/bin/bash
Guest:unused_by_nt/2000/xp:501:513:U-NC-DM-DC141\Guest,S-1-5-21-1220945662-1547161642-682003330-501:/home/Guest:/bin/b
ash
HelpAssistant:unused_by_nt/2000/xp:1000:513:Remote Desktop Help
Assistant Account,U-NC-DM-DC141\HelpAssistant,S-1-5-21
-1220945662-1547161642-682003330-1000:/home/HelpAssistant:/bin/bash
SUPPORT_388945a0:unused_by_nt/2000/xp:1002:513:CN=Microsoft
Corporation,L=Redmond,S=Washington,C=US,U-NC-DM-DC141\SUPP
ORT_388945a0,S-1-5-21-1220945662-1547161642-682003330-1002:/home/SUPPORT_388945a0:/bin/bash

group:

CreateFileandSetSecurity failed with FALSE (Expected on FAT Partitions)
GLE: 32
CreateFileandSetSecurity failed with TRUE (not expected) GLE: 32
SYSTEM:S-1-5-18:18:
None:S-1-5-21-1220945662-1547161642-682003330-513:513:
Administrators:S-1-5-32-544:544:
Backup Operators:S-1-5-32-551:551:
Guests:S-1-5-32-546:546:
Network Configuration Operators:S-1-5-32-556:556:
Power Users:S-1-5-32-547:547:
Remote Desktop Users:S-1-5-32-555:555:
Replicator:S-1-5-32-552:552:
Users:S-1-5-32-545:545:
Debugger Users:S-1-5-21-1220945662-1547161642-682003330-1003:1003:
HelpServicesGroup:S-1-5-21-1220945662-1547161642-682003330-1001:1001:
RS_Query:S-1-5-21-1220945662-1547161642-682003330-1004:1004:

A further clue _might_ be this:

[EMAIL PROTECTED] /etc
$ ssh -X [EMAIL PROTECTED]
CreateFileandSetSecurity failed with FALSE (Expected on FAT Partitions)
GLE: 32
CreateFileandSetSecurity failed with TRUE (not expected) GLE: 32
The authenticity of host '192.168.1.100 (192.168.1.100)' can't be
established.
RSA key fingerprint is 6d:2d:77:1f:1f:41:04:96:62:f1:5c:76:16:23:b2:2b.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.1.100' (RSA) to the list of known hosts.
Password:
CreateFileandSetSecurity failed with FALSE (Expected on FAT Partitions)
GLE: 32
CreateFileandSetSecurity failed with TRUE (not expected) GLE: 32
x11_request_forwarding: bad authentication data: with

It is almost as if there are permissions on disk that are not correct.
The suggested command you provided above does not seem to have helped.

What could possibly be causing this?

Kyle

> 
>> I _really_ hope someone out th

Re: bug in path traversing in 1.5.19 snapshots

2005-12-23 Thread Rick Rankin

>From: Krzysztof Duleba
>To: Cygwin
>Subject: bug in path traversing in 1.5.19 snapshots
>
>Hi
>
>There is a funny bug in the 1.5.19 family, maybe in earlier versions too.
>
>[EMAIL PROTECTED] ~
>$ cd /usr/.../var
>
>[EMAIL PROTECTED] /usr/.../var
>$ ls
>ls: .: No such file or directory
>
>Note that I don't have var directory in /usr.


FYI, This same behavior is exhibited in the stock 1.5.18-1 release as well, so 
this isn't a regression.

--Rick



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



bug in path traversing in 1.5.19 snapshots

2005-12-23 Thread Krzysztof Duleba

Hi

There is a funny bug in the 1.5.19 family, maybe in earlier versions too.

[EMAIL PROTECTED] ~
$ cd /usr/.../var

[EMAIL PROTECTED] /usr/.../var
$ ls
ls: .: No such file or directory

Note that I don't have var directory in /usr.

Cygcheck output attached.

Regards
Krzysztof Duleba

Cygwin Configuration Diagnostics
Current System Time: Fri Dec 23 18:23:13 2005

Windows XP Professional Ver 5.1 Build 2600 Dodatek Service Pack 2

Path:   d:\cygwin\usr\local\bin
d:\cygwin\bin
d:\cygwin\bin
d:\cygwin\usr\X11R6\bin
c:\Program Files\Vim
d:\texmf\miktex\bin\
d:\cygwin\usr\local\bin
d:\cygwin\bin
d:\cygwin\usr\X11R6\bin
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
c:\Program Files\ATI Technologies\ATI Control Panel
d:\cygwin\lib\lapack

Output from d:\cygwin\bin\id.exe (nontsec)
UID: 1003(Krzysiek)  GID: 513(Brak)
(root)   513(Brak)544(Administratorzy)
545(U¿ytkownicy) 1005(Debugger Users)

Output from d:\cygwin\bin\id.exe (ntsec)
UID: 1003(Krzysiek)  GID: 513(Brak)
(root)   513(Brak)544(Administratorzy)
545(U¿ytkownicy) 1005(Debugger Users)

SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS

USER = `Krzysiek'
PWD = `/home/Krzysiek'
CYGWIN = `ntsec tty server'
HOME = `/home/Krzysiek'
MAKE_MODE = `unix'

HOMEPATH = `\Documents and Settings\Krzysiek'
LDFLAGS = `-Wall'
MANPATH = `/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man'
APPDATA = `C:\Documents and Settings\Krzysiek\Dane aplikacji'
HOSTNAME = `duli5'
VS71COMNTOOLS = `D:\programowanie\MS Visual Studio .NET\Common7\Tools\'
TERM = `cygwin'
PROCESSOR_IDENTIFIER = `x86 Family 6 Model 13 Stepping 6, GenuineIntel'
WINDIR = `C:\WINDOWS'
TEXDOCVIEW_txt = `cygstart %s'
TEXDOCVIEW_dvi = `cygstart %s'
OLDPWD = `/usr/bin'
USERDOMAIN = `DULI5'
OS = `Windows_NT'
ALLUSERSPROFILE = `C:\Documents and Settings\All Users'
TEMP = `/cygdrive/c/DOCUME~1/Krzysiek/USTAWI~1/Temp'
COMMONPROGRAMFILES = `C:\Program Files\Common Files'
LIB = `D:\programowanie\MS Visual Studio .NET\SDK\v1.1\Lib\'
USERNAME = `Krzysiek'
TEXDOCVIEW_pdf = `cygstart %s'
PROCESSOR_LEVEL = `6'
FP_NO_HOST_CHECK = `NO'
SYSTEMDRIVE = `C:'
EDITOR = `mcedit'
TEXDOCVIEW_html = `cygstart %s'
USERPROFILE = `C:\Documents and Settings\Krzysiek'
LANG = `PL'
CLIENTNAME = `Console'
PS1 = `\n\[\033]0;[EMAIL PROTECTED] \[\033[33m\w\033[0m\]\n$ '
LOGONSERVER = `\\DULI5'
PROCESSOR_ARCHITECTURE = `x86'
!C: = `C:\Documents and Settings\Krzysiek'
SHLVL = `1'
PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.SH'
HOMEDRIVE = `C:'
!D: = `D:\cygwin\bin'
CFLAGS = `-Wall'
PROMPT = `$P$G'
COMSPEC = `C:\WINDOWS\system32\cmd.exe'
TMP = `/cygdrive/c/DOCUME~1/Krzysiek/USTAWI~1/Temp'
SYSTEMROOT = `C:\WINDOWS'
CVS_RSH = `/bin/ssh'
PROCESSOR_REVISION = `0d06'
PKG_CONFIG_PATH = `/usr/X11R6/lib/pkgconfig'
TEXDOCVIEW_ps = `cygstart %s'
INFOPATH = `/usr/local/info:/usr/share/info:/usr/info:'
PROGRAMFILES = `C:\Program Files'
NUMBER_OF_PROCESSORS = `1'
INCLUDE = `D:\programowanie\MS Visual Studio .NET\SDK\v1.1\include\'
SESSIONNAME = `Console'
COMPUTERNAME = `DULI5'
_ = `/usr/bin/cygcheck'
POSIXLY_CORRECT = `1'

HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
  (default) = 0x0800
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
  (default) = `/cygdrive'
  cygdrive flags = 0x0022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
  (default) = `d:\cygwin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
  (default) = `d:\cygwin/bin'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
  (default) = `d:\cygwin/lib'
  flags = 0x000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options

c:  hd  NTFS 10003Mb  81% CP CS UN PA FC 
d:  hd  NTFS 15998Mb  97% CP CS UN PA FC 
e:  hd  NTFS 4Mb 100% CP CS UN PA FC 
f:  cd N/AN/A

d:\cygwin  /  system  binmode
d:\cygwin/bin  /usr/bin   system  binmode
d:\cygwin/lib  /usr/lib   system  binmode
.  /cygdrive  system  binmode,cygdrive

Found: d:\cygwin\bin\awk.exe
Found: d:\cygwin\bin\bash.exe
Found: d:\cygwin\bin\cat.exe
Found: d:\cygwin\bin\cp.exe
Found: d:\cygwin\bin\cpp.exe
Found: d:\cygwin\bin\find.exe
Found: d:\cygwin\bin\gcc.exe
Found: d:\cygwin\bin\gdb.exe
Found: d:\cygwin\bin\grep.exe
Found: d:\cygwin\bin\ld.exe
Found: d:\cygwin\bin\ls.exe
Found: d:\cygwin\bin\make.exe
Found: d:\cygwin\bin\mv.exe
Found: d:\cygwin\bin\rm.exe
Found: d:\cygwin\bin\sed.exe
Found: d:\cygwin\bin\sh.exe
Found: d:\cygwin\bin\tar.exe

  802k 2003/09/15 d:\cygwin\bin\

ssh localhost date #fails for me, but WJFFU; report enclosed

2005-12-23 Thread Tom Rodman
working test case; Dec 16, was last snapshot that ran OK:

  ~ $ uname -a # *all* tests done initiated from an ssh session
  CYGWIN_NT-5.0 OurServer108 1.5.19s(0.148/4/2) 20051216 23:59:19 i686 unknown 
unknown Cygwin
  ~ $ echo $CYGWIN
  binmode tty ntsec smbntsec
  ~ $ ssh localhost date  # IN ALL THESE TESTS I manually type in the password 
next
  [EMAIL PROTECTED]'s password:
  Fri Dec 23 10:07:53 CST 2005
  ~ $

The 1st snapshot that failed above test (no output from "date"),
was "20051218 23:36:53"

Example of failing test case, w/20051222 12:23:34 snapshot:

  ~ $ uname -a
  CYGWIN_NT-5.0 OurServer108 1.5.19s(0.149/4/2) 20051222 12:23:34 i686 unknown 
unknown Cygwin
  ~ $ echo $CYGWIN
  binmode tty ntsec smbntsec
  ~ $ ssh localhost date
  [EMAIL PROTECTED]'s password:
  ~ $ : # NO OUTPUT from date is seen
  ~ $ ssh -vvv localhost date
  OpenSSH_4.2p1, OpenSSL 0.9.8a 11 Oct 2005
  debug1: Reading configuration data /etc/ssh_config
  debug2: ssh_connect: needpriv 0
  debug1: Connecting to localhost [127.0.0.1] port 22.
  debug1: Connection established.
  debug1: identity file /home/local/staffuser1/.ssh/identity type -1
  debug1: identity file /home/local/staffuser1/.ssh/id_rsa type -1
  debug1: identity file /home/local/staffuser1/.ssh/id_dsa type -1
  debug1: Remote protocol version 1.99, remote software version OpenSSH_4.2
  debug1: match: OpenSSH_4.2 pat OpenSSH*
  debug1: Enabling compatibility mode for protocol 2.0
  debug1: Local version string SSH-2.0-OpenSSH_4.2
  debug2: fd 3 setting O_NONBLOCK
  debug1: SSH2_MSG_KEXINIT sent
  debug1: SSH2_MSG_KEXINIT received
  debug2: kex_parse_kexinit: 
diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
  debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
  debug2: kex_parse_kexinit: 
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,[EMAIL
 PROTECTED],aes128-ctr,aes192-ctr,aes256-ctr
  debug2: kex_parse_kexinit: 
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,[EMAIL
 PROTECTED],aes128-ctr,aes192-ctr,aes256-ctr
  debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,[EMAIL 
PROTECTED],hmac-sha1-96,hmac-md5-96
  debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,[EMAIL 
PROTECTED],hmac-sha1-96,hmac-md5-96
  debug2: kex_parse_kexinit: none,[EMAIL PROTECTED],zlib
  debug2: kex_parse_kexinit: none,[EMAIL PROTECTED],zlib
  debug2: kex_parse_kexinit:
  debug2: kex_parse_kexinit:
  debug2: kex_parse_kexinit: first_kex_follows 0
  debug2: kex_parse_kexinit: reserved 0
  debug2: kex_parse_kexinit: 
diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
  debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
  debug2: kex_parse_kexinit: 
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,[EMAIL
 PROTECTED],aes128-ctr,aes192-ctr,aes256-ctr
  debug2: kex_parse_kexinit: 
aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,arcfour128,arcfour256,arcfour,aes192-cbc,aes256-cbc,[EMAIL
 PROTECTED],aes128-ctr,aes192-ctr,aes256-ctr
  debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,[EMAIL 
PROTECTED],hmac-sha1-96,hmac-md5-96
  debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,hmac-ripemd160,[EMAIL 
PROTECTED],hmac-sha1-96,hmac-md5-96
  debug2: kex_parse_kexinit: none,[EMAIL PROTECTED]
  debug2: kex_parse_kexinit: none,[EMAIL PROTECTED]
  debug2: kex_parse_kexinit:
  debug2: kex_parse_kexinit:
  debug2: kex_parse_kexinit: first_kex_follows 0
  debug2: kex_parse_kexinit: reserved 0
  debug2: mac_init: found hmac-md5
  debug1: kex: server->client aes128-cbc hmac-md5 none
  debug2: mac_init: found hmac-md5
  debug1: kex: client->server aes128-cbc hmac-md5 none
  debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
  debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
  debug2: dh_gen_key: priv key bits set: 131/256
  debug2: bits set: 514/1024
  debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
  debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
  debug3: check_host_in_hostfile: filename 
/home/local/staffuser1/.ssh/known_hosts
  debug3: check_host_in_hostfile: filename /etc/ssh_known_hosts
  debug3: check_host_in_hostfile: match line 7
  debug1: Host 'localhost' is known and matches the RSA host key.
  debug1: Found key in /etc/ssh_known_hosts:7
  debug2: bits set: 498/1024
  debug1: ssh_rsa_verify: signature correct
  debug2: kex_derive_keys
  debug2: set_newkeys: mode 1
  debug1: SSH2_MSG_NEWKEYS sent
  debug1: expecting SSH2_MSG_NEWKEYS
  debug2: set_newkeys: mode 0
  debug1: SSH2_MSG_NEWKEYS received
  debug1: SSH2_MSG_SERVICE_REQUEST sent
  debug2: service_accept: ssh-userauth
  debug1: SSH2_MSG_SERVICE_ACCEPT received
  debug2: key: /home/local/staffuser1/.ssh/identity (0x0)
  debug2: key: /home/local/staffuser1/.ssh/id_rsa (0x0)
  debug2: key: /home/local/staffuser1/.ssh/id_dsa (0x0)
  debug1: Authentications that can continue: 
publickey,password,keyboard-interactive
  debug3: s

Re: Cygwin 1.5.18-1 on Windows XP group & passwd problem

2005-12-23 Thread Igor Peshansky
On Fri, 23 Dec 2005, Kyle S. Allender wrote:

> Morning all.
>
> I am experiencing a problem with Cygwin @ startup.  After having to do a
> rebuild on my local XP system, reinstalling Cygwin went fine until I
> encountered this message when starting the Cygwin environment:
>
> CreateFileandSetSecurity failed with FALSE (Expected on FAT Partitions) GLE: 
> 32
> CreateFileandSetSecurity failed with TRUE (not expected) GLE: 32
> [snip]
>
> I apologise for the repetition, but that is what is displayed at the
> start of the xterm session.  The Cygwin bash shell provided much the
> same, but I was unable to capture that portion.
>
> I have attached the output of:  cygcheck -s -v -r as per the posting
> instructions.
>
> I _think_ this is a problem with my domain account, but I'm not certain.
> I'm not concerned with accessing domain resources from within Cygwin, so
> that can be bypassed if necessary to resolve the issue.
>
> This was working OK until about a week ago when I was having problems
> with my domain account.  The admin was helping me sort it out, and while
> no one says that my domain account was actually deleted and re-created,
> I cannot be certain that that is indeed the case.
>
> A friend has suggested that what I am seeing is the result of the SID
> changing on the domain account - indicating my account's been rebuilt.
> However, no other applications are being affected in this way at this
> time - that I know of.
>
> So...
>
> Can someone out there give me a hint on what might be wrong here?  I
> created the group and passwd files with these commands:
>
> mkpasswd -l -s > /etc/passwd
  ^^
At a guess, here's your problem.  This flag completely omits the SIDs from
/etc/passwd.  When you omit SIDs, there is no way for Cygwin to map your
user id back to Windows security mechanisms, so any attempt to use ntsec
(which is on by default) will fail.  This has nothing to do with the
domain.

Did you mean to use "-d" instead of "-s"?

> mkgroup -l > /etc/group
>
> The passwd file initially contained a pair of the lines from the message
> above when run with mkpasswd -l -d > /etc/passwd, but I'm not certain as
> to why.

Running any Cygwin program (including mkpasswd) would probably result in
the above message if the SIDs are missing.  Just rerun the command, delete
the offending lines, and see if it fixes your problem.

You could try confirming my guess by running "CYGWIN=nontsec bash" before
regenerating /etc/passwd -- if I'm right, you shouldn't see these
messages.

> I _really_ hope someone out there ends up telling me I'm missing
> something obvious, but this particular error does not appear on Google
> that I can find and the Cygwin docs don't point it out either.

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

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

--
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: SSH problem after upgrade - SOLVED

2005-12-23 Thread Igor Peshansky
On Fri, 23 Dec 2005, Ed Brady wrote:

> Ed Brady wrote:
>
> > Igor Pechtchanski wrote:
>
> > > IIRC, the Windows dynamic loader will first look for DLLs in the
> > > application directory, and only then in the PATH.  Here's a WAG: do you
> > > have a copy of winsock.dll or ws2_32.dll in /usr/bin?
>
> The problem is now solved.
>
> The culprit is due to the installation of the cmake-2.2.3-1 package.
> (Located in development).  This package, copies three Microsoft Windows
> specific dll's to /usr/bin.  Specifically, mfc71.dll, msvcp71.dll, and
> msvcr71.dll.  Once I uninstalled this package ssh, telnet, and ftp,
> worked as intended.
>
> As a sanity check, I unzipped the package and manually copied the dlls
> to /usr/bin and the problem returned.
>
> Igor P., it looks like your WAG pretty much nailed it.
> Thanks to all who had input

Glad I could help.  I also see that cmake-2.2.3-1 was removed from the
distribution pending a fix for this.
Igor
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Peshansky, Ph.D. (name changed!)
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

--
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: Please try a snapshot - final push for 1.5.19

2005-12-23 Thread Igor Peshansky
On Thu, 22 Dec 2005, Christopher Faylor wrote:

> On Thu, Dec 22, 2005 at 08:07:19PM -0800, Yitzchak Scott-Thoennes wrote:
> >CYGWIN = `tty ntsec title server'
>^^^
> Thank you.  That was why I couldn't duplicate it.

Hmm, this is weird.  I've reproduced this on my machine[1], with the
cygcheck output posted in [2], and I have 'notty' explicitly set.  Am I
missing something?
Igor
[1] 
[2] 
-- 
http://cs.nyu.edu/~pechtcha/
  |\  _,,,---,,_[EMAIL PROTECTED]
ZZZzz /,`.-'`'-.  ;-;;,_[EMAIL PROTECTED]
 |,4-  ) )-,_. ,\ (  `'-'   Igor Peshansky, Ph.D. (name changed!)
'---''(_/--'  `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

"Las! je suis sot... -Mais non, tu ne l'es pas, puisque tu t'en rends compte."
"But no -- you are no fool; you call yourself a fool, there's proof enough in
that!" -- Rostand, "Cyrano de Bergerac"

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



Cygwin 1.5.18-1 on Windows XP group & passwd problem

2005-12-23 Thread Kyle S. Allender
Morning all.

I am experiencing a problem with Cygwin @ startup.  After having to do a
rebuild on my local XP system, reinstalling Cygwin went fine until I
encountered this message when starting the Cygwin environment:

CreateFileandSetSecurity failed with FALSE (Expected on FAT Partitions)
GLE: 32
CreateFileandSetSecurity failed with TRUE (not expected) GLE: 32
CreateFileandSetSecurity failed with FALSE (Expected on FAT Partitions)
GLE: 32
CreateFileandSetSecurity failed with TRUE (not expected) GLE: 32
CreateFileandSetSecurity failed with FALSE (Expected on FAT Partitions)
GLE: 32
CreateFileandSetSecurity failed with TRUE (not expected) GLE: 32
CreateFileandSetSecurity failed with FALSE (Expected on FAT Partitions)
GLE: 32
CreateFileandSetSecurity failed with TRUE (not expected) GLE: 32
CreateFileandSetSecurity failed with FALSE (Expected on FAT Partitions)
GLE: 32
CreateFileandSetSecurity failed with TRUE (not expected) GLE: 32
CreateFileandSetSecurity failed with FALSE (Expected on FAT Partitions)
GLE: 32
CreateFileandSetSecurity failed with TRUE (not expected) GLE: 32
CreateFileandSetSecurity failed with FALSE (Expected on FAT Partitions)
GLE: 32
CreateFileandSetSecurity failed with TRUE (not expected) GLE: 32


I apologise for the repetition, but that is what is displayed at the
start of the xterm session.  The Cygwin bash shell provided much the
same, but I was unable to capture that portion.

I have attached the output of:  cygcheck -s -v -r as per the posting
instructions.

I _think_ this is a problem with my domain account, but I'm not certain.
 I'm not concerned with accessing domain resources from within Cygwin,
so that can be bypassed if necessary to resolve the issue.

This was working OK until about a week ago when I was having problems
with my domain account.  The admin was helping me sort it out, and while
no one says that my domain account was actually deleted and re-created,
I cannot be certain that that is indeed the case.

A friend has suggested that what I am seeing is the result of the SID
changing on the domain account - indicating my account's been rebuilt.
However, no other applications are being affected in this way at this
time - that I know of.

So...

Can someone out there give me a hint on what might be wrong here?  I
created the group and passwd files with these commands:

mkpasswd -l -s > /etc/passwd
mkgroup -l > /etc/group

The passwd file initially contained a pair of the lines from the message
above when run with mkpasswd -l -d > /etc/passwd, but I'm not certain as
to why.

I _really_ hope someone out there ends up telling me I'm missing
something obvious, but this particular error does not appear on Google
that I can find and the Cygwin docs don't point it out either.

Thanks.
-- 
Kyle Allender
Sr. UNIX Administrator
Mediacom Communications Corporation

Cygwin Configuration Diagnostics
Current System Time: Fri Dec 23 09:59:52 2005

Windows XP Professional Ver 5.1 Build 2600 Service Pack 2

Path:   C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
C:\cygwin\usr\local\bin
C:\cygwin\bin
C:\cygwin\bin
C:\cygwin\usr\X11R6\bin
c:\oracle\ora92\bin
c:\Program Files\Oracle\jre\1.3.1\bin
c:\Program Files\Oracle\jre\1.1.8\bin
c:\WINDOWS\system32
c:\WINDOWS
c:\WINDOWS\System32\Wbem
c:\Program Files\QuickTime\QTSystem\
c:\Program Files\Executive Software\Diskeeper\
c:\Program Files\Netcool\common\system
c:\Program Files\Netcool\common\merantdlls
c:\var\perl\bin
c:\Program Files\Bonjour\
c:\Program Files\Microsoft SQL Server\80\Tools\BINN

Output from C:\cygwin\bin\id.exe (nontsec)
UID: 31363(kallender)GID: 10513(mkgroup-l-d)
544(Administrators)  551(Backup Operators)
556(Network Configuration Operators) 545(Users)
1003(Debugger Users) 10513(mkgroup-l-d)

Output from C:\cygwin\bin\id.exe (ntsec)
UID: 31363(kallender)GID: 10513(mkgroup-l-d)
544(Administrators)  551(Backup Operators)
556(Network Configuration Operators) 545(Users)
1003(Debugger Users) 10513(mkgroup-l-d)

SysDir: C:\WINDOWS\system32
WinDir: C:\WINDOWS

USER = `kallender'
PWD = `/home/kallender'
HOME = `/home/kallender'
MAKE_MODE = `unix'

HOMEPATH = `\Documents and Settings\kallender'
XCHAT_WARNING_IGNORE = `true'
APPDATA = `C:\Documents and Settings\kallender\Application Data'
MANPATH = 
`/usr/local/man:/usr/share/man:/usr/man:/usr/local/man:/usr/share/man:/usr/man::/usr/ssl/man:/usr/share/qt3/doc/man:/usr/X11R6/man:/usr/ssl/man:/usr/share/qt3/doc/man:/usr/X11R6/man'
HOSTNAME = `nc-dm-dc141'
XKEYSYMDB = `/usr/X11R6/lib/X11/XKeysymDB'
PROCESSOR_IDENTIFIER = `x86 Family 15 Model 2 Stepping 9, GenuineIntel'
TERM = `xterm'
WINDIR = `C:\WINDOWS'
WINDOWID = `10485774'
OLDPWD = `/home/kallender'
QTDIR = `/usr/lib/qt3'
USERDOMAIN = `MEDIACOMCORP'
ALL

[ANNOUNCEMENT] Updated: bash-3.0-13

2005-12-23 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

A new release of bash, 3.0-13, is available, replacing the current 3.0-11
and experimental 3.0-12.

NEWS:
=
This is a minor bug-fix update, and includes all official upstream
patches.  It also contains various cygwin-specific patches to work around
known bugs in the 2.05b release that were not fixed upstream by the 3.0
release.  It requires cygwin 1.5.18 or later.  As of the bash 3.0 series,
cygwin /bin/sh defaults to bash, not ash, similar to Linux distributions.

This release fixes the distribution to ensure that 'man alias' and other
builtins work.  It also improves the postinstall scripts to be more
robust, so that you are less likely to get in a situation where /bin/sh
does not exist; and to respect timestamps, refusing to install bash as
/bin/sh if the current /bin/sh has a newer timestamp.

DESCRIPTION:

Bash is an sh-compatible shell that incorporates useful features from the
Korn shell (ksh) and C shell (csh).  It is intended to conform to the IEEE
POSIX P1003.2/ISO 9945.2 Shell and Tools standard.  It offers functional
improvements over sh for both programming and interactive use. In
addition, most sh scripts can be run by Bash without modification.

UPDATE:
===
To update your installation, click on the "Install Cygwin now" link on the
http://cygwin.com/ web page.  This downloads setup.exe to your system.
Save it and run setup, answer the questions, then look for 'bash' in the
'Base' category (it should already be selected).

DOWNLOAD:
=
Note that downloads from sources.redhat.com (aka cygwin.com) aren't
allowed due to bandwidth limitations.  This means that you will need to
find a mirror which has this update, please choose the one nearest to you:
http://cygwin.com/mirrors.html

QUESTIONS:
==
If you want to make a point or ask a question the Cygwin mailing list is
the appropriate place.

- --
Eric Blake
volunteer cygwin bash maintainer

CYGWIN-ANNOUNCE UNSUBSCRIBE INFO:
=
To unsubscribe to the cygwin-announce mailing list, look at the
"List-Unsubscribe: " tag in the email header of this message.  Send email
to the address specified there.  It will be in the format:

[EMAIL PROTECTED]

If you need more information on unsubscribing, start reading here:

http://sources.redhat.com/lists.html#unsubscribe-simple

Please read *all* of the information on unsubscribing that is available
starting at this URL.

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDrA2A84KuGfSFAYARAn+fAJ0Qe5QRWQ72+FEAavD/UcG2znJH4QCgyYQV
FLuiwCpARTthnOKOfjU3PVY=
=hhqY
-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: Can not Contact Domain Controller

2005-12-23 Thread Mike Blanco


--- Mike Blanco <[EMAIL PROTECTED]> wrote:

> Date: Fri, 23 Dec 2005 06:40:53 -0800 (PST)
> From: Mike Blanco <[EMAIL PROTECTED]>
> To: cygwin@cygwin.com
> 
> > > Date: Thu, 22 Dec 2005 14:08:12 -0800 (PST)
> > From: Mike Blanco <[EMAIL PROTECTED]>
> > Subject: Can not Contact Domain Controller
> > To: cygwin 
> > 
> > Everytime I open the Cygwin Console I get the
> > following notifications:
> > 
> > Your group is currently "mkpasswd".  This
> indicates
> > that
> > the /etc/passwd (and possibly /etc/group) files
> > should
> > be rebuilt.
> > See the man pages for mkpasswd and mkgroup then,
> for
> > example, run
> > mkpasswd -l [-d] > /etc/passwd
> > mkgroup  -l [-d] > /etc/group
> > Note that the -d switch is necessary for domain
> > users.
> > 
> > 
> > So I have tried to do this:
> > 
> > mkgroup -l -d > /etc/group
> > mkpasswd -l > /etc/passwd
> > [EMAIL PROTECTED] ~
> > $ mkpasswd -u "mblanco" -d "bgchemical.com" >
> > /etc/passwd
> > mkpasswd (731): [2453] Could not find domain
> > controller for this domain.
> > 
> > I can never contact my domain controller, which is
> > on
> > the same machine as the cygwin.
> > 
> > Any help is appreiciated.
> > 
> > MB
> > 
> > Regards,
> > 
> > Mike Blanco
> > > Date: Fri, 23 Dec 2005 00:18:40 +0100
> > From: Holger Krull <[EMAIL PROTECTED]>
> > To:  cygwin@cygwin.com
> > Subject: Re: Can not Contact Domain Controller
> > 
> > Mike Blanco schrieb:
> > > Everytime I open the Cygwin Console I get the
> > > following notifications:
> > > 
> > > Your group is currently "mkpasswd".  This
> > indicates
> > > that
> > > the /etc/passwd (and possibly /etc/group) files
> > should
> > > be rebuilt.
> > > See the man pages for mkpasswd and mkgroup then,
> > for
> > > example, run
> > > mkpasswd -l [-d] > /etc/passwd
> > > mkgroup  -l [-d] > /etc/group
> > > Note that the -d switch is necessary for domain
> > users.
> > > 
> > 
> > > 
> > 
> > > $ mkpasswd -u "mblanco" -d "bgchemical.com" >
> > > /etc/passwd
> > > mkpasswd (731): [2453] Could not find domain
> > > controller for this domain.
> > > 
> > > I can never contact my domain controller, which
> is
> > on
> > > the same machine as the cygwin.
> > > 
> > 
> > Is bgchemical.com really your windows domain name?
> 
> > Test with netdiag /test:member
> > Maybe your computer isn't part of a domain and
> your
> > have a standalone server, in that case you only
> have
> > local accounts and should not use -d.
> > 
> > 
> > > From: "Gary R. Van Sickle"
> > <[EMAIL PROTECTED]>
> > To: "'cygwin'" 
> > Subject: RE: Can not Contact Domain Controller
> > Date: Thu, 22 Dec 2005 20:28:38 -0600
> > 
> > > From: Mike Blanco
> > > Sent: Thursday, December 22, 2005 4:08 PM
> > > To: cygwin
> > > Subject: Can not Contact Domain Controller
> > > 
> > > Everytime I open the Cygwin Console I get the
> > following notifications:
> > > 
> > > Your group is currently "mkpasswd".  This
> > indicates that the 
> > > /etc/passwd (and possibly /etc/group) files
> should
> > be rebuilt.
> > > See the man pages for mkpasswd and mkgroup then,
> > for example, 
> > > run mkpasswd -l [-d] > /etc/passwd mkgroup  -l
> > [-d] > 
> > > /etc/group Note that the -d switch is necessary
> > for domain users.
> > > 
> > > 
> > > So I have tried to do this:
> > > 
> > > mkgroup -l -d > /etc/group
> > > mkpasswd -l > /etc/passwd
> > > [EMAIL PROTECTED] ~
> > > $ mkpasswd -u "mblanco" -d "bgchemical.com" >
> > /etc/passwd 
> > > mkpasswd (731): [2453] Could not find domain
> > controller for 
> > > this domain.
> > > 
> > > I can never contact my domain controller, which
> is
> > on the 
> > > same machine as the cygwin.
> > > 
> > > Any help is appreiciated.
> > > 
> > > MB
> > > 
> > > Regards,
> > > 
> > > Mike Blanco
> > 
> > When you (or other systems on the same network)
> > login, does it take
> > literally about 5 minutes for your desktop to
> appear
> > (in the meantime all
> > you get is a box saying something like "getting
> your
> > personal settings" or
> > some such lie)?  If so, I know exactly what that
> is:
> >  You domain controller
> > doesn't show up on your DNS server.  Now, that
> > doesn't mean that you can
> > boot up, log on (even to a domain account), and
> > (mostly, most of the time)
> > do whatever you need to do, but it does mean that
> > you'll get errors like
> > this, have all sorts of other bizarre trouble,
> > network stuff is way too
> > slow, etc etc.  Wanna know the truly pathetic
> part? 
> > MS knows all about this
> > (it's existed since at least Why2K, and they have
> a
> > useless KB article about
> > it), but for God knows what reason, REFUSES TO FIX
> > IT.
> > 
> > To fix it, you basically have to set up MS's DNS
> > server (it can be caching
> > or whatever) and MANUALLY add the domain
> controller
> > lookup entry.  I don't
> > recall the step-by-steps on how to do that, nor do
> I
> > wish to.  It's a total
> > disaster even when you know the cause.  I pity any
> > of you IT types out
> > there.
> > 
> > -- 
>

Re: responding to someones post

2005-12-23 Thread Larry Hall (Cygwin)

Mariusz Wodzicki wrote:

More interesting is the question how to reply
to somebody's post *without* subscribing to
the cygwin mail list.

I find it very useful to visit the mailing
list whenever I feel so but my previous experience
with subscribing to mailing lists having such
a high volume like cygwin@cygwin.com stops
me from subscribing to it.

My concern is only about linking my posted reply
to the correct thread.



Just in case this thread is causing someone out there some confusion,
you don't need to subscribe to this list to read it or send email to it.

OK, for those that want to reply to a list message without having the
message in your mailbox so that it's properly threaded, you can either
manually include the proper headers referencing the message IDs you're
responding to, search the email archives for Igor Pechtchanski's scripts
that help you do this, or use one of the email-list-to-news-portals to
read and respond to messages.  If you're interested in the latter, you
can use the  link on the Cygwin
home page to get to GMANE.  Keep in mind that GMANE is not site that
has any connection with Cygwin.  It is simply a site that provides a
news interface to many mailing lists.  So, if you have difficulty with
this interface, you want to contact the GMANE folks, not Cygwin.

--
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: Cron and find

2005-12-23 Thread Christopher Faylor
On Fri, Dec 23, 2005 at 07:08:07AM -0700, Eric Blake wrote:
>According to Christophe Sauthier on 12/23/2005 6:51 AM:
>>I've been googling a bit, and I've found nothing really usefull...
>>Does anybody encount that problem and has a solution ?  By the way,
>>just a little precision : the user that execute the cron job and the
>>shell are the same, and my system is win 2003.
>
>Actually, the users probably aren't the same.
>
>http://cygwin.com/faq/faq-nochunks.html#faq.using.shares
>
>My guess is that you are trying to use find to traverse a network
>share, hence it isn't finding anything since the share is inaccessible
>to the SYSTEM user.

That was my guess, too.  Either that or the PATH is different in the
cron script and the windows version of find is being run rather than
the cygwin version.

cgf

--
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: Cron and find

2005-12-23 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to Christophe Sauthier on 12/23/2005 6:51 AM:
> Hi,
> 
> I am facing a weird stuff : I am executing a shell script that
> contains a call to the find command.
> 
> When I am running it from the shell command list, everything run
> smoothly... But when I am calling it from my crontab, find didn't
> seems to return anything... In fact it didn't to work at all...

It would help if you actually provided the command line in question,
rather than just describing it.  We aren't mind readers, after all.

> 
> I've been googling a bit, and I've found nothing really usefull...
> Does anybody encount that problem and has a solution ? By the way,
> just a little precision : the user that execute the cron job and the
> shell are the same, and my system is win 2003.

Actually, the users probably aren't the same.

http://cygwin.com/faq/faq-nochunks.html#faq.using.shares

My guess is that you are trying to use find to traverse a network share,
hence it isn't finding anything since the share is inaccessible to the
SYSTEM user.

> 
> Otherwise if someone has a proper solution to get all the directory
> contained inside an other one, and just the first level of same, I am
> interested... By a proper solution I mean, avoiding just a simple ls
> and then full of cut/grep/pipes...

If find can't see the directory in question, then ls can't either.

Also, following these directions will help us help you:

> Problem reports:   http://cygwin.com/problems.html

- --
Life is short - so eat dessert first!

Eric Blake [EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDrATG84KuGfSFAYARAj+LAKCyy+tjAjNHK9amXCrHv7dy23JchwCfW8Kd
Ccv07QOb5WUVD0HSY+AWTW4=
=nsS6
-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/



Cron and find

2005-12-23 Thread Christophe Sauthier
Hi,

I am facing a weird stuff : I am executing a shell script that
contains a call to the find command.

When I am running it from the shell command list, everything run
smoothly... But when I am calling it from my crontab, find didn't
seems to return anything... In fact it didn't to work at all...

I've been googling a bit, and I've found nothing really usefull...
Does anybody encount that problem and has a solution ? By the way,
just a little precision : the user that execute the cron job and the
shell are the same, and my system is win 2003.

Otherwise if someone has a proper solution to get all the directory
contained inside an other one, and just the first level of same, I am
interested... By a proper solution I mean, avoiding just a simple ls
and then full of cut/grep/pipes...

Thanks a lot in advance,

 Chris

--
Ma vie  |
Mes images  |  http://www.reponses.net
Mon Wiki  |

--
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: Using gcc under cygwin to compile and link the db2 udb sample c programs

2005-12-23 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

According to ERIC HO on 12/22/2005 2:15 PM:
> I'm wondering whether anyone have used gcc under cygwin (windows xp) to 
> compile and link the db2 udb sample c/cpp programs successfully? I'd 
> appreciate if you could share the steps and command syntax. Under Linux, it 
> is very simple and I just run the make all command. Thanks.

Have you tried running 'make all'?  That's normally how it works on
cygwin, too.  If you get failures, then it is probably a portability bug
in the package you are trying to compile.  Also, most free software
packages require you to run './configure' before the Makefile will exist
to run 'make'.  And 'make' is usually shorthand for 'make all', if the
Makefile was built correctly.

- --
Life is short - so eat dessert first!

Eric Blake [EMAIL PROTECTED]
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFDq/d584KuGfSFAYARAoLHAJ9TLJn/3EghS1/4iFKM1J2rQbCpUACeN5+0
ftR5RLpgDSucagz60qGkKg8=
=6lDd
-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: responding to someones post

2005-12-23 Thread Mariusz Wodzicki
More interesting is the question how to reply
to somebody's post *without* subscribing to
the cygwin mail list.

I find it very useful to visit the mailing
list whenever I feel so but my previous experience
with subscribing to mailing lists having such
a high volume like cygwin@cygwin.com stops
me from subscribing to it.

My concern is only about linking my posted reply
to the correct thread.

Mariusz Wodzicki

--
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: Can not Contact Domain Controller

2005-12-23 Thread Owen Rees

--On 22 December 2005 14:08 -0800 Mike Blanco wrote:


So I have tried to do this:

mkgroup -l -d > /etc/group
mkpasswd -l > /etc/passwd
[EMAIL PROTECTED] ~
$ mkpasswd -u "mblanco" -d "bgchemical.com" >
/etc/passwd
mkpasswd (731): [2453] Could not find domain
controller for this domain.

I can never contact my domain controller, which is on
the same machine as the cygwin.


The prompt suggests that you are logged in as 'administrator', not as 
'mblanco' so you will need to set up the account 'administrator' properly 
in cygwin if you want things to work in that context.


As Holger asked, are you sure that "bgchemical.com" is your windows domain 
name? Are you perhaps confusing Internet domains (as in DNS, FQDN and names 
like 'example.com') with Windows Domains (as in PDCs, BDCs and these days 
Active Directory). The terminology is somewhat confusing, especially since 
the two kinds of domain can be linked if the Windows Domain Administrator 
knows what they are doing (see Gary's response to your question). Even if 
the Windows Domain and DNS have been set up so that they work properly 
together, my quick experiment suggests that you do not use a FQDN for the 
'-d' parameter to mkpasswd.


On the subject of domain controllers, if you can log in as administrator on 
a machine that is running a Windows Domain Controller then I would hope 
that you know far more about being Windows Domain Administrator than I 
remember from the Windows NT Admin course I did nearly 10 years ago. If you 
meant that you are running a DNS server then that is an entirely different 
thing.


Two things to do to get some basic information before going any further:

At a Windows Command Prompt type

whoami

This should respond with

DOMAIN\user

For values of DOMAIN and user that match what you use to log in to Windows. 
Then from a cygwin shell type


echo -u "$USERNAME" -d "$USERDOMAIN"

the USERNAME and USERDOMAIN environment variables should be set to the 
values reported by whoami (Note that there is also a whoami command 
provided by cygwin - it is not the same thing as the Windows command).


If the values matched, in a cygwin shell type

mkpasswd -u "$USERNAME" -d "$USERDOMAIN"

This should respond with the line you need to put in your /etc/passwd to 
make things work for the user you are logged in as.


One final point. In the extract quoted above you used '> /etc/passwd' for 
the second call of mkpasswd but this will replace the previous contents of 
/etc/passwd deleting all the local account data. You should use '>> 
/etc/passwd' to append the extra line.


--
Owen Rees
Hewlett Packard Laboratories, Bristol, UK



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



AW: responding to someones post

2005-12-23 Thread Marco Lechner
Try "reply" and you should be able to answer the editor of the post.
Just check the To-field of your email-client.

Marco

-
Marco Lechner

office:
Department of Physical Geography
University of Freiburg
Werderring 4
D-79085 Freiburg
Germany
phone +49 (0)761 / 203-3548
email [EMAIL PROTECTED]

> -Ursprüngliche Nachricht-
> Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Auftrag
> von Mike Blanco
> Gesendet: Donnerstag, 22. Dezember 2005 21:27
> An: cygwin
> Betreff: responding to someones post
>
>
> How would I respond to someones post on this mailing
> list.  I have read the FAQ, but I think that this
> should be so easy it is not explained.  I just want to
> try to contribute to this list since I have
> subscribed.
>
> I apologize in advance for such a basic question.
>
> MB
>
> Regards,
>
> Mike Blanco
>
> --
> 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/
>


--
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: custom installer

2005-12-23 Thread angel bosch

En/na Larry Hall (Cygwin) ha escrit:

angel bosch wrote:


If you're talking about just installing tools within your own company,
you're fine.



ok, any info about the topic?

i just want to know what exaclty do the installer of cygwin to avoid 
any problem.


is enough with copying the whole directory?




No.  It also runs, at least, post install scripts, creates mount points, 
etc.
If you want to know the details of what "setup.exe" does, you should 
look at
the code.  See .  If 
you're
just interested in discussion on how to install without "setup.exe", you 
can

browse the archives.  The subject comes up now and then and various folks
have indulged the poster on occasion with suggestions and so forth.



thanks a lot. i'll take a look.

--
àngel bosch
Departament de Sistemes i Comunicacions
Brújula Telecom
T. +34 971 433 909 - F. +34 971 433 910
www.brujulatelecom.com
___
En el cor del seu negoci

--
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: perl Bundle::Cygwin / perl-bundle-cygwin package

2005-12-23 Thread Yitzchak Scott-Thoennes
On Thu, Dec 22, 2005 at 01:51:02PM -0800, Yitzchak Scott-Thoennes wrote:
> On Thu, Dec 22, 2005 at 01:14:06PM -0600, Yaakov S (Cygwin Ports) wrote:
> > -BEGIN PGP SIGNED MESSAGE-
> > Hash: SHA1
> > 
> > Yitzchak Scott-Thoennes wrote:
> > > I'm working on creating a bundle of common Perl modules that build and
> > > pass all significant tests on cygwin.
> > > 
> > > I hope to have it accepted as a cygwin package.
> > 
> > I think it's preferable to make separate packages for each module.  My
> > reasoning:
> > 
> > 1) this is the precedent set by Linux distributions;
> > 2) bumping one module doesn't require rolling a whole bundle;
> > 3) separate modules minimizes unnecessary dependencies;
> > 4) I'm sure there's something else I'm forgetting.
> > 
> > IOW, I do NOT like this idea.
> > 
> > If, OTOH, I do believe that more perl modules should go into the distro,
> > without packaging the entire CPAN, certainly:
> > 
> > 1) modules which don't build OOTB (e.g. Tk, gtk2-perl bindings, etc.);
> > 2) modules which are prerequisites for other packages (e.g.
> > ExtUtils::PkgConfig, necessary for building gtk2-perl bindings).
> > 
> > The same would apply, of course, to python and ruby.  You'll see I
> > already have a large selection on Cygwin Ports, although not all of
> > those are candidates for the distro.
> 
> Large distributions like POE or the DateTime:: modules should have
> packages of their own.  I was thinking of smaller modules that it
> really would make no sense to have one package per CPAN distribution
> for, particularly common dependencies of other modules.

To further explain, suppose we had a package of all the DateTime::
modules (which are broken up into many distributions, but I hope you
would agree would belong together).  They have a number of small
general purpose dependencies; putting those in the same package
doesn't make sense to me, nor does packaging each individually.

I would lump them all together, along with the few modules we don't
have packaged yet but that come bundled with ActivePerl (for
competitive purposes :) and maybe some of the modules that will be
bundled with perl in 5.10.

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