With the latest snapshot, cygrunsrv segfaults but works after it's recompiled

2011-11-28 Thread Daniel Colascione
With the latest cygwin1.dll snapshot, the existing cygrunsrv binary (version 1.34-1, the latest version from setup.exe) segfaults on startup, sending a message to the Windows Application log or syslog, depending on whether syslog is running. This segfault happens only when I try to run the service

Re: Minor cygrunsrv nit: --help should go to stdout, not stderr

2011-11-28 Thread Jeremy Bopp
On 11/28/2011 10:05 PM, Daniel Colascione wrote: > Currently, cygrunsrv --help dumps output to standard error. This > behavior is a slight annoyance because it results in cygrunsrv --help | > less not being very helpful. Can cygrunsrv --help dump its output to > stdout instead? It's not the first

Minor cygrunsrv nit: --help should go to stdout, not stderr

2011-11-28 Thread Daniel Colascione
Currently, cygrunsrv --help dumps output to standard error. This behavior is a slight annoyance because it results in cygrunsrv --help | less not being very helpful. Can cygrunsrv --help dump its output to stdout instead? -- Problem reports: http://cygwin.com/problems.html FAQ:

/cygdrive/c permission denied

2011-11-28 Thread Mike Brennan
Hi, Windows 7. uname -a gives: CYGWIN_NT-6.1-WOW64 Dalea 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 Cygwin Recently lost ability to do "ls" in directory /cygdrive/c. $ cd /cygdrive/c $ ls ls: reading directory .: Permission denied This occurred while I was copying a directory (using

Re: system mkdir

2011-11-28 Thread Eric Blake
On 11/28/2011 01:33 PM, Christopher Faylor wrote: >> ?But can't find anything that will programatically create a directory >> under Cygwin. >> >> ?Does anyone know how to do this? > > Yes. Use the mkdir() function. That is, in fact, very similar to how it > should be done in Visual Studio too.

Re: system mkdir

2011-11-28 Thread Christopher Faylor
On Mon, Nov 28, 2011 at 01:31:26PM -0700, Fitzy wrote: >?Hello, >? I have a program which I wrote using Visual Studio 2010, everything >works fine there. >Now I'm trying to get it all running properly under Cygwin. ?It is >compiling successfully, but the following does not work: >system("mkdir temp

system mkdir

2011-11-28 Thread Fitzy
 Hello,   I have a program which I wrote using Visual Studio 2010, everything works fine there. Now I'm trying to get it all running properly under Cygwin.  It is compiling successfully, but the following does not work: system("mkdir temp"); I use this to create a temporary directory to which tempo

Re: Mapping of Windows registry not complete

2011-11-28 Thread Larry Hall (Cygwin)
On 11/27/2011 12:52 PM, Julien wrote: Le -10/01/-28163 20:59, Christian Franke a écrit : Julien Nabet wrote: Hello, I'm trying to compile Libreoffice on Windows with Cygwin. For this, I had to install some softs including Microsoft Visual C++ Express 8. When I launched configuration part of Li

Re: Problem with ssh in non-interactive mode and mapped drives

2011-11-28 Thread Andrey Repin
Greetings, Costin Caraivan! > When running the command non-interactively, with this: ssh > projectct...@locationsd-vm-admin.project.company.com 'COMMAND', I get > this: > No such file: /cygdrive/z/builds/latest/PROJECT_TM.zip > bash: line 0: [: c3e3cb8bb6b7b07915755ba8d242fa56: unary operator expe

Re: Problem with ssh in non-interactive mode and mapped drives

2011-11-28 Thread Costin Caraivan
Scratch that. I'm launching Cygwin command on a Windows 2008 machine with lots of users, and the PATH is messed up beyond all recognition. I'm now using the absolute paths of the tools and everything works as expected. Sorry for the spam. -- Problem reports: http://cygwin.com/problems.html

Problem with ssh in non-interactive mode and mapped drives

2011-11-28 Thread Costin Caraivan
Hello, I have a mapped drive pointing to a Windows network share. In this share I have several files for which I'm checking the MD5 with this command: if [ `/bin/cat /cygdrive/z/builds/latest/PROJECT.MD5 | grep PROJECT_TM | cut -f 1 -d " "` == `md5sum.exe /cygdrive/z/builds/latest/PROJECT_TM.zip |

Re: Can't install netCDF4

2011-11-28 Thread Tomas Staig
Edvardsen Kåre wrote: I need to install the netCDF4 package which is the Python/numpy interface to netCDF (see http://code.google.com/p/netcdf4-python/ ) I've tried to install version 0.9.4 and later, but they all give pretty much the same error message (attached). For me this looks like it is n

Re: Installation problems with home path and sshd

2011-11-28 Thread gabier
Michael Lutz-2 wrote: > > Open the properties of the service and enable "Allow service to interact > with desktop" (or something like that). If that option is already enabled > I don't have any more ideas either. > Thank you Michael, it was NOT enabled, and enabling it solved the problem. Grea

Can't install netCDF4

2011-11-28 Thread Edvardsen Kåre
I need to install the netCDF4 package which is the Python/numpy interface to netCDF (see http://code.google.com/p/netcdf4-python/ ) I've tried to install version 0.9.4 and later, but they all give pretty much the same error message (attached). For me this looks like it is not ment to work under cy

Re: Installation problems with home path and sshd

2011-11-28 Thread gabier
Andy Koppe wrote: > > How did you install mintty, and how are you invoking it? If you invoke > it without arguments, it'll run your shell as a so-called non-login > shell (as is standard behaviour for terminal emulators). This means > that /etc/profile won't be sourced, which is where your home

Re: Installation problems with home path and sshd

2011-11-28 Thread Andy Koppe
On 27 November 2011 10:37, gabier wrote: > I got sshd to work between a Windows 7 computer and a FreeNAS/FreeBSD > server, and it works well now, thanks to you here. Now I try to implement > the same thing on a Vista laptop which is in the same home network. I > installed the same Cygwin, following

Re: Installation problems with home path and sshd

2011-11-28 Thread Michael Lutz
Am 27.11.2011 11:37 schrieb gabier: > cygrunsrv: Error starting a service: StartService: Win32 error 1069: > (Following sentence translated from French) The failure to open a session > has prevented the start of the service. Open the properties of the service and enable "Allow service to interact

Re: tetex-tiny bug

2011-11-28 Thread Ken Brown
On 11/28/2011 3:50 AM, Peter Rosin wrote: Ryan Johnson skrev 2011-11-25 17:53: On 25/11/2011 11:48 AM, Peter Rosin wrote: Ryan Johnson skrev 2011-11-25 17:38: On 25/11/2011 10:48 AM, Peter Rosin wrote: It's been a couple of years since I fixed this [1] on my old computer, and now I had to fix

Re: emacs pango-WARNING

2011-11-28 Thread Ken Brown
On 11/28/2011 4:56 AM, Marc Girod wrote: Hello, After a recent upgrade, I have started to get the following message at startup: (emacs:6600): Pango-WARNING **: No such file or directory This has already been reported to the cygwin-xfree list: http://cygwin.com/ml/cygwin-xfree/2011-11/msg00

Re: Can't chmod/chown any more on FAT32 after doing cyglsa-config

2011-11-28 Thread Corinna Vinschen
On Nov 28 01:21, Benton wrote: > Hello forks, > > I wanted to setup cron as a service, but after first doing cyglsa-config > and reboot, it turned out that I can't do any permission related > operation in my home directory any more, just as the title described. I > have two question is : Is this a

Re: Using a Mac to download Cygwin to Windows machine

2011-11-28 Thread Corinna Vinschen
On Nov 27 08:58, Robert Lewis wrote: > > > Hello, > > I am new here, and I thought I posted this yesterday. Apparently it > didn't go through. > > I want to install Cygwin on a Windows machine that does not have > internet access. I want to use my Mac to download everything for > Cygwin, then m

Re: tetex-tiny bug

2011-11-28 Thread Peter Rosin
Ryan Johnson skrev 2011-11-25 17:53: > On 25/11/2011 11:48 AM, Peter Rosin wrote: >> Ryan Johnson skrev 2011-11-25 17:38: >>> On 25/11/2011 10:48 AM, Peter Rosin wrote: It's been a couple of years since I fixed this [1] on my old computer, and now I had to fix it on the new one. Can someo