Re: Building OpenSSH

2005-03-03 Thread Karl M
From: Igor Pechtchanski Subject: Re: Building OpenSSH Date: Thu, 3 Mar 2005 00:25:37 -0500 (EST) On Wed, 2 Mar 2005, Karl M wrote: > Hi All... > > While tracking down an occasional hang in keychain, I tracked it down to > ssh-add...so I wanted to build OpenSSH. More on this when I finish tracking

Re: Building OpenSSH

2005-03-03 Thread Igor Pechtchanski
On Thu, 3 Mar 2005, Karl M wrote: > > From: Igor Pechtchanski > > Subject: Re: Building OpenSSH > > Date: Thu, 3 Mar 2005 00:25:37 -0500 (EST) > > > > On Wed, 2 Mar 2005, Karl M wrote: > > > > > I used the following command from the cygwin openssh readme file. > > > > > > ./configure --prefix=/usr

Re: Building OpenSSH

2005-03-03 Thread Igor Pechtchanski
On Thu, 3 Mar 2005, Igor Pechtchanski wrote: > On Thu, 3 Mar 2005, Karl M wrote: > > > > From: Igor Pechtchanski > > > Subject: Re: Building OpenSSH > > > Date: Thu, 3 Mar 2005 00:25:37 -0500 (EST) > > > > > > On Wed, 2 Mar 2005, Karl M wrote: > > > > > > > Also, would it be possible for the OpenS

keychain service--hanging in ssh-add

2005-03-03 Thread Karl M
Hi All... I tracked it down. It is not a problem with keychain, openssh or cygwin. Occasionally, on this particular laptop (XP SP2), the user can reboot, log in and start a bash shell before all of the services are running or while they are still starting. Gotta love Microsoft. So that was causin

Re: Error linking under Cygwin: fork: can't reserve memory for stack XXX, Win32 error 487

2005-03-03 Thread Martin Egholm Nielsen
Hi, I've ended up here after having rounded the gcc-irc-channel and the crosscompiler mailing-list. The story: I have compiled a gcc crosscompiler hosted under Cygwin using Dan Kegel's Crosstool scripts. However, as my application is growing in size (number of .o files) I suddenly get the foll

Buiding net-snmp perl in cygwin - Please anyone help me

2005-03-03 Thread Aparna R
I Downloaded net-snmp-5.2.1.tar.gz and it got successfully installed on cygwin. Installed Modules: ActivePerl 5.8.6 Perl that comes with cygwin When Net-SNMP Perl modules are installed in cygwin I am getting following error $perl MakeFile.PL is successful Writing

Re: cp (coreutils) 5.2.1 Corrupts Binary File

2005-03-03 Thread Vincent Rowley
Igor Pechtchanski cs.nyu.edu> writes: > Two more (probably easier) ways: > 1) Run setup.exe and select "Unix line endings"; then select the "Keep" > mode (switch to the "Partial" view to make sure no packages will get > installed), and complete the installation. The mounts will be switched. > 2)

ghostscript/fontconfig issues

2005-03-03 Thread Bertalan Fodor
Hello, I've found the following bugs/issues about the ghostscript and fontconfig packages and their cooperation: - fontconfig segfaults with old fonts in ghostscript (hr*), because they are buggy. AFAIK other ghostscript distributions do not contain them for the same reason. - fontconfig's /etc/

Re: ctime: creation or change time?

2005-03-03 Thread Corinna Vinschen
On Mar 2 13:19, [EMAIL PROTECTED] wrote: > In fact, NTFS has no notion of file change time as described in POSIX. Is > there > any chance of undoing this change? An alternative solution might be to simply > use the NTFS file modify time for both the mtime and ctime of the file, since > those tw

Re: Building OpenSSH

2005-03-03 Thread Corinna Vinschen
On Mar 3 00:04, Karl M wrote: > >> ./configure --prefix=/usr --sysconfdir=/etc --libexecdir='$(sbindir)' \ > >> --localstatedir=/var --datadir='$(prefix)/share' > >--mandir='$(datadir)/man' \ > >> --with-tcp-wrappers > >> > >> The configure complains that commands sbindir and datadir are not > >

Re: keychain service--hanging in ssh-add

2005-03-03 Thread Corinna Vinschen
On Mar 3 00:22, Karl M wrote: > Corinna...I have not heard back from Hack after I sent him an e-mail a week > ago. I am happy to support an updated keychain package, or just place my > files in the archives. We can wait a while longer to see if we hear from > Hack. Just let me know how you woul

Re: keychain service--hanging in ssh-add

2005-03-03 Thread Brian Dessent
Karl M wrote: > I tracked it down. It is not a problem with keychain, openssh or cygwin. > > Occasionally, on this particular laptop (XP SP2), the user can reboot, log > in and start a bash shell before all of the services are running or while > they are still starting. Gotta love Microsoft. So t

RE: cygstart patch

2005-03-03 Thread Derosa, Anthony CIV NAVAIR 2035, 2, 205/214
>OTOH, I can't see anyway around it without ALSO calling strlen() I'm no expert either, but I did use strlen() when allocating the memory (with malloc() and realloc()). So if we successfully allocated enough memory (args != NULL), then the string "*rest" has some finite length and won't cause str

RE: loading of wsock32 disturbs FPU

2005-03-03 Thread Dave Korn
Original Message >From: Christopher Faylor >Sent: 03 March 2005 00:59 > I've checked in a patch to cygwin which saves and restores the FPU control > register around calls to LoadLibrary. That seems to solve the problem. Confirmed here, but why did you remove the comment? It's still t

Re: Buiding net-snmp perl in cygwin - Please anyone help me

2005-03-03 Thread Igor Pechtchanski
Please start a new thread instead of replying to an unrelated message. More below. On Thu, 3 Mar 2005, Aparna R wrote: > I Downloaded net-snmp-5.2.1.tar.gz and it got successfully installed on > cygwin. > Installed Modules: ActivePerl 5.8.6 > Perl that comes with cygwin This is uncle

RE: Error linking under Cygwin: fork: can't reserve memory for stack XXX, Win32 error 487

2005-03-03 Thread Dave Korn
Original Message >From: Martin Egholm Nielsen >Sent: 03 March 2005 08:42 >>> However, as my application is growing in size (number of .o files) I >>> suddenly get the following fault message from collect2.exe when trying >>> to link them all together: >>> >>> $ powerpc-405-linux-gnu-gcj

RE: cygstart patch

2005-03-03 Thread Dave Korn
Original Message >From: Charles Wilson >Sent: 03 March 2005 06:59 > Derosa, Anthony CIV NAVAIR 2035, 2, 205/214 wrote: >> I found a small bug and added a feature to the cygstart utility, which >> is part of the cygutils package. The feature that I added removes the >> limit on the length

Re: how to stop cron logging into NT eventlog ?

2005-03-03 Thread kagemaru
Hello, Sadly, the - at the beggining of the crontab does not work, it keeps loggin in the eventlog. Thanks for your help ! Best regards, Emmanuel -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http:/

Re: perl 5.8.6: unable to compile PAR 0.87

2005-03-03 Thread Kevin Everets
On Wed, Mar 02, 2005 at 11:29:55PM +0100, Gerrit P. Haase wrote: > This is an already known issue with the first 5.8.6 perl including the > Win32CORE parts. It was released an update to fix this issue, please > upgrade to the latest release. Yup, sorry. perl-5.8.6-1 was what I was using, and

RE: cygstart patch

2005-03-03 Thread Derosa, Anthony CIV NAVAIR 2035, 2, 205/214
Dave, you're right! I was forgetting the NUL in realloc. I'm surprised that the original fix has been working for me. What do you think about Chuck's concerns regarding strcat() vs. strncat()? So, after adding 1 to the realloc line, the patch follows (I *didn't* regenerate this with diff, is that

RE: cygstart patch

2005-03-03 Thread Igor Pechtchanski
On Thu, 3 Mar 2005, Derosa, Anthony CIV NAVAIR 2035, 2, 205/214 wrote: > What do you think about Chuck's concerns regarding strcat() > vs. strncat()? I'm no expert either, but usually the purpose of strncat() is to avoid a buffer overrun when copying an arbitrary-sized string into a statically-s

RE: cygstart patch

2005-03-03 Thread Derosa, Anthony CIV NAVAIR 2035, 2, 205/214
> Mind the spaces/tabs in the *original* code. As long as what > you edited in your newly-added (or replacement) code, > it should still apply. Igor, thanks. I didn't modify the original - only my changes. I asked because I didn't know if the diff format contains some checksum that would be mess

RE: cygstart patch

2005-03-03 Thread Dave Korn
Original Message >From: Derosa, Anthony CIV NAVAIR 2035, 2, 205/214 >Sent: 03 March 2005 14:22 > Dave, you're right! I was forgetting the NUL in realloc. > I'm surprised that the original fix has been working for me. > What do you think about Chuck's concerns regarding strcat() > vs. strn

Re: keychain service--hanging in ssh-add

2005-03-03 Thread Karl M
From: Brian Dessent Subject: Re: keychain service--hanging in ssh-add Date: Thu, 03 Mar 2005 04:16:23 -0800 Karl M wrote: > I tracked it down. It is not a problem with keychain, openssh or cygwin. > > Occasionally, on this particular laptop (XP SP2), the user can reboot, log > in and start a bash

Re: loading of wsock32 disturbs FPU

2005-03-03 Thread Christopher Faylor
On Thu, Mar 03, 2005 at 08:15:08PM +1300, Danny Smith wrote: >cgf wrote: >>On Wed, Mar 02, 2005 at 03:37:42PM +0100, Corinna Vinschen wrote: >>>On Mar 2 15:31, Corinna Vinschen wrote: On Mar 2 13:33, Dave Korn wrote: >Hm. We probably need to put a finit instruction into the autoload code

Problem with bash under cygwin 1.5.13

2005-03-03 Thread Andrew Waltman
Hi, I frequently start multiple copies of bash at the same time when first logging in to my computer. As of the latest update of the cygwin package when I start more than one bash at the same time (without waiting for the prompt to appear in the first one) I get a stack dump in the second window:

RE: cygstart patch

2005-03-03 Thread Derosa, Anthony CIV NAVAIR 2035, 2, 205/214
> But there is an important _process_ problem. It is the > number one sin of CVS to checkin anything > other than ***exactly*** the code that you compiled and tested, so you > aren't excused from having to re-compile and re-test the code > with the +1 = +2 modification applied to it, and at that

Re: Buiding net-snmp perl in cygwin - Please anyone help me

2005-03-03 Thread Gerrit P. Haase
Aparna R wrote: I Downloaded net-snmp-5.2.1.tar.gz and it got successfully installed on cygwin. Installed Modules: ActivePerl 5.8.6 Perl that comes with cygwin When Net-SNMP Perl modules are installed in cygwin I am getting following error $perl MakeFile.PL is successf

cron copy on network drives

2005-03-03 Thread Paul Hodor
Hi, I am trying to set up a cron service to update some directories on a network drive, but I ran into a problem. This copy command works from the command-line: cp -a -u -v //mydrive/myshare/dir1/* //mydrive/myshare/dir2 >> log 2>&1 However, if I run it with cron I get the following error: cp: c

Slow pipes after upgrade cygwin 1.5.12-1->1.5.13-1 when running boinc

2005-03-03 Thread Bengt-Arne Fjellner
With boinc running [EMAIL PROTECTED] at lowest priority ( uses 100% cpu but yields easily) simple pipes takes a long time. Example: from a bash prompt echo hello|grep -v xyz with boinc running and 1.5.13-1 takes about 7 seconds. if i stop boinc it takes parts of a second. after downgrade to 1.5.12

Re: cron copy on network drives

2005-03-03 Thread Bryan Thrall
From: Paul Hodor Date: Thu, 3 Mar 2005 08:13:36 -0800 (PST) Hi, I am trying to set up a cron service to update some directories on a network drive, but I ran into a problem. This copy command works from the command-line: cp -a -u -v //mydrive/myshare/dir1/* //mydrive/myshare/dir2 >> log 2>&1 Howeve

Re: cron copy on network drives

2005-03-03 Thread Larry Hall
At 11:13 AM 3/3/2005, you wrote: >Hi, > >I am trying to set up a cron service to update some directories on a >network drive, but I ran into a problem. > >This copy command works from the command-line: >cp -a -u -v //mydrive/myshare/dir1/* //mydrive/myshare/dir2 >> log 2>&1 > >However, if I run it

Re: Slow pipes after upgrade cygwin 1.5.12-1->1.5.13-1 when running boinc

2005-03-03 Thread Christopher Faylor
On Thu, Mar 03, 2005 at 05:36:00PM +0100, Bengt-Arne Fjellner wrote: >With boinc running [EMAIL PROTECTED] at lowest priority ( uses 100% cpu but >yields easily) >simple pipes takes a long time. >Example: from a bash prompt >echo hello|grep -v xyz >with boinc running and 1.5.13-1 takes about 7 sec

Re: Slow pipes after upgrade cygwin 1.5.12-1->1.5.13-1 when running boinc

2005-03-03 Thread Bengt-Arne Fjellner
Christopher Faylor skrev: > On Thu, Mar 03, 2005 at 05:36:00PM +0100, Bengt-Arne Fjellner wrote: >>With boinc running [EMAIL PROTECTED] at lowest priority ( uses 100% cpu but >>yields >> easily) >>simple pipes takes a long time. >>Example: from a bash prompt >>echo hello|grep -v xyz >>with boinc r

Re: Slow pipes after upgrade cygwin 1.5.12-1->1.5.13-1 when running boinc

2005-03-03 Thread Christopher Faylor
On Thu, Mar 03, 2005 at 06:26:44PM +0100, Bengt-Arne Fjellner wrote: >Christopher Faylor skrev: >> On Thu, Mar 03, 2005 at 05:36:00PM +0100, Bengt-Arne Fjellner wrote: >>>With boinc running [EMAIL PROTECTED] at lowest priority ( uses 100% cpu but >>>yields >>> easily) >>>simple pipes takes a long

RE: Slow pipes after upgrade cygwin 1.5.12-1->1.5.13-1 when running boinc

2005-03-03 Thread Morche Matthias
[EMAIL PROTECTED] wrote: ... > If I had to guess, I'd say that boinc is putting itself into a high > priority class for some reason and is eating cpu cycles, causing > cygwin's pipe reading code to stall. > > I've made a change to cygwin to put it's pipe reading code into a > slightly higher prior

RE: Problem with bash under cygwin 1.5.13

2005-03-03 Thread Dave Korn
Original Message >From: Andrew Waltman >Sent: 03 March 2005 15:12 > Hi, > > I frequently start multiple copies of bash at the same time when first > logging in to my computer. As of the latest update of the cygwin package > when I start more than one bash at the same time (without waiting

Re: Slow pipes after upgrade cygwin 1.5.12-1->1.5.13-1 when running boinc

2005-03-03 Thread Bengt-Arne Fjellner
gt; >>With currently this subproject running: >>[EMAIL PROTECTED] >>http://einstein.phys.uwm.edu/ >>Dont know if any other subprojects are affected. > > If I had to guess, I'd say that boinc is putting itself into a high priority > class for some reason and is ea

RE: Problem with bash under cygwin 1.5.13

2005-03-03 Thread Dave Korn
Original Message >From: Dave Korn >Sent: 03 March 2005 17:48 > Original Message >> From: Andrew Waltman >> Sent: 03 March 2005 15:12 >> However, if I wait for eash instance of bash to come to a command prompt >> I can start the 2nd, 3rd, etc. bash window. This behavior started af

chere doesn't cd to directory

2005-03-03 Thread Wayne Johnson
I just discovered chere. I'd been using my own version called bash here, but chere is so much easier to install. One problem though. Where I do the chere "Bash here" menu entry, it starts the bash in the home directory. I dug through the xhere script and found the "export CHERE_DIR=`cygpath -u

Re: Error linking under Cygwin: fork: can't reserve memory for stack XXX, Win32 error 487

2005-03-03 Thread Martin Egholm Nielsen
Hi, However, as my application is growing in size (number of .o files) I suddenly get the following fault message from collect2.exe when trying to link them all together: $ powerpc-405-linux-gnu-gcj --main=foo.Main *.o C:\cygwin\opt\crosstool\powerpc-405-linux-gnu\gcc-3.4.0-glibc-2.2.5\libexec\gcc\

Re: Slow pipes after upgrade cygwin 1.5.12-1->1.5.13-1 when running boinc

2005-03-03 Thread David Rothenberger
ced that if I ran sh -c 'echo hello | grep -v xyz' from a cmd.exe shell, it completed quickly with 1.5.13. The latest 20050303 snapshot fixed this problem for me. It also fixed the problem I was having with BOINC. -- David Rothenbergerspammer? -> [EMAIL PROTECTE

Re: chere doesn't cd to directory

2005-03-03 Thread Wayne Johnson
Wayne Johnson yahoo.com> writes: > > One problem though. Where I do the chere "Bash here" menu entry, it starts the > bash in the home directory. I dug through the xhere script and found the > "export CHERE_DIR=`cygpath -u $2`" commented out. If I comment it back in, I > get an error because

RE: Problem with bash under cygwin 1.5.13

2005-03-03 Thread Andrew Waltman
>>> However, if I wait for eash instance of bash to come to a command prompt >>> I can start the 2nd, 3rd, etc. bash window. This behavior started after >>> updating the cygwin library to the latest revision (1.5.13). >> >> I'm running with current code (built from CVS earlier today) and I can't >

[ANNOUNCEMENT] New package: psmisc-21.5-1

2005-03-03 Thread Corinna Vinschen
I have uploaded psmisc-21.5-1. The psmisc package contains utilities for managing processes on your system: pstree, killall and fuser. The pstree command displays a tree structure of all of the running processes on your system. The killall command sends a specified signal (SIGTERM if nothing is

Re: [SPAM] mkpasswd (249): [5] Access is denied. #workaround & speculation on cause

2005-03-03 Thread Tom Rodman
The workaround I'm considering is: to build a list of only the user logon names we need for /etc/passwd (a fairly small subset of the domain), and then write a shell script (driven by this list) to repeatedly call "mkpasswd -l -d -u USERNAMEHERE >> /etc/passwd". A co-worker speculates that Microso

Problems instaling perl Net::Pcap module

2005-03-03 Thread SonOfLilit
I hope this is the right place to post this. The steps I went through: * d/l it * extract * cd to dir * d/l WinPcap developer kit and put ./lib to my /lib/Pcap and ./include to my /usr/include, without replacing 2-3 .h headers that I already had * $ perl Makefile.PL INC=-I/usr/include LIBS=-L/lib/

"cannot set time" - cvs checkout breaks after installing cygwin-1.5.13-1

2005-03-03 Thread Jacek Piskozub
Hi, After installing cygwin-1.5.13-1 I cannot build Mozilla anymore. During updating the mozilla tree using cvs I receive "cannot set time" errors. The updated files have (wrongly) the current time, instead of the expected original timestamp when they were checked into the cvs tree. That would

Re: ctime: creation or change time?

2005-03-03 Thread Eric Melski
Corinna Vinschen wrote: On Mar 2 13:19, [EMAIL PROTECTED] wrote: In fact, NTFS has no notion of file change time as described in POSIX. Is there any chance of undoing this change? An alternative solution might be to simply use the NTFS file modify time for both the mtime and ctime of the file, s

Re: ctime: creation or change time?

2005-03-03 Thread Christopher Faylor
On Thu, Mar 03, 2005 at 03:50:56PM -0800, Eric Melski wrote: >Corinna Vinschen wrote: >>On Mar 2 13:19, [EMAIL PROTECTED] wrote: >>>In fact, NTFS has no notion of file change time as described in POSIX. >>>Is there any chance of undoing this change? An alternative solution >>>might be to simply u

Re: cron copy on network drives

2005-03-03 Thread Pierre A. Humblet
At 10:49 AM 3/3/2005 -0600, Bryan Thrall wrote: >> From: Paul Hodor >> Date: Thu, 3 Mar 2005 08:13:36 -0800 (PST) >> >> Hi, >> >> I am trying to set up a cron service to update some directories on a >> network drive, but I ran into a problem. >> >> This copy command works from the command-line:

Re: ctime: creation or change time?

2005-03-03 Thread Eric Melski
Christopher Faylor wrote: I understand that you're trying to be POSIX-like, but I wonder if doing so at the cost of compatibility with the host OS is wise. To be sure, the implementation you have chosen will break some Windows applications. It seems to me that ultimately you are emulating POSIX-li

1.5.13-1 setup does not complete

2005-03-03 Thread N. Brad Garrett
When I try to install the latest cygwin (this is my first time trying to install it), it downloads the list of mirrors fine. But then no matter which mirror I choose, it gets about 80% done before displaying this message in an alert box: (null) line 6: syntax error, unexpected LT, expecting $en

Re: ctime: creation or change time?

2005-03-03 Thread Christopher Faylor
On Thu, Mar 03, 2005 at 05:14:28PM -0800, Eric Melski wrote: >Christopher Faylor wrote: > >>>I understand that you're trying to be POSIX-like, but I wonder if doing >>>so at the cost of compatibility with the host OS is wise. To be sure, >>>the implementation you have chosen will break some Window

Re: cygstart patch

2005-03-03 Thread Charles Wilson
Anthony -- I've applied this patch. Thanks! -- Chuck Derosa, Anthony CIV NAVAIR 2035, 2, 205/214 wrote: But there is an important _process_ problem. It is the number one sin of CVS to checkin anything other than ***exactly*** the code that you compiled and tested, so you aren't excused from havi

Re: Buiding net-snmp perl in cygwin - Please anyone help me

2005-03-03 Thread Aparna R
Hello, Currently I uninstalled activeperl and I am having cygwin perl alone and correspondingly I changed the Path variable to D:\cygwin\bin. Herewith I am attcahing the output of "perl Makefile.PL", "make" and "cygcheck -svr" $cd net-snmp5.2.1/perl $perl Makefile.PL Writing Makefile for NetSNM

Re: ctime: creation or change time?

2005-03-03 Thread Eric Melski
Christopher Faylor wrote: Your arguments would be a little more persuasive if you did more than postulate the surety of breakage and actually pointed to real breakage or, at least, demonstrated how a windows application would be harmed by cygwin's handling of ctime. The motivating example for my or

Re: Make a Shared Library using Makefile

2005-03-03 Thread Pradip Jadav
And ya "Dllexport and Dllimport" are required in source code I mean should include in my own header files? I read that ""The main problems are caused by the fact that Windows DynamicLinked Libraries (DLL s) assume some specific information to be introduced in the source code directly, wh

Re: Make a Shared Library using Makefile

2005-03-03 Thread Brian Dessent
Pradip Jadav wrote: > And ya "Dllexport and Dllimport" are required in source code I > mean should include in my own header files? > I read that > > ""The main problems are caused by the fact that Windows DynamicLinked > Libraries (DLL s) assume some specific information to be introduce

Re: Keeping cygwin updated on remote systems

2005-03-03 Thread DePriest, Jason R.
Remote Desktop is not available on them. I can already use VNC tunneled through SSH to manually run setup.exe. What I really need is a way to update the files that have changed and run the install scripts without running setup.exe. -Jason On Wed, 2 Mar 2005 22:24:50 -0600 (CST), Satish Balay

Re: Keeping cygwin updated on remote systems

2005-03-03 Thread Brian Dessent
"DePriest, Jason R." wrote: > > Remote Desktop is not available on them. > > I can already use VNC tunneled through SSH to manually run setup.exe. > > What I really need is a way to update the files that have changed and > run the install scripts without running setup.exe. You can google/search

Re: ctime: creation or change time? & "cannot set time" error

2005-03-03 Thread Jacek Piskozub
The problem described in the following post to this mailing list earlier today sounds like it is caused by Cygwin's new treatment of ctime: http://cygwin.com/ml/cygwin/2005-03/msg00165.html Since the CVS in question is a cygwin version, if this really is a problem with ctime then it seems ra

Re: "cannot set time" on FAT32 - after installing cygwin-1.5.13-1

2005-03-03 Thread Jacek Piskozub
After installing cygwin-1.5.13-1 I cannot build Mozilla anymore. During updating the mozilla tree using cvs I receive "cannot set time" errors. The updated files have (wrongly) the current time, instead of the expected original timestamp when they were checked into the cvs tree. That would not