Re: cygwin stable and cvs snapshot - fork() bug

2007-11-05 Thread Corinna Vinschen
On Nov 1 10:58, Corinna Vinschen wrote: > On Oct 31 14:26, Lev Bishop wrote: > > $ cat lev.c && gcc -o lev lev.c -Wall -Wextra && CYGWIN=server ./lev > > #include > > #include > > #include > > > > int main(void) > > { > > int shmid; > > if ((shmid = shmget(IPC_PRIVATE, 100,IPC_

Re: ssh/pubkey authentication and use of subst

2007-11-05 Thread Corinna Vinschen
On Nov 4 23:12, Greg M wrote: > I'm running into this, too - albeit with a System error 59. I need to > "interact with the desktop" too, which won't happen unless I run the sshd as > System (although I couldn't find anything documenting this limitation beyond > the cygrunsrv error message). It's

Customize setup program.

2007-11-05 Thread João Pedro Oliveira
Hi! I am doing an installation program for my students and want to install cygwin as well. I am using Nullsoft NSIS and I want to install only a minimum set (even smaller then the minimum recommended). In the previous setup program, I just copied a minimum installation from an installed versio

Re: High CPU usage on posix_fallocate call - CVS version

2007-11-05 Thread Corinna Vinschen
On Nov 2 17:42, Rob Bosch wrote: > I found on MSDN that Windows has the capfilealloc function in all Windows OS > versions. This function was designed to create a preallocated capture file > of a specified size. It seems like this would accomplish what cygwin needs > with the posix_fallocate fun

Re: File permission hassles on Vista

2007-11-05 Thread Corinna Vinschen
On Nov 4 11:45, Joe Krahn wrote: > I have been running Cygwin on Vista. The way that file attributes are > handled are causing problems. Cygwin appears to add attributes for > 'Everyone' and a 'None' user to handle world and group POSIX attributes. On 'None' is the name of the primary group th

1.5.24 -2 cygwin python 2.5.1 problem, "import sqlite3" fail

2007-11-05 Thread Vincent Huang
when i try to import sqlite3 in python, it results: ... File "/usr/lib/python2.5/sqlite3/dbapi2.py" from _sqlite3 import * ImportError: No module name _sqlite3 Actually, i can't find any modules named _sqlite3 in /usr/lib/python2.5/. Did anyone meet this befor?

Re: Customize setup program.

2007-11-05 Thread Hussein Patwa
Hi, I've never really took that close of a look at the cygwin installer, but I do know that all of the 'major' installers (installshield, nullsoft, etc) usually have a /Q or /S switch for silent installs. You would then need to define a config file with all the parameters for the install. I'm th

Re: cygwin stable and cvs snapshot - fork() bug

2007-11-05 Thread Lev Bishop
On 11/5/07, Corinna Vinschen wrote: > On Nov 1 10:58, Corinna Vinschen wrote: > > On Oct 31 14:26, Lev Bishop wrote: > > > $ cat lev.c && gcc -o lev lev.c -Wall -Wextra && CYGWIN=server ./lev > > > #include > > > #include > > > #include > > > > > > int main(void) > > > { > > > int shmi

Re: High CPU usage on posix_fallocate call - CVS version

2007-11-05 Thread Rob Bosch
> I can't reproduce this behaviour. I created a 40 Gigs file (haven't 77 > Gigs left) on my XP box using the posix_fallocate function (which, btw., > is basically just a single native NT call under the hood) and it takes > roughly a few milliseconds. I checked the dodgy app lists.none of those ar

RE: Installation corrupt...

2007-11-05 Thread Jon Seidel CMC
The problem is related to Vista security: by default, cygwin tries to put the home directory in c:/Users/, but this is a protected directory (analogous to the old "Documents and Settings" directory in XP). Even as that user, you can't get to much of that data! To get around this problem, simply de

Re: cygwin stable and cvs snapshot - fork() bug

2007-11-05 Thread Corinna Vinschen
On Nov 5 07:43, Lev Bishop wrote: > On 11/5/07, Corinna Vinschen wrote: > > Ouch, ouch, ouch. shmctl(IPC_RMID) closed the handle to the shared > > memory, but neglected to remove the actual mappings as well as the > > bookkeeping structure. The result is that after a fork the child thinks > > t

Re: 1.5.24 -2 cygwin python 2.5.1 problem, "import sqlite3" fail

2007-11-05 Thread Thorsten Kampe
* Vincent Huang (Mon, 5 Nov 2007 20:06:40 +0800) > when i try to import sqlite3 in python, it results: >... >File "/usr/lib/python2.5/sqlite3/dbapi2.py" >from _sqlite3 import * > ImportError: No module name _sqlite3 > > Actually, i can't find any modules named

Re: setup.exe still can't uninstall bash

2007-11-05 Thread Mario Frasca
William Crosmun helped me out of this... remove /etc/setup/bash.lst.gz (it appears to be corrupt). rerun setup.exe that was it. thanks, Mario -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://

Re: cygwin stable and cvs snapshot - fork() bug

2007-11-05 Thread Lev Bishop
On 11/5/07, Lev Bishop wrote: > On 11/5/07, Corinna Vinschen wrote: > > On Nov 1 10:58, Corinna Vinschen wrote: > > > On Oct 31 14:26, Lev Bishop wrote: > > > > $ cat lev.c && gcc -o lev lev.c -Wall -Wextra && CYGWIN=server ./lev > > > > #include > > > > #include > > > > #include > > > > > > >

Re: cygwin compliation crash when uninstalling the old version of bash

2007-11-05 Thread Mario Frasca
William Crosmun wrote: Mario - I've had the same problem for some time now. I finally determined to track it down. I'll spare you the details, but I found that the file /etc/setup /bash.lst.gz was corrupted. Using Windows Explorer, I could open the .gz file, but I got an error opening the containe

RE: cygwin compliation crash when uninstalling the old version of bash

2007-11-05 Thread Dave Korn
On 05 November 2007 14:48, Mario Frasca wrote: > William Crosmun wrote: > > Mario - I've had the same problem for some time now. I finally determined to > track it down. I'll spare you the details, but I found that the file > /etc/setup /bash.lst.gz was corrupted. Using Windows Explorer, I could

Re: cygwin stable and cvs snapshot - fork() bug

2007-11-05 Thread Corinna Vinschen
On Nov 5 09:49, Lev Bishop wrote: > It indeed seems this is behaviour not described in SuSv3. But several > unices support (some variant of) this behaviour. At least linux, > freebsd, hp-ux, solaris 10 mention it in their man pages, and openbsd > and netbsd seem to implement it that way even thoug

Re: 1.5.24 -2 cygwin python 2.5.1 problem, "import sqlite3" fail

2007-11-05 Thread Vincent Huang
thans to get your reply, but i can't found the _sqlite3.dll in the /usr/lib/python2.5/lib-dynload/. This is the packet list from: http://cygwin.com/packages/python/python-2.5.1-2 Fri May 18 21:02:55 2007 10752 usr/lib/python2.5/lib-dynload/_random.dll Fri May 18 21:02:55 2007

Re: cygwin stable and cvs snapshot - fork() bug

2007-11-05 Thread Corinna Vinschen
On Nov 5 16:17, Corinna Vinschen wrote: > On Nov 5 09:49, Lev Bishop wrote: > > It indeed seems this is behaviour not described in SuSv3. But several > > unices support (some variant of) this behaviour. At least linux, > > freebsd, hp-ux, solaris 10 mention it in their man pages, and openbsd > >

Re: Customize setup program.

2007-11-05 Thread Tony Richardson
João Pedro Oliveira lx.it.pt> writes: > Is it possible to call the setup program in quiet mode (or not quiet) > and pass to the setup the packages we want to install? I would not like > the user "lost" in all the steps of the cygwin setup... You can define your own package in the setup.ini file

Re: 1.5.24 -2 cygwin python 2.5.1 problem, "import sqlite3" fail

2007-11-05 Thread Thorsten Kampe
* Vincent Huang (Mon, 5 Nov 2007 23:17:41 +0800) > thans to get your reply, but i can't found the _sqlite3.dll in the > /usr/lib/python2.5/lib-dynload/. This is the packet list from: > http://cygwin.com/packages/python/python-2.5.1-2 % cygcheck -f /usr/lib/python2.5/lib-dynload/_sqlite3.dll pytho

RE: 1.5.24 -2 cygwin python 2.5.1 problem, "import sqlite3" fail

2007-11-05 Thread Dave Korn
On 05 November 2007 16:21, Thorsten Kampe wrote: > * Vincent Huang (Mon, 5 Nov 2007 23:17:41 +0800) >> thans to get your reply, but i can't found the _sqlite3.dll in the >> /usr/lib/python2.5/lib-dynload/. This is the packet list from: >> http://cygwin.com/packages/python/python-2.5.1-2 > > % cy

Re: 1.5.24 -2 cygwin python 2.5.1 problem, "import sqlite3" fail

2007-11-05 Thread Jason Tishler
Vincent, On Mon, Nov 05, 2007 at 08:06:40PM +0800, Vincent Huang wrote: > when i try to import sqlite3 in python, it results: >... >File "/usr/lib/python2.5/sqlite3/dbapi2.py" >from _sqlite3 import * > ImportError: No module name _sqlite3 AFAICT, Python's _sq

Re: 1.5.24 -2 cygwin python 2.5.1 problem, "import sqlite3" fail

2007-11-05 Thread Brian Dessent
Dave Korn wrote: > > % cygcheck -f /usr/lib/python2.5/lib-dynload/_sqlite3.dll > > python-2.5.1-3 > > N'existe-pas! > > http://cygwin.com/packages/python/python-2.5.1-3 > The requested URL /packages/python/python-2.5.1-3 was not found on this > server. Translation: He's using the python pack

Connect browser via ssh tunnel to local server ?

2007-11-05 Thread Tony Benham
Hi, I have a question re connecting a browser over ssh to a local apache server? I have an internal apache server used by local network users. This is not exposed on the internet at all. I have a couple of outside linux users who have ssh accounts on the apache server machine, so they can open a sh

Re: Connect browser via ssh tunnel to local server ?

2007-11-05 Thread Brian Dessent
Tony Benham wrote: > I have a question re connecting a browser over ssh to a local apache server? > I have an internal apache server used by local network users. This is not > exposed on the internet at all. I have a couple of outside linux users who > have > ssh accounts on the apache server mac

Re: Connect browser via ssh tunnel to local server ?

2007-11-05 Thread Tony Benham
Tony Benham benhamhouse.co.uk> writes: > Hi, > I have a question re connecting a browser over ssh to a local apache > server? I have an internal apache server used by local network users. > This is not exposed on the internet at all. I have a couple of outside > linux users who have ssh accounts o

Re: Connect browser via ssh tunnel to local server ?

2007-11-05 Thread Tony Benham
Brian Dessent dessent.net> writes: > Sure, just "ssh -D server" and then configure the browser to use a > socks proxy on localhost:, where is some available local port > number. Now all browser traffic goes through the tunnel, and the > internal site can be accessed in whatever way

setup.exe version issues

2007-11-05 Thread Dat Head
if you run setup.exe and it finds a .ini file that doesn't match it asks that you go to http://cygwin.com/setup and download a newer one, however, the version on there is 2.510.2.2 and if you go to main cygwin.com page and get setup.exe it is 2.573.2.2 also has any thought ever been given to renam

RE: setup.exe version issues

2007-11-05 Thread Dave Korn
On 05 November 2007 17:34, Dat Head wrote: > p.s. also note when subscribing to cygwin (main) maillist it does not > anywhere in the body tell you to use [EMAIL PROTECTED] to submit > messages It does describe the list over and over and over again as "the cygwin (AT) cygwin (DOT) com" mailing

Wish Setup would accept my Perl

2007-11-05 Thread Michael Kairys
I've been using ActiveState Perl and Cygwin together for years and have only one complaint: Setup keeps hassling me about dependencies and I have to make sure always to uncheck Perl in the setu list (and again in the dependency check) or I end up with two Perl installations, which I don't want.

Re: Wish Setup would accept my Perl

2007-11-05 Thread Brian Mathis
On 11/5/07, Michael Kairys <[EMAIL PROTECTED]> wrote: > I've been using ActiveState Perl and Cygwin together for years and have only > one complaint: Setup keeps hassling me about dependencies and I have to make > sure always to uncheck Perl in the setu list (and again in the dependency > check) or

Re: 1.5.24 -2 cygwin python 2.5.1 problem, "import sqlite3" fail

2007-11-05 Thread Thorsten Kampe
* Brian Dessent (Mon, 05 Nov 2007 08:44:46 -0800) > Dave Korn wrote: > > > % cygcheck -f /usr/lib/python2.5/lib-dynload/_sqlite3.dll > > > python-2.5.1-3 > > > > N'existe-pas! > > > > http://cygwin.com/packages/python/python-2.5.1-3 > > The requested URL /packages/python/python-2.5.1-3 was not

Re: Wish Setup would accept my Perl

2007-11-05 Thread Warren Young
Michael Kairys wrote: I wish Setup could recognize that I already have a Perl installation... The two may be compatible at the Perl source level, for the most part[*], but I doubt they're binary compatible. A lot of Perl modules contain parts compiled from C and linked into the interpreter

Re: 1.5.24 -2 cygwin python 2.5.1 problem, "import sqlite3" fail

2007-11-05 Thread Thorsten Kampe
* Jason Tishler (Mon, 05 Nov 2007 11:19:13 -0500) > On Mon, Nov 05, 2007 at 08:06:40PM +0800, Vincent Huang wrote: > > when i try to import sqlite3 in python, it results: > >... > >File "/usr/lib/python2.5/sqlite3/dbapi2.py" > >from _sqlite3 import * > > Import

Re: 1.5.24 -2 cygwin python 2.5.1 problem, "import sqlite3" fail

2007-11-05 Thread Jason Tishler
On Mon, Nov 05, 2007 at 08:06:37PM -, Thorsten Kampe wrote: > * Jason Tishler (Mon, 05 Nov 2007 11:19:13 -0500) > > [snip] > > AFAICT, Python's _sqlite3 extension module is dependent on SQLite > > which is not part of the standard Cygwin > > distribution. This is why C

Re: 1.5.24 -2 cygwin python 2.5.1 problem, "import sqlite3" fail

2007-11-05 Thread Thorsten Kampe
* Jason Tishler (Mon, 05 Nov 2007 16:16:17 -0500) > On Mon, Nov 05, 2007 at 08:06:37PM -, Thorsten Kampe wrote: > > * Jason Tishler (Mon, 05 Nov 2007 11:19:13 -0500) > > > [snip] > > > AFAICT, Python's _sqlite3 extension module is dependent on SQLite > > > which is not

Re: 1.5.24 -2 cygwin python 2.5.1 problem, "import sqlite3" fail

2007-11-05 Thread Brian Dessent
Thorsten Kampe wrote: > ftp://sunsite.dk/projects/cygwinports/release/sqlite3/ ? There are zillions of things that are in Cygwin Ports that aren't in Cygwin. What's that got to do with anything? It's irrelevant, until Yaakov or someone else contributes and maintains it for Cygwin proper. Brian

Re: 1.5.24 -2 cygwin python 2.5.1 problem, "import sqlite3" fail

2007-11-05 Thread Thorsten Kampe
* Brian Dessent (Mon, 05 Nov 2007 13:51:46 -0800) > Thorsten Kampe wrote: > > ftp://sunsite.dk/projects/cygwinports/release/sqlite3/ ? > > There are zillions of things that are in Cygwin Ports that aren't in > Cygwin. What's that got to do with anything? It's irrelevant, until > Yaakov or someon

Re: 1.5.24 -2 cygwin python 2.5.1 problem, "import sqlite3" fail

2007-11-05 Thread Brian Dessent
Thorsten Kampe wrote: > As far as I understood Jason, he just needs the SQLite headers and > libraries to /build/ Python with SQLite support, and he doesn't need > them to be "in Cygwin". That would be silly, because it would result in a totally broken python that would continue to throw ImportEr

Re: 1.5.24 -2 cygwin python 2.5.1 problem, "import sqlite3" fail

2007-11-05 Thread Thorsten Kampe
* Brian Dessent (Mon, 05 Nov 2007 15:07:57 -0800) > Thorsten Kampe wrote: > > As far as I understood Jason, he just needs the SQLite headers and > > libraries to /build/ Python with SQLite support, and he doesn't need > > them to be "in Cygwin". > > That would be silly, because it would result in

Re: 1.5.24 -2 cygwin python 2.5.1 problem, "import sqlite3" fail

2007-11-05 Thread Christopher Faylor
On Mon, Nov 05, 2007 at 03:07:57PM -0800, Brian Dessent wrote: >Thorsten Kampe wrote: >>As far as I understood Jason, he just needs the SQLite headers and >>libraries to /build/ Python with SQLite support, and he doesn't need >>them to be "in Cygwin". > >That would be silly, because it would result

Re: 1.5.24 -2 cygwin python 2.5.1 problem, "import sqlite3" fail

2007-11-05 Thread Christopher Faylor
On Mon, Nov 05, 2007 at 11:44:27PM -, Thorsten Kampe wrote: >* Brian Dessent (Mon, 05 Nov 2007 15:07:57 -0800) >> Thorsten Kampe wrote: >> > As far as I understood Jason, he just needs the SQLite headers and >> > libraries to /build/ Python with SQLite support, and he doesn't need >> > them to