Re: BUG: alternatives

2005-11-05 Thread Charles Wilson
The following seems to do the trick, at least on my (binmount) system with dos-ified /var/lib/alternatives/* files. I don't think I'm doing anything obviously stupid here, but see attached patch. If it looks okay, I'll put out a 'testing' release of alternatives shortly. -- Chuck diff -urN

Re: BUG: alternatives

2005-11-05 Thread Charles Wilson
Gary R. Van Sickle wrote: I'm not sure the test is actually valid anyway. IIRC (and I may not, POSIX may prove me wrong here), there's no guarantee that read() will return the number of bytes you requested, so at a minium to make this 100% correct you'd have to do something like this: // Read e

Some new data regarding "fork: resource temporarily unavailable"

2005-11-05 Thread David Arnstein
Synopsis: the "fork: resource temporarily unavailable" problem may be caused by a large number of obsolete process handles. Attached to this e-mail: 1. cygcheck.out: the output from "cygcheck -s -v -r" 2. tempor.sh: A bash shell script that causes the "fork: resource temporarily unavailable" pr

latest snapshots vs. Win98

2005-11-05 Thread Eric Blake
With the latest round of snapshots (I just got around to trying 20051023 through 20051104), every cygwin process is hanging at startup on Win98. Even "cygcheck -svr" hangs and fails to produce any output. I had to revert all the way back to 20051022 to get anything to happen with cygwin processes

[ANNOUNCEMENT] Updated: libungif-4.1.4-1

2005-11-05 Thread Yaakov S (Cygwin Ports)
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 The following packages have been updated in the Cygwin distribution: *** libungif-4.1.4-1 +++ libungif4-4.1.4-1 (NEW) Libungif is a library for manipulating GIF files, without the patent-encumbered LZW compression code. This release is an update to

Re: linking problems when compiling with g++ using boost

2005-11-05 Thread Gerrit P. Haase
Cameron Wood wrote: I have installed a vanilla install of cygwin which includes boost 1.33. I have a simple application which compiles and runs on another system fine. However using cygwin it complains about undefined references to all the boost objects and functions. I can see the exact funct

error while installing cygwin

2005-11-05 Thread Abhinav Varshney
Hi, I have been trying to install cygwin on my windows xp, but while dowloading stuff from the website using setup file it gives me an error saying "cygwin1.dll not found" and then cygwin either doesnt work or starts wid bash shell..how can i make it work? Thanks in advance,

Re: Cygwin setup doesn't resume failed downloads

2005-11-05 Thread peterl2002se
Igor Pechtchanski wrote: On Sat, 5 Nov 2005, peterl2002se wrote: Hello, When trying to download the packages from, in my case, ftp.sunet.se I get often a ftp connection error. It could be that ftp.sunet.se is limited on the number of concurrently conneced anonmous ftp users. The progress

Re: KSH Mode in CYGWIN & CPU-Usage

2005-11-05 Thread Igor Pechtchanski
On Sat, 5 Nov 2005, S.Sunil Kumar wrote: > Before I had only DOS-Window for CYGWIN. > Now I have XTERM also. > > But XTERM only works If I START the X-SERVER. You could try rxvt too -- it doesn't need an X server. > Whether it is DOS/XTERM Mode CPU Goes up more that > 90%. Does the Task Manager

RE: BUG: alternatives

2005-11-05 Thread Gary R. Van Sickle
> From: Charles Wilson > Sent: Saturday, November 05, 2005 12:12 PM > To: Mailing List: CygWin > Subject: Re: BUG: alternatives > > Gary R. Van Sickle wrote: > > More investigation reveals that it's textmode mounts that > alternatives > > doesn't like, not necessarily (although almost certainly

Re: Windows 98 + OpenSSH + cygwin

2005-11-05 Thread Brian Dessent
David Di Biase wrote: > Since there are no services I need to setup the system through another > mean, except I'm very limited on my 98 knowledge. Does anyone happen > to have a solution? Since 98 has no concept of a service or users you start sshd in the normal way. After running ssh-host-confi

RE: BUG: alternatives

2005-11-05 Thread Stephan Mueller
IIRC, this idiom is not uncommon. For example, I believe bash reads .bash_history using the same sort of "read it all at once, assuming no translation is needed between disk and memory representations". Perhaps you could do whatever was done there for consistency. Of course, if nothing was done

Windows 98 + OpenSSH + cygwin

2005-11-05 Thread David Di Biase
Hi there, I need to setup an SSH serve on a Windows 98 system. I have cygwin setup and I've run the ssh-host-config to create the keys and such but then it gets to a point where it fails because of the services (which I expected). Since there are no services I need to setup the system through ano

Re: NetPbm - xwdtopnm???

2005-11-05 Thread Charles Wilson
René Berber wrote: Vincent Nauwelaers wrote: The ppmto... and pnmto... all seem to work, but "_ xwdtojpg _" the only method to convert XWD-files doesn't seem to be there! Am I doing something wrong ? Am I forgetting something ? > BTW in Netpbm 10.28 (the last I compiled) there is no xwdtojpg,

Re: BUG: alternatives

2005-11-05 Thread Charles Wilson
Gary R. Van Sickle wrote: More investigation reveals that it's textmode mounts that alternatives doesn't like, not necessarily (although almost certainly as well as) \r\n line endings. I'm pretty sure the problem is here: if (read(fd, buf, sb.st_size) != sb.st_size) { close(fd);

Re: Hang with 20051018 (3rd version) snapshot while building OOo

2005-11-05 Thread Shaddy Baddah
Hi, Christopher Faylor wrote: [snip] > Actually, to clarify, I can explain why the new snapshot avoids calling [more snip] I just want to give you a bit of encouragement, in that at least I follow closely, this (rather long, necessarily so) thread, I really hope that it gets solved, just as a fi

Re: Error preparing make with .configure : another case of 'Device or resource busy'

2005-11-05 Thread Christopher Faylor
On Sat, Nov 05, 2005 at 03:01:44PM +0100, Tom Axehult wrote: >My appeal for assistance hereby revoked. My cygwin root was flagged with >write protection in windows explorer aimed as a protection of a shared >volume in my wlan. How 'setup' has been allowed to perform its doings hence >confuses me.

Re: KSH Mode in CYGWIN & CPU-Usage

2005-11-05 Thread S.Sunil Kumar
Hi Igor, Before I had only DOS-Window for CYGWIN. Now I have XTERM also. But XTERM only works If I START the X-SERVER. Whether it is DOS/XTERM Mode CPU Goes up more that 90%. Its scary... If possible can you tell me about in which Lcation I should run "cygcheck -svr" script and what will will

RE:Cygwin setup doesn't resume failed downloads

2005-11-05 Thread S.Sunil Kumar
Hi use this FTP Site.It is better. ftp://ftp.uni-erlangen.de First try to run the setup and select INSTALL for the packages you want.And sometime you may get DOWNLOAD COMPLETE within some minutes. Try again the same FTP Site...which will update the package you have dwonloaded first.By checking t

RE: 1.5.18+ resource leak?

2005-11-05 Thread Brian Ford
On Fri, 4 Nov 2005, Dave Korn wrote: > Brian Ford wrote: > > Yes, I haven't seen anything I could identify either. I think the key is > > that these are mostly small files (a hundred thousand or so). Copying > > larger ones of the same volume doesn't seem to trigger the problem. > > That _does

PostgreSQL-ReIntsallation

2005-11-05 Thread S.Sunil Kumar
Hi Friends, I would like to update the PostGre-SQL. Which is not installed propoerly. I want to know in which Part of Intallations package Postgre-SQL is coming. Like there are some ADMIN...TEXT. Regards Sunil __ Yahoo! Mail - PC Mag

linking problems when compiling with g++ using boost

2005-11-05 Thread Cameron Wood
I have installed a vanilla install of cygwin which includes boost 1.33. I have a simple application which compiles and runs on another system fine. However using cygwin it complains about undefined references to all the boost objects and functions. I can see the exact functions/objects that its

Re: NetPbm - xwdtopnm???

2005-11-05 Thread René Berber
Vincent Nauwelaers wrote: > I'm a thesis student working with CYGWIN to run the NS-2 network simulator. > I'm > analysing networks and NAM, the analysis tool, creates .xwd-files. So I would > like to convert them to jpeg or gif, so I read about NETPBM with contains lots > of convertion methods.

Re: Cygwin setup doesn't resume failed downloads

2005-11-05 Thread Igor Pechtchanski
On Sat, 5 Nov 2005, peterl2002se wrote: > Hello, > When trying to download the packages from, in my case, ftp.sunet.se I > get often a ftp connection error. It could be that ftp.sunet.se is > limited on the number of concurrently conneced anonmous ftp users. > > The progress downloads several pack

RE: Error preparing make with .configure : another case of 'Device or resource busy'

2005-11-05 Thread Tom Axehult
Dear cygwinners, My appeal for assistance hereby revoked. My cygwin root was flagged with write protection in windows explorer aimed as a protection of a shared volume in my wlan. How 'setup' has been allowed to perform its doings hence confuses me. / Tom Axehult -Original Message- Fro

Cygwin setup doesn't resume failed downloads

2005-11-05 Thread peterl2002se
Hello, When trying to download the packages from, in my case, ftp.sunet.se I get often a ftp connection error. It could be that ftp.sunet.se is limited on the number of concurrently conneced anonmous ftp users. The progress downloads several packages, then says connecting and stops. At that ti

NetPbm - xwdtopnm???

2005-11-05 Thread Vincent Nauwelaers
Hi, I'm a thesis student working with CYGWIN to run the NS-2 network simulator. I'm analysing networks and NAM, the analysis tool, creates .xwd-files. So I would like to convert them to jpeg or gif, so I read about NETPBM with contains lots of convertion methods. The ppmto... and pnmto... a

Re: Cygwin and ssh - password auth. problem

2005-11-05 Thread Corinna Vinschen
On Nov 4 17:02, Re Persina wrote: > Hello, > I have cygwin running on a windows 2000 server, which is also a PDC. > I setup sshd in cygwin and I've been using it for some time to login > as administrator, both using the password and using public-key auth, > and it has been working great. I now ne