Re: bash pipeline exit code - possible race condition?

2009-07-29 Thread David Antliff
On Thu, Jul 30, 2009 at 11:31, Christopher Faylor wrote: > On Wed, Jul 29, 2009 at 05:16:24PM +1200, David Antliff wrote: >>I've noticed a strange problem with bash pipelines in Cygwin that >>might indicate some sort of race condition. I cannot reproduce the >>problem on a Linux system, but it seem

Re: Emacs can't start-process more than 30~40 processes

2009-07-29 Thread Haojun Bao
Christopher Faylor writes: > On Wed, Jul 29, 2009 at 03:32:28PM +0800, Haojun Bao wrote: >>> >>> Not necessarily. We don't expect these functions to return NULL. It >>> would be interesting to know how many fds are open at this point. If it >>> is a large number then maybe we have to start enf

Re: bash pipeline exit code - possible race condition?

2009-07-29 Thread Christopher Faylor
On Wed, Jul 29, 2009 at 05:16:24PM +1200, David Antliff wrote: >I've noticed a strange problem with bash pipelines in Cygwin that >might indicate some sort of race condition. I cannot reproduce the >problem on a Linux system, but it seems easy to reproduce in Cygwin. > >I'm running the following co

Re: Emacs can't start-process more than 30~40 processes

2009-07-29 Thread Christopher Faylor
On Wed, Jul 29, 2009 at 03:32:28PM +0800, Haojun Bao wrote: >Christopher Faylor writes: > >> On Tue, Jul 28, 2009 at 10:52:44AM +0800, Haojun Bao wrote: >>>I have debugged it again, and I think I have more clue. I have read the >>>how-cygheap-works.txt, and this might be a known problem. >>> >>>It

Re: mingw headers and libraries missing

2009-07-29 Thread Georg Troska
Ok, thank you all for reading this stuff I'm able to run the code now with visual c++. I had never thought I would use it ;-) actually it took me 3 hours to run a hello world and anther 6 to run the code however thanks a lot. and please let me now when the cross-comipler is working

Re: strange behavior with threads...

2009-07-29 Thread jean-luc malet
On Fri, Jul 24, 2009 at 8:43 PM, benadam777 wrote: > > > > jean-luc malet wrote: >> >> I have a X server connection issue >> >> freeglut (./tests/GENERATED/GlutWindowTest): Unable to create direct >> context rendering for window ' ' >> This may hurt performance. >> XIO:  fatal IO error 11 (Resource

Re: bash pipeline exit code - possible race condition?

2009-07-29 Thread Dave Korn
Larry Hall (Cygwin) wrote: > On 07/29/2009 01:16 AM, David Antliff wrote: >> I've noticed a strange problem with bash pipelines in Cygwin that >> might indicate some sort of race condition. I cannot reproduce the >> problem on a Linux system, but it seems easy to reproduce in Cygwin. > > > >> I

Re: bash pipeline exit code - possible race condition?

2009-07-29 Thread Larry Hall (Cygwin)
On 07/29/2009 01:16 AM, David Antliff wrote: I've noticed a strange problem with bash pipelines in Cygwin that might indicate some sort of race condition. I cannot reproduce the problem on a Linux system, but it seems easy to reproduce in Cygwin. I am running Cygwin on Windows XP (service pa

Re: Python-devel on Windows XP build

2009-07-29 Thread Dave Korn
Jason Tishler wrote: > Dave, > > On Wed, Jul 29, 2009 at 04:27:20PM +0100, Dave Korn wrote: >> Jason Tishler wrote: >>> The following will solve the above build problem: >>> >>> LDFLAGS=-L/usr/lib/python2.5/config configure >>> >>> Jason >>> >> I believe you're meant to specify LDFLAGS after t

Re: Python-devel on Windows XP build

2009-07-29 Thread Jason Tishler
Dave, On Wed, Jul 29, 2009 at 04:27:20PM +0100, Dave Korn wrote: > Jason Tishler wrote: > > The following will solve the above build problem: > > > > LDFLAGS=-L/usr/lib/python2.5/config configure > > > > Jason > > > > I believe you're meant to specify LDFLAGS after the 'configure' these >

Re: Fresh install of Cygwin on Vista with no Home drectiory

2009-07-29 Thread Aaron Gray
2009/7/29 Aaron Gray > > Wheres home gone ? Helps to run Bash ! Sorry for the noise, Aaron -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#uns

Re: Python-devel on Windows XP build

2009-07-29 Thread Dave Korn
Jason Tishler wrote: > Gwen, > > On Wed, Jul 29, 2009 at 02:57:38AM -0400, Gwen Morse wrote: >> I'm trying to compile Tinyfuge with python extensions on my Windows XP >> box. I have the source which is reported by friends to compile >> properly on linux systems. >> >> ./configure fails, checking t

Fresh install of Cygwin on Vista with no Home drectiory

2009-07-29 Thread Aaron Gray
Wheres home gone ? I installed fresh Cygwin on Vista Enterprise, but I don't seem to have a home directory ? Many thanks in advance, Aaron -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.ht

Re: Python-devel on Windows XP build

2009-07-29 Thread Jason Tishler
Gwen, On Wed, Jul 29, 2009 at 02:57:38AM -0400, Gwen Morse wrote: > I'm trying to compile Tinyfuge with python extensions on my Windows XP > box. I have the source which is reported by friends to compile > properly on linux systems. > > ./configure fails, checking the log I see this message: > >

Re: AWK from a batch file

2009-07-29 Thread Mark J. Reed
On Tue, Jul 28, 2009 at 12:42 PM, Matthew Swanson wrote: > I am attempting to run AWK in a bash window through a Windows batch file.  I > am using: > > echo awk -v FS=',' -v OFS=',' '^{ > awk.s > echo    if ^($2 ~ /^^[0-9]*$/^)>> awk.s > echo            print $0 ^>^> "good_file.txt">> awk.s > echo

[ANNOUNCEMENT] New package: cppcheck-1.34-1

2009-07-29 Thread Chris Sutcliffe
Version 1.34-1 of cppcheck has been uploaded. cppcheck is a tool for static C/C++ code analysis. It tries to detect bugs that your C/C++ compiler don't see. The goal is no false positives. cppcheck is versatile. You can check non-standard code that includes various compiler extensions, inline as

Re: How to install-libLTLIBRARIES dll to bin?

2009-07-29 Thread Dave Korn
Peter Rosin wrote: > I don't think it's that easy, the dlname in the .la file is relative > to the position of the .la file itself. It's simply not intended to > to be an absolute path. Argh. Tell you what, let's change it from -bindir to -relative-bindir and just say that you have to pass in "

Re: How to install-libLTLIBRARIES dll to bin?

2009-07-29 Thread Peter Rosin
Den 2009-07-29 11:46 skrev Dave Korn: Charles Wilson wrote: Dave Korn wrote: Only libtool knows about the DLL. Only the Makefile knows about the setting of $bindir from configure. Currently however the Makefile only passes the path to the output in $libdir. Therefore ISTM that the only co

Re: How to install-libLTLIBRARIES dll to bin?

2009-07-29 Thread Dave Korn
Charles Wilson wrote: > Dave Korn wrote: > >> Only libtool knows about the DLL. Only the Makefile knows about the >> setting >> of $bindir from configure. Currently however the Makefile only passes the >> path to the output in $libdir. Therefore ISTM that the only correct solution >> is to a

MVFS on cygwin: Thanks, and plug for ClearCase::Wrapper::MGi

2009-07-29 Thread Marc Girod
Thanks for the recent fixes to make cygwin support mvfs for handling the emacs symlink locks! I keep updating my CPAN modules to run ClearCase from cygwin. With the recent ClearCase::Argv 1.46, and ClearCase::Wrapper::MGi 0.11, I get the following kind of transcripts: ClearCase-Wrapper-MGi> moun

Re: mingw headers and libraries missing

2009-07-29 Thread Georg Troska
Wow, sounds I have all the experts sitting together in this list. Maybe you can help me once more: First a brief plan: I'm working for the ATLAS-Collaborationand we need for detectordevelopment a programinterface. We have one really big and really old programm written in LabWindows C Cod

Re: Invalid csih method in ssh-user-config scripts

2009-07-29 Thread Corinna Vinschen
On Jul 28 23:41, Steven Hartland wrote: > In the latest version of ssh-user-config from 1.7 it uses the method > csih_error_multiline which doesn't exist, I assume this should be > csih_error_multi from: > /usr/share/csih/cygwin-service-installation-helper.sh Thanks for the report. I uploaded a n

Re: Emacs can't start-process more than 30~40 processes

2009-07-29 Thread Haojun Bao
Christopher Faylor writes: > On Tue, Jul 28, 2009 at 10:52:44AM +0800, Haojun Bao wrote: >>I have debugged it again, and I think I have more clue. I have read the >>how-cygheap-works.txt, and this might be a known problem. >> >>It's because the cygheap space has been used up. With Procexp, I can