Re: MoveFileW succeeding with cygwin 1.7.1 where it failed with cygwin 1.5.25?

2010-02-08 Thread Larry Hall (Cygwin)
On 02/09/2010 12:59 AM, David Byron wrote: On Monday, February 8, 2010, Larry Hall wrote: So your user must be part of the administrators group then. Adminstrators have access even when permissions are set to deny them, just like on Linux. Yes, my user is part of the Administrators group. R

RE: MoveFileW succeeding with cygwin 1.7.1 where it failed with cygwin 1.5.25?

2010-02-08 Thread David Byron
On Monday, February 8, 2010, Larry Hall wrote: > So your user must be part of the administrators group > then. Adminstrators have access even when permissions are > set to deny them, just like on Linux. Yes, my user is part of the Administrators group. Risking an annoying question, is this wri

Re: Problems installing HDF4 libraries

2010-02-08 Thread Larry Hall (Cygwin)
On 02/08/2010 11:44 PM, Peter Mills wrote: I've been trying to install the Hierarchical Data Format (HDF) version 4 libraries for use in a Python program. The configure script aborts with the following message: checking size of int*... configure: error: cannot compute sizeof (int*) Could this

Re: MoveFileW succeeding with cygwin 1.7.1 where it failed with cygwin 1.5.25?

2010-02-08 Thread Larry Hall (Cygwin)
On 02/08/2010 11:48 PM, David Byron wrote: On 8-feb-10 David Byron wrote: I've found a difference in behavior between cygwin 1.5.25 and cygwin 1.7.1 that I don't understand. Renaming a file using MoveFileW fails with access denied under cygwin 1.5.25 as expected, but it works under 1.7. I fi

RE: MoveFileW succeeding with cygwin 1.7.1 where it failed with cygwin 1.5.25?

2010-02-08 Thread David Byron
On 8-feb-10 David Byron wrote: > I've found a difference in behavior between cygwin 1.5.25 > and cygwin 1.7.1 that I don't understand. Renaming a file > using MoveFileW fails with access denied under cygwin > 1.5.25 as expected, but it works under 1.7. I figured out the difference. My executabl

Problems installing HDF4 libraries

2010-02-08 Thread Peter Mills
I've been trying to install the Hierarchical Data Format (HDF) version 4 libraries for use in a Python program.  The configure script aborts with the following message: checking size of int*... configure: error: cannot compute sizeof (int*) Could this be a bug in the compiler? Peter Mills Mav

MoveFileW succeeding with cygwin 1.7.1 where it failed with cygwin 1.5.25?

2010-02-08 Thread David Byron
I've found a difference in behavior between cygwin 1.5.25 and cygwin 1.7.1 that I don't understand. Renaming a file using MoveFileW fails with access denied under cygwin 1.5.25 as expected, but it works under 1.7. Here's what I do: $ echo foo >foo $ mkdir temp $ chmod a-w temp $ ./my_rename Und

Re: Tee broken under process substitution?

2010-02-08 Thread Greg Chicares
On 2010-02-08 22:34Z, Ryan Johnson wrote: > > cygwin$ echo hi | tee >(cat) > hi > tee: /dev/fd/63: Bad file descriptor I don't know a workaround, but FWIW this looks similar: http://cygwin.com/ml/cygwin/2010-01/threads.html#00942 -- Problem reports: http://cygwin.com/problems.html FAQ:

Tee broken under process substitution?

2010-02-08 Thread Ryan Johnson
Hi all, It appears that 'tee' can't handle process substitution as its target file. It works fine on my Solaris machine at work, and the coreutils info pages explicitly say it should work: solaris$ echo hi | tee >(cat) hi hi cygwin$ echo hi | tee >(cat) hi tee: /dev/fd/63: Bad file descripto

Re: Problems with line endings for shell scripts

2010-02-08 Thread David Antliff
On Tue, Feb 9, 2010 at 04:20, Jeremy Bopp wrote: > > On 2/8/2010 6:30 AM, Jurgen Defurne wrote: > > Today I am having a problem with running a shell script (sh/bash) > > which has CRLF endings. > > The problem is that Bash only supports Unix line endings Indeed - the problem gets far worse when y

Re: ActiveState Perl and Cygwin How To

2010-02-08 Thread Reini Urban
raphael() schrieb: I have been using Cygwin for quite some time now on Windows XP. I use Perl extensively and the scripts I use/create are fairly portable. I want to use ActiveState Perl as I can install many modules from CPAN that give me trouble in Cygwin using cpan install ... The problem is

Re: [Packaging error] util-linux-2.14.1-1

2010-02-08 Thread Yaakov (Cygwin/X)
On 08/02/2010 01:55, Dr. Volker Zell wrote: /usr/bin/wall.exe and /usr/share/man/man1/wall.1.gz conflict with files from sysvinit-2.86-3 A util-linux update is pending my ITAing e2fsprogs: http://article.gmane.org/gmane.os.cygwin.ports.general/736 Yaakov -- Problem reports: http://cyg

RE: Currently on 1.5.25, possible to update setup.exe to get python?

2010-02-08 Thread KARR, DAVID (ATTSI)
> -Original Message- > From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On > Behalf Of Christopher Faylor > Sent: Monday, February 08, 2010 10:51 AM > To: cygwin@cygwin.com > Subject: Re: Currently on 1.5.25, possible to update setup.exe to get > python? > > On Mon, Feb 08, 2

Re: Currently on 1.5.25, possible to update setup.exe to get python?

2010-02-08 Thread Christopher Faylor
On Mon, Feb 08, 2010 at 10:26:39AM -0800, KARR, DAVID (ATTSI) wrote: >I'm currently on v1.5.25, but I don't want to upgrade yet. I just need >to install Python, which I believe is one of the packages. I tried >running my old setup.exe that I used with 1.5.25, but it's now >complaining about synta

Currently on 1.5.25, possible to update setup.exe to get python?

2010-02-08 Thread KARR, DAVID (ATTSI)
I'm currently on v1.5.25, but I don't want to upgrade yet. I just need to install Python, which I believe is one of the packages. I tried running my old setup.exe that I used with 1.5.25, but it's now complaining about syntax errors in "setup.bz2". It looks like I'll need to at least upgrade my

Re: ActiveState Perl and Cygwin How To

2010-02-08 Thread Csaba Raduly
On Mon, Feb 8, 2010 at 4:42 PM, Eric Blake <> wrote: > Csaba Raduly gmail.com> writes: 8< snip >8 >> P.S. Can somebody explain what ${1+"$@"} does and why it's used >> instead of just $@ ? > http://www.gnu.org/software/autoconf/manual/autoconf.html#Shell-Substitutions > http://lists.gnu.org/archi

[ANNOUNCEMENT] Updated: monotone-0.46-1

2010-02-08 Thread Lapo Luchini
Version 0.46-1 of monotone has been uploaded. monotone is a free distributed version control system. it provides a simple, single-file transactional version store, with fully disconnected operation and an efficient peer-to-peer synchronization protocol. You can find information about new features

Re: Want to find the rsync server which has the fastest transfer speed for me.

2010-02-08 Thread Dave Korn
On 08/02/2010 08:09, Mark Geisert wrote: > Hongyi Zhao writes: >> I know the following cygwin rsync servers which can be used from my >> location: >> >> rsync://ftp.kaist.ac.kr/cygwin/ >> rsync://mirror.averse.net/cygwin/ > [...] >> I want to pick the one with fastest transfer speed from this >> li

Re: ActiveState Perl and Cygwin How To

2010-02-08 Thread Eric Blake
Csaba Raduly gmail.com> writes: > > I have been using Cygwin for quite some time now on Windows XP. I use > > Perl extensively and the scripts I use/create are fairly portable. > > I want to use ActiveState Perl as I can install many modules from CPAN > > that give me trouble in Cygwin using cpan

Re: Wrong setup.exe on http://www.cygwin.com/

2010-02-08 Thread Christopher Faylor
On Mon, Feb 08, 2010 at 09:21:30AM +, G.W. Haywood wrote: >On Mon, 8 Feb 2010 Dave Korn wrote: > >> These both work: >> >> http://www.cygwin.com/setup.exe?&go_away_proxy! >> http://www.cygwin.com/setup.exe?go_away_proxy! > >This could work too: > >http://www.cygwin.com/setup-1.7.1-1.exe No.

Re: Is it possible to run a bash script using cygwin without login to the cygwin's terminal?

2010-02-08 Thread Christopher Faylor
On Mon, Feb 08, 2010 at 08:41:53PM +0800, Hongyi Zhao wrote: >On Mon, 8 Feb 2010 02:31:34 -0500, Christopher Faylor > wrote: > >>c:\cygwin\bin\bash script > >What's the differences between the following two invoking methods: > >c:\cygwin\bin\bash script > >and > >c:\cygwin\bin\bash --login script

Re: Problems with line endings for shell scripts

2010-02-08 Thread Jeremy Bopp
On 2/8/2010 6:30 AM, Jurgen Defurne wrote: > Dear all, > > I have the following mounts on my test & verification system for Cygwin 1.7. > > C:/Documents and Settings on /home type ntfs (binary,exec) > C:/cygwin/bin on /usr/bin type ntfs (binary,auto) > C:/cygwin/lib on /usr/lib type ntfs (binary,

telnet connected but without response

2010-02-08 Thread Philipp
Hello! I just installed CYGWIN 1.7 on two Windows 2008 Servers and installed INETD to run telnet as as server for remote console. The service is configured to run with a local user with administrative rights. When i connect from local or my remote windows xp workstation i get connected and i stay

Re: Is it possible to run a bash script using cygwin without login to the cygwin's terminal?

2010-02-08 Thread Csaba Raduly
On Mon, Feb 8, 2010 at 1:41 PM, Hongyi Zhao <> wrote: > What's the differences between the following two invoking methods: > > c:\cygwin\bin\bash script > > and > > c:\cygwin\bin\bash --login script This will run your .bash_profile (or .bash_login, or .profile) and set up any paths and aliases you

Re: ActiveState Perl and Cygwin How To

2010-02-08 Thread Csaba Raduly
On Sun, Feb 7, 2010 at 4:21 PM, raphael() <> wrote: > Hello, > > I have been using Cygwin for quite some time now on Windows XP. I use > Perl extensively and the scripts I use/create are fairly portable. > I want to use ActiveState Perl as I can install many modules from CPAN > that give me trouble

Re: Is it possible to run a bash script using cygwin without login to the cygwin's terminal?

2010-02-08 Thread Hongyi Zhao
On Mon, 8 Feb 2010 02:31:34 -0500, Christopher Faylor wrote: >c:\cygwin\bin\bash script What's the differences between the following two invoking methods: c:\cygwin\bin\bash script and c:\cygwin\bin\bash --login script Regards. -- .: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freed

Problems with line endings for shell scripts

2010-02-08 Thread Jurgen Defurne
Dear all, I have the following mounts on my test & verification system for Cygwin 1.7. C:/Documents and Settings on /home type ntfs (binary,exec) C:/cygwin/bin on /usr/bin type ntfs (binary,auto) C:/cygwin/lib on /usr/lib type ntfs (binary,auto) C:/cygwin on / type ntfs (binary,auto) C:/local on

AW: [bulk] - Re: One Problem solved other found -> dlclose not calling destructors

2010-02-08 Thread DEWI - N. Zacharias
Hi all, > Von: Christopher Faylor [mailto:cgf-use-the-mailinglist-ple...@cygwin.com] > Gesendet: Freitag, 5. Februar 2010 15:53 > An: cygwin@cygwin.com > Betreff: [bulk] - Re: One Problem solved other found -> dlclose not calling > destructors > > On Fri, Feb 05, 2010 at 09:27:45AM +0100, DEWI -

[Packaging error] quilt-0.46-2

2010-02-08 Thread Dr. Volker Zell
Hi quilt installs its quilt.quiltrc file below /etc/defaults instead of /etc Ciao Volker -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#un

[Packaging error] email-3.1.2-2

2010-02-08 Thread Dr. Volker Zell
Hi /etc/defaults/etc/email is empty postinstall script is missing cygwin specific README is missing executable in the tar archive is located under /bin instead of under /usr/bin Ciao Volker -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com

Re: build DLL that can be used by MinGW

2010-02-08 Thread Tim Prince
On 2/8/2010 12:50 AM, Martin Henne wrote: But I need to compile the DLL on cygwin and the rest on MinGW, and this does not work. The reason is, that I need a dll that uses the cygwin-posix-layer. What can I do? Why should it work? If your .exe needs cygwin dll, don't build any part of it

Re: Wrong setup.exe on http://www.cygwin.com/

2010-02-08 Thread G.W. Haywood
Hi there, On Mon, 8 Feb 2010 Dave Korn wrote: > These both work: > > http://www.cygwin.com/setup.exe?&go_away_proxy! > http://www.cygwin.com/setup.exe?go_away_proxy! This could work too: http://www.cygwin.com/setup-1.7.1-1.exe :) -- 73, Ged. -- Problem reports: http://cygwin.com/pro

build DLL that can be used by MinGW

2010-02-08 Thread Martin Henne
Hello, I try to produce a DLL on cygwin, that can be linked against a MinGW compiled program. To test with a simple example I tried the following code: // dllfunc.h extern "C" { extern void sayhello(); extern int sumint(int a, int b); } // dllfunc.cpp #include extern "C" { void sayhello(

Re: Want to find the rsync server which has the fastest transfer speed for me.

2010-02-08 Thread Mark Geisert
Hongyi Zhao writes: > I know the following cygwin rsync servers which can be used from my > location: > > rsync://ftp.kaist.ac.kr/cygwin/ > rsync://mirror.averse.net/cygwin/ [...] > > I want to pick the one with fastest transfer speed from this > list without trying one-by-one. What code should