Re: [ANNOUNCEMENT] Updated: bash-3.2.49-22

2009-06-24 Thread Corinna Vinschen
On Jun 23 20:14, Eric Blake wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > A new release of bash, 3.2.49-22, has been uploaded, replacing 3.2.48-21 > as current, and leaving 3.1-6 as previous. This is probably the last bash > release for cygwin 1.5; my next release will be bash 4.0

Re: [1.7] sshd dc problem

2009-06-24 Thread Reini Urban
2009/6/23 Corinna Vinschen: > On Jun 22 17:48, Reini Urban wrote: >> Starting the laptop at home, without PDC connection works. I can properly >> login. >> But ssh to this box fails with -1 = initgroups (URBANR, 10513) >> error 1355: DcGetDcName(PDC_REQUIRED) call failed >> error 2221: UserGetLoc

xemacs winclient improvements

2009-06-24 Thread Reini Urban
Several xemacs ideas: * I added -mwindows to the winclient linker step which results in a much improved winclient. I'll take this patch to xemacs-patches by myself. * parseCommandLine() does not work on cygwin this way. It uses the Win32 API to find files, and should be special cased to use the P

Fwd: xemacs winclient improvements

2009-06-24 Thread Reini Urban
Hi I'm back in business :) I switched from native Win32 to cygwin because of the non-matching Win32 permissions. Cygwin ACL's are sometimes fucked up by inheritance. So I have several improvements. Patches inlined because gmail uploader fails on my proxy diff -u xemacs-21.5.28/lib-src/winclient

Re: [1.7] sshd dc problem

2009-06-24 Thread Corinna Vinschen
On Jun 24 10:45, Reini Urban wrote: > 2009/6/23 Corinna Vinschen: > > On Jun 22 17:48, Reini Urban wrote: > >> I should be able to login with pubkey to my box with sshd when windows > >> lets me in also. > > > > That's easier said than done. > > > > Apparently your laptop is configured to allow usi

Cygwin-1.7 support

2009-06-24 Thread Reini Urban
Cygwin 1.7 comes with wchar.h (finally) so we need this patch. (inlined) Tested okay. diff -u xemacs-21.5.28/src/syswindows.h.orig xemacs-21.5.28/src/syswindows.h --- xemacs-21.5.28/src/syswindows.h.orig2006-12-08 03:22:02.0 +0100 +++ xemacs-21.5.28/src/syswindows.h 2009-06-

undef WIN32_FILENAMES with cygwin-1.7

2009-06-24 Thread Reini Urban
cygwin-1.7 removed support for accepting win32 style pathnames. xemacs should follow. The particular problem was file-truename returning a fabricated windows path, instead of the POSIX path, which for example failed the mule testsuite for me. diff -u xemacs-21.5.28/src/fileio.c.orig xemacs-21.5.

Re: undef WIN32_FILENAMES with cygwin-1.7

2009-06-24 Thread Corinna Vinschen
On Jun 24 12:43, Reini Urban wrote: > cygwin-1.7 removed support for accepting win32 style pathnames. Huh? No, it didn't. Win32 paths are still accepted. What is your exact problem? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader

Numpy error in Python.

2009-06-24 Thread Sandeep Devadas
Hello All, I have imported the python-numpy package and am trying to import numpy into python on bash.I am getting this error as shown below.Please let me know what to do. $ python Python 2.5.2 (r252:60911, DecĀ  2 2008, 09:26:14) [GCC 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)

Re: Numpy error in Python.

2009-06-24 Thread Jason Tishler
Sandeep, On Wed, Jun 24, 2009 at 05:18:15PM +0530, Sandeep Devadas wrote: > I have imported the python-numpy package and am trying to import numpy > into python on bash.I am getting this error as shown below.Please let > me know what to do. > > $ python > Python 2.5.2 (r252:60911, Dec? 2 2008, 09

Re: Numpy error in Python.

2009-06-24 Thread Sandeep Devadas
Hi There, I installed nose as per your instructions and now im getting this error.Please let me know what to do. $ python Python 2.5.2 (r252:60911, Dec 2 2008, 09:26:14) [GCC 3.4.4 (cygming special, gdc 0.12, using dmd 0.125)] on cygwin Type "help", "copyright", "credits" or "licens

Re: xemacs winclient improvements

2009-06-24 Thread Reini Urban
2009/6/24 Reini Urban: > * xemacs-21.5.28-3 uses slow defaults: I'm using now: --with-optimization \ --with-modules=yes \ with-optimization is fast enough now for me. with-modules to enable integrat

Re: Slow/sluggish response ("system" task at 50%)

2009-06-24 Thread Gene Smith
Dave Korn wrote: Gene Smith wrote: Larry Hall (Cygwin) wrote: Gene Smith wrote: Since I don't have a "HOME" env var in windows, cygwin is getting the cygwin HOME from /etc/passwd. So I tried it both ways. With 1.5 I set home to be the empty directory /home/smited (under c:/cygwin). It didn'

/dev/ttyUSB0: No such file or directory

2009-06-24 Thread Leonid Krashenko
Hello. I am new to the Cygwin and have a problem connecting a device with serial output to the computer throw USB adapter. In Linux it's name is /dev/ttyUSB0. I have no /dev/ttyUSB0 device in /dev (but ttyS0 works). So I plug the USB cable in, then trying to: $ cat /dev/ttyUSB0 cat: /dev/ttyUSB0

Re: Slow/sluggish response ("system" task at 50%)

2009-06-24 Thread Christopher Faylor
On Wed, Jun 24, 2009 at 10:21:39AM -0400, Gene Smith wrote: >Dave Korn wrote: >> Gene Smith wrote: >>> Larry Hall (Cygwin) wrote: Gene Smith wrote: > Since I don't have a "HOME" env var in windows, cygwin is getting the > cygwin HOME from /etc/passwd. So I tried it both

--prefix tag is ignored when installing a rpm

2009-06-24 Thread Drew Holland
Hello, I'm trying to use the --prefix command to relocate an RPM on install. When building the spec file then running the command: rpm -Uvh --prefix /opt/drew rpm-name.rpm In a Unix environment it works fine and installs to /opt/drew. However when running the same command in Cygwin it ignores

RE: How to avoid having shell scripts which fail from killing Emacs shell?

2009-06-24 Thread David Karr
> -Original Message- > From: cygwin-ow...@cygwin.com [mailto:cygwin-ow...@cygwin.com] On Behalf > Of Eric Blake > Sent: Tuesday, June 23, 2009 9:04 AM > To: cygwin@cygwin.com > Subject: Re: How to avoid having shell scripts which fail from killing > Emacs shell? > > David Karr real.com> w

1.7 winbase.h (ilockcmpexch) compile error

2009-06-24 Thread Brian Ford
I'm trying to build Cygwin 1.7 from CVS to debug an ImageMagick problem on server 2008 that causes an access violation in cygwin1.dll. Doe anyone know the work around for this issue? g++ (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125) winsup/cygwin/winbase.h: In member function `int pth

cygcheck triggers Wow6432Node infinite loop on Windows Server 2008

2009-06-24 Thread GJ Hagenaars
Hi there, On a Windows Server 2008, running cronbug from the (bash) command line results in an ever increasing cronbug.txt file because cygcheck walks the registry and gets into an infinite loop. It will repeatedly find these entries, deeper and deeper in the registry: Cygnus Solutions Cygnus

gcc-4 is broken on both cygwin-1.5 and cygwin-1.7

2009-06-24 Thread Eray Ozkural
It cost me a lot of time but I verified that gcc-4 is malfunctioning on both versions. It's impossible to build boost-1.38 or build-1.39, even if you build only static libs. I had to use the gcc 4 that I had built myself previously on cygwin-1.5 And I think boost is pretty essential. Did you pa

[1.7] mount -c is lost after reboot

2009-06-24 Thread Edward Lam
Hi, Whenever I do a "mount -c /" in cygwin 1.7, it seems to revert back to /cygdrive after rebooting on Windows XP x64. Any ideas on how to have the mount point change persist through reboots? Thanks, -Edward -- Problem reports: http://cygwin.com/problems.html FAQ: ht

Re: 1.7 winbase.h (ilockcmpexch) compile error

2009-06-24 Thread Dave Korn
Brian Ford wrote: > I'm trying to build Cygwin 1.7 from CVS to debug an ImageMagick problem on > server 2008 that causes an access violation in cygwin1.dll. Doe anyone > know the work around for this issue? > > g++ (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125) > > winsup/cygwin/winbas

Re: /dev/ttyUSB0: No such file or directory

2009-06-24 Thread Matthias Andree
Leonid Krashenko schrieb: > Hello. > > I am new to the Cygwin and have a problem connecting a device with serial > output to the computer throw USB adapter. In Linux it's name is > /dev/ttyUSB0. I have no /dev/ttyUSB0 device in /dev (but ttyS0 works). > > So I plug the USB cable in, then trying t

Re: gcc-4 is broken on both cygwin-1.5 and cygwin-1.7

2009-06-24 Thread Dave Korn
Eray Ozkural wrote: > It cost me a lot of time but I verified that gcc-4 is malfunctioning > on both versions. It is possible you have actually verified what you think you have verified, but you give no details so it's impossible to evaluate your methodology. > It's impossible to build boost-1.

Re: cygcheck triggers Wow6432Node infinite loop on Windows Server 2008

2009-06-24 Thread Christopher Faylor
On Wed, Jun 24, 2009 at 02:00:52PM -0400, GJ Hagenaars wrote: >Hi there, > >On a Windows Server 2008, running cronbug from the (bash) command line >results in an ever increasing cronbug.txt file because cygcheck walks >the registry and gets into an infinite loop. > >It will repeatedly find these

Re: gcc-4 is broken on both cygwin-1.5 and cygwin-1.7

2009-06-24 Thread Christopher Faylor
On Wed, Jun 24, 2009 at 09:09:52PM +0300, Eray Ozkural wrote: >It cost me a lot of time but I verified that gcc-4 is malfunctioning >on both versions. > >It's impossible to build boost-1.38 or build-1.39, even if you build >only static libs. > >I had to use the gcc 4 that I had built myself previou

Re: Slow/sluggish response ("system" task at 50%)

2009-06-24 Thread Gene Smith
Gene Smith wrote: Well, it was OK at first after a reinstall with the "default" setup, enough to run and build a project with an cross compiled embedded toolchain. But when I install gcc, make, svn etc (enough to compile the openocd project) then it is slow again. I ran strace on the make proc

Re: [1.7] mount -c is lost after reboot

2009-06-24 Thread Christopher Faylor
On Wed, Jun 24, 2009 at 02:11:32PM -0400, Edward Lam wrote: >Whenever I do a "mount -c /" in cygwin 1.7, it seems to revert back to >/cygdrive after rebooting on Windows XP x64. Any ideas on how to have >the mount point change persist through reboots? You need to modify /etc/fstab. That's a fun

Re: 1.7 winbase.h (ilockcmpexch) compile error

2009-06-24 Thread Christopher Faylor
On Wed, Jun 24, 2009 at 07:40:39PM +0100, Dave Korn wrote: >Brian Ford wrote: >> I'm trying to build Cygwin 1.7 from CVS to debug an ImageMagick problem on >> server 2008 that causes an access violation in cygwin1.dll. Doe anyone >> know the work around for this issue? >> >> g++ (GCC) 3.4.4 (cygm

Re: [1.7] mount -c is lost after reboot

2009-06-24 Thread Christopher Faylor
On Wed, Jun 24, 2009 at 03:35:35PM -0400, Christopher Faylor wrote: >On Wed, Jun 24, 2009 at 02:11:32PM -0400, Edward Lam wrote: >>Whenever I do a "mount -c /" in cygwin 1.7, it seems to revert back to >>/cygdrive after rebooting on Windows XP x64. Any ideas on how to have >>the mount point chang

Re: Slow/sluggish response ("system" task at 50%)

2009-06-24 Thread Larry Hall (Cygwin)
Gene Smith wrote: Going back to beta-1.7 default install that ran fast I noticed that it was actually using a mingw32 version of "make" from winavr project and not the cygwin "make". The default cygwin install does not include make. When I load the cygwin make package and the build uses it (

Re: gcc-4 is broken on both cygwin-1.5 and cygwin-1.7

2009-06-24 Thread Yaakov (Cygwin/X)
On 24/06/2009 13:09, Eray Ozkural wrote: It cost me a lot of time but I verified that gcc-4 is malfunctioning on both versions. I think I can safely say that gcc-4.3 is working just fine, having used it to build hundreds of packages, both C and C++. It's impossible to build boost-1.38 or bu

Re: cygcheck triggers Wow6432Node infinite loop on Windows Server 2008

2009-06-24 Thread Andy Koppe
2009/6/24 GJ Hagenaars: > Hi there, > > On a Windows Server 2008, running cronbug from the (bash) command line > results in an ever increasing cronbug.txt file because cygcheck walks the > registry and gets into an infinite loop. > > It will repeatedly find these entries, deeper and deeper in the r

Re: Slow/sluggish response ("system" task at 50%)

2009-06-24 Thread Edward Lam
Larry Hall (Cygwin) wrote: > Interesting. I'm not sure why using Cygwin's 'make' would slow things > down dramatically when running from a Cygwin terminal or shell. I can Note that cygwin's make is just plain slower that mingw's make to begin with. I'm not quite sure I can explain the ~25 time

Re: Slow/sluggish response ("system" task at 50%)

2009-06-24 Thread Larry Hall (Cygwin)
Edward Lam wrote: Larry Hall (Cygwin) wrote: > Interesting. I'm not sure why using Cygwin's 'make' would slow things > down dramatically when running from a Cygwin terminal or shell. I can Note that cygwin's make is just plain slower that mingw's make to begin with. I'm not quite sure I can

Re: 1.7 winbase.h (ilockcmpexch) compile error

2009-06-24 Thread Brian Ford
On Wed, 24 Jun 2009, Christopher Faylor wrote: > On Wed, Jun 24, 2009 at 07:40:39PM +0100, Dave Korn wrote: > >Brian Ford wrote: > >> g++ (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125) > >> > >> winsup/cygwin/winbase.h: In > >> member function `int pthread_mutex::_trylock(pthread*)': > >

More info on boost and gcc-4

2009-06-24 Thread Eray Ozkural
Hi there, Thanks for all the replies. I'm not subscribed to the list (not yet) so please CC your replies to me. I am going to try to give as much information as I can. Here is what's happening. If I use a *vanilla* gcc 4.x that I compiled, everything just works fine with boost. Here is the vers

Re: 1.7 winbase.h (ilockcmpexch) compile error

2009-06-24 Thread Christopher Faylor
On Wed, Jun 24, 2009 at 04:37:56PM -0500, Brian Ford wrote: >On Wed, 24 Jun 2009, Christopher Faylor wrote: >>On Wed, Jun 24, 2009 at 07:40:39PM +0100, Dave Korn wrote: >>>Brian Ford wrote: g++ (GCC) 3.4.4 (cygming special, gdc 0.12, using dmd 0.125) winsup/cygwin/winbase.h: In member

Re: 1.7 winbase.h (ilockcmpexch) compile error

2009-06-24 Thread Brian Ford
On Wed, 24 Jun 2009, Christopher Faylor wrote: > On Wed, Jun 24, 2009 at 04:37:56PM -0500, Brian Ford wrote: > >I'm prepared to work the problem as my time permits, but I assume you > >are going to get far less help with Cygwin debugging/development if you > >require a compiler that is not yet in

Re: 1.7 winbase.h (ilockcmpexch) compile error

2009-06-24 Thread Brian Ford
On Wed, 24 Jun 2009, Brian Ford wrote: > On Wed, 24 Jun 2009, Christopher Faylor wrote: > > > http://cygwin.com/packages/gcc4/ > > http://cygwin.com/packages-2/gcc4/ > > Sorry, I forgot that an experimental package was available. My cygwin > mailing list skimming time and abilities have been lack

Error trying to cramfsck - mknod issue with sockets?

2009-06-24 Thread John De Angelis
Hi - I'm trying to extract a cramfs image built from a Linux system under Windows using cygwin. I have a Vista OS and have installed the latest current cygwin build. I'm a "windows guy" and have little knowledge of Linux. I start up a bash shell and run "cramfsck -v -x test rootfs" which all g

Re: Slow/sluggish response ("system" task at 50%)

2009-06-24 Thread Gene Smith
Larry Hall (Cygwin) wrote: Gene Smith wrote: Going back to beta-1.7 default install that ran fast I noticed that it was actually using a mingw32 version of "make" from winavr project and not the cygwin "make". The default cygwin install does not include make. When I load the cygwin make pac

[ANNOUNCEMENT] [1.7] Updated: bind-9.6.0_p1-1

2009-06-24 Thread Yaakov (Cygwin/X)
The following packages have been updated for Cygwin 1.7: * bind-9.6.0_p1-1 * libbind9-devel-9.6.0_p1-1 * libbind9_50-9.6.0_p1-1 * libdns-devel-9.6.0_p1-1 * libdns50-9.6.0_p1-1 * libisc-devel-9.6.0_p1-1 * libisc50-9.6.0_p1-1 * libisccc-devel-9.6.0_p1-1 * libisccc50-9.6.0_p1-1 * libisccfg-devel-9.6

Re: Some questions about mintty

2009-06-24 Thread Mark Harig
> At the bash shell prompt while editing commands is one example, but > it is also the case for me in text editors, vim or emacs, for example. > From the Options menu, I set the cursor type to block and set the > cursor color to a light color, say, yellow, and then moved the block > cursor back ov

Re: Slow/sluggish response ("system" task at 50%)

2009-06-24 Thread Edward Lam
On Wed, June 24, 2009 17:29, Larry Hall (Cygwin) wrote: > Sure, we all know that Cygwin provides Linux emulation and suffers some > overhead for it. But timings from an individual machine can be > misleading. > Running this through multiple times for both Mingw and Cygwin 1.7 on my > similarly equ

Re: Slow/sluggish response ("system" task at 50%)

2009-06-24 Thread Edward Lam
PS. So I went ahead and repeated the tr test on an older (Intel Core 2 Quad 2.66 GHz) machine with cygwin 1.5 on Windows *32-bit*: $ time -p for ((i=1; i<100; i++)); do var=$(echo $i | tr [a-z] [A-Z]); done real 2.64 user 6.56 sys 1.85 We're talking about a difference between an Intel processor O

Re: Slow/sluggish response ("system" task at 50%)

2009-06-24 Thread Edward Lam
On Wed, June 24, 2009 21:53, Edward Lam wrote: > PS. So I went ahead and repeated the tr test on an older (Intel Core 2 > Quad 2.66 GHz) machine with cygwin 1.5 on Windows *32-bit*: Sorry, I got the system specs wrong. It's actually just an Intel Core 2 6600 2.40 GHz machine. > > $ time -p for ((

Re: Slow/sluggish response ("system" task at 50%)

2009-06-24 Thread Larry Hall (Cygwin)
Edward Lam wrote: On Wed, June 24, 2009 17:29, Larry Hall (Cygwin) wrote: Sure, we all know that Cygwin provides Linux emulation and suffers some overhead for it. But timings from an individual machine can be misleading. Running this through multiple times for both Mingw and Cygwin 1.7 on my si

cygwin standalone package installation script

2009-06-24 Thread Hari Krishna Dara
Long back, I used a bash script to install individual cygwin packages that have been downloaded in an offline manner (I forget if it is called "setup.sh" or "install.sh") and hard time finding it again. The script correctly updated the setup info such that it could later be managed using setup.exe.