Re: vfork always fail problem
Am 14.05.2010, 06:29 Uhr, schrieb Huang Bambo: [ba...@bambo-notebook 4.4.4]$ cat tvfork.c #include sys/types.h #include unistd.h #include stdio.h int main(void) { pid_t pid = vfork(); if ( pid 0 ) { printf(I'm chield.\n); _exit(0); } else if ( pid == 0 ) { printf(I'm parent); } You've got these swapped. pid == 0 means child, 0 means parent (so that it directly has the PID of its child and can later call waitpid()). You later wrote you've issues with the path; does the same happen if you use fork rather than vfork? vfork()ed child processes must not do anything but modify a variable of type pid_t, call _exit() or exec*(). -- Matthias Andree -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: vfork always fail problem
I's the problem of the fork() pass a wrong program path to CreateProcessW. It shoud pass a GBK code pathname to CreateProcessW but if I set LANG=en_US.UTF-8, the pathname passed to CreateProcessW is UTF-8, so CreateProcessW report file not found. 2010/5/14 Matthias Andree matthias.and...@gmx.de: Am 14.05.2010, 06:29 Uhr, schrieb Huang Bambo: [ba...@bambo-notebook 4.4.4]$ cat tvfork.c #include sys/types.h #include unistd.h #include stdio.h int main(void) { pid_t pid = vfork(); if ( pid 0 ) { printf(I'm chield.\n); _exit(0); } else if ( pid == 0 ) { printf(I'm parent); } You've got these swapped. pid == 0 means child, 0 means parent (so that it directly has the PID of its child and can later call waitpid()). You later wrote you've issues with the path; does the same happen if you use fork rather than vfork? vfork()ed child processes must not do anything but modify a variable of type pid_t, call _exit() or exec*(). -- Matthias Andree -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Using main() from a shared library in Cygwin 1.7
Hi, I have an application, which links with a shared library (fairly common situation :)). This shared library provides the main() function. This approach works well on Linux/Solaris machines, but on Cygwin 1.7 I get the following link error: /usr/lib/gcc/i686-pc-cygwin/4.3.4/../../../libcygwin.a(libcmain.o):(.text+0xa9): undefined reference to `_winm...@16' I created my shared library with: g++ -c -fPIC main_in_shared.cpp g++ -shared -fPIC -o libmain_in_shared.dll.a main_in_shared.o And finally: g++ -fPIC -o app app.cpp libmain_in_shared.dll.a, which fails... Some additional info: CYGWIN_NT-6.0 EVD8D3859A6470 1.7.2(0.225/5/3) 2010-03-24 21:12 i686 Cygwin gcc version 4.3.4 20090804 (release) 1 (GCC) $ nm libmain_in_shared.dll.a | grep main 70b41270 T ___main 70b460d8 I __impmain 70b41c40 T _cygwin_premain0 70b41c50 T _cygwin_premain1 70b41c60 T _cygwin_premain2 70b41c70 T _cygwin_premain3 70b410f0 T _main With static libraries it links fine, so I don't think that the order of the libraries (as I see the output of `g++ -v') matters here. Could somebody please explain what's going on here? I couldn't find anything really relevant after a few hours of Google-ing... Thanks in advance! Cheers, Ferenc -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Anyone interrested in a package manager?
Hi All, I've read the mailing lists and found some posts back in 2003 talking about porting apt to cygwin. I'm going crazy needing to use the installer every time I forgot to install a program, and also dealing with version upgrades and conflicting versions. The installer.exe is also clunky when it comes to selecting in batch etc. It would also be great to make your own repos and update cygwin locally from the repo, like the setup.exe 'local install' does, but then command-line based. So I'm wondering if there are any news on this front. Regards, Alexander -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Anyone interrested in a package manager?
On 2010-05-14 11:23Z, Alexander T wrote: [...] I'm going crazy needing to use the installer every time I forgot to install a program, and also dealing with version upgrades and conflicting versions. The installer.exe is also clunky when it comes to selecting in batch etc. It would also be great to make your own repos and update cygwin locally from the repo, like the setup.exe 'local install' does, but then command-line based. Have you investigated setup.exe's command-line options, which can be displayed by 'setup --help'? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Anyone interrested in a package manager?
Alexander T wrote: It would also be great to make your own repos and update cygwin locally from the repo, like the setup.exe 'local install' does, but then command-line based. So I'm wondering if there are any news on this front. Since you did a search back to 2003, I'm surprised you did not find posts referring to the new and wonderful command line options to setup.exe that were addede in the last year. They will do exactly what you want them to do http://cygwin.com/ml/cygwin/2009-02/msg00540.html Ralph -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Using main() from a shared library in Cygwin 1.7
Ferenc Kovacs derefer at gmail.com writes: ... I have an application, which links with a shared library (fairly common situation :)). This shared library provides the main() function. This approach works well on Linux/Solaris machines, but on Cygwin 1.7 I get the following link error: ... Hi Ferenc, some years ago I had a problem with main function in a library under VMS The linker just didn't search for it in a library. To force it to search a reference in a non-library part of source did help. I just added the following code in the main source file: extern int main(); static int (*force_linker_search_for_main_in_library)() = main; maybe something similar will help you regards kf -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Windows 7 file permissions and ls -l
I have an odd occurrence on my Win 7 x64 system with Cygwin 1.7.5. When I create files, I may set the permissions to 644 or 755. However, after a period of time, I went to edit one of those files in vi and it said that the file is read-only. I did an ls -l and was shocked to find that many of the directories have been changed to d- and files to --, which I did not do. The only way that I can change those permissions is to open an rxvt/bash window in administrator mode and then chmod, even though I am listed as the owner. I don't see a pattern to which files get changed and which are left alone. Is anyone else having this windoze automagic permission change scenario and does anyone know what to do to stop it? Thanks, Greg -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
gnutls missing cyggcrypt-11.dll
It seems the gnutls package (2.8.3-1) is missing a dependency to libgcrypt11 (1.4.5-1) - $ gnutls-cli -p 5223 talk.google.com /usr/bin/gnutls-cli.exe: error while loading shared libraries: cyggcrypt-11.dll: cannot open shared object file: No such file or directory Installing the lib package manually works around it. -- Gary Non-kook (allegedly) -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: 1.7.5 ssh no longer functions after upgrade from 1.5
Scott D Friedemann wrote: After upgrading, attempts to use SSH give Server refused our key. Trying to enter the user password is rejected, too. Everything wor I haven't found any documentation about upgrading SSH so don't know what might be wrong. I ran /bin/copy-user-registry-fstab What might I have missed? I am looking for a solution to a aimiliar problem the last week. In my case I found and solve two mistakes: 1) usernames in v1.5 are case insensitive but not in v1.7.5. e.g. ssh me...@cygwinhost is not the same as ssh me...@cygwinhost 2) sshd_config: AuthorizedKeysFile .ssh/authorized_keys is not the same as #AuthorizedKeysFile .ssh/authorized_keys. I have to remark the line in v1.7.5 but not in v1.5. br Matthias -- Don't Panic -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: 1.7.5 ssh no longer functions after upgrade from 1.5
On 5/14/10 8:23 AM, Matthias Meyer wrote: I am looking for a solution to a aimiliar problem the last week. In my case I found and solve two mistakes: 1) usernames in v1.5 are case insensitive but not in v1.7.5. e.g. ssh me...@cygwinhost is not the same as ssh me...@cygwinhost 2) sshd_config: AuthorizedKeysFile .ssh/authorized_keys is not the same as #AuthorizedKeysFile .ssh/authorized_keys. I have to remark the line in v1.7.5 but not in v1.5. I have been using case sensitive naming and the AuthorizedKeysFile line was commented out even in 1.5. Are there other ideas? Would it help if SSH was set up from scratch again? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Anyone interrested in a package manager?
Lookat http://code.google.com/p/cyg-apt/ On Fri 2010-05-14 06:23, Alexander T wrote: Hi All, I've read the mailing lists and found some posts back in 2003 talking about porting apt to cygwin. I'm going crazy needing to use the installer every time I forgot to install a program, and also dealing with version upgrades and conflicting versions. The installer.exe is also clunky when it comes to selecting in batch etc. It would also be great to make your own repos and update cygwin locally from the repo, like the setup.exe 'local install' does, but then command-line based. So I'm wondering if there are any news on this front. Regards, Alexander -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple -- Tom Schutter CoreLogic Spatial Solutions 303-440-7272 x6822 512-977-6822 -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: 1.7.5 ssh no longer functions after upgrade from 1.5
Scott D Friedemann wrote: On 5/14/10 8:23 AM, Matthias Meyer wrote: I am looking for a solution to a aimiliar problem the last week. In my case I found and solve two mistakes: 1) usernames in v1.5 are case insensitive but not in v1.7.5. e.g. ssh me...@cygwinhost is not the same as ssh me...@cygwinhost 2) sshd_config: AuthorizedKeysFile .ssh/authorized_keys is not the same as #AuthorizedKeysFile .ssh/authorized_keys. I have to remark the line in v1.7.5 but not in v1.5. I have been using case sensitive naming and the AuthorizedKeysFile line was commented out even in 1.5. Are there other ideas? Would it help if SSH was set up from scratch again? Yes! Optionally install openssh again. Than call ssh-host-config as well as ssh-user-config. Recognize any library error. The dependency management during cygwin installation isn't very well. My installation was missing one or two necessary cyg-libraries. I've forgotten the third part :-( remove all keys called cygnus* from registry. They are from v1.5 and wether necessary nor helpfull in v1.7.5. br Matthias -- Don't Panic -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Determining if cygwin is installed on a system
Hello Christopher, * On Thu, May 13, 2010 at 03:29:19PM -0400 Christopher Faylor wrote: On Thu, May 13, 2010 at 09:15:52PM +0200, Spiro Trikaliotis wrote: Thus, my main concern now is: How can I determine if a version of cygwin is installed? [...] Take a look at the source code for Cygwin's cygcheck.cc. Thank you very much! I knew about cygcheck, but I did not even consider it might be appropriate for my task. It looks good. Thank you very much, Spiro. -- Spiro R. Trikaliotis http://opencbm.sf.net/ http://www.trikaliotis.net/ http://www.viceteam.org/ -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Anyone interrested in a package manager?
Hello, * On Fri, May 14, 2010 at 07:41:51AM -0400 Ralph Hempel wrote: Alexander T wrote: [Installing cygwin from a local install package manager like APT] Since you did a search back to 2003, I'm surprised you did not find posts referring to the new and wonderful command line options to setup.exe that were addede in the last year. They will do exactly what you want them to do Well, comparing setup.exe (and even setup.exe with the command-line options) with apt(itude), yum and several others and telling that it does exactly what you want them to do does not show that you really know these package managers. Of course, I have to admit that it has to be written, and this is much work (for which I do not have time), so I do not complain. I had started trying to split setup.exe into a front-end (GUI) and back-end. I did it some years ago. Unfortunately, after working with the source a little bit, I found that these two are very much weaved together, and it did not look very promising to try to separate them without rewriting setup.exe. I am not sure if this has changed in the last year, I did not have a look since then. I had hoped to be able to generate a more apt-like front-end with that back-end. (Yes, I have seen cyg-apt, but I have not tried it myself.) Best regards, Spiro. -- Spiro R. Trikaliotis http://opencbm.sf.net/ http://www.trikaliotis.net/ http://www.viceteam.org/ -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: 1.7.5 ssh no longer functions after upgrade from 1.5
On May 14 15:23, Matthias Meyer wrote: 1) usernames in v1.5 are case insensitive but not in v1.7.5. e.g. ssh me...@cygwinhost is not the same as ssh me...@cygwinhost This has nothing to do with Cygwin 1.7. It was a security change in OpenSSH 5.4p1: http://cygwin.com/ml/cygwin-announce/2010-03/msg7.html 2) sshd_config: AuthorizedKeysFile .ssh/authorized_keys is not the same as #AuthorizedKeysFile .ssh/authorized_keys. This was a generic bug in OpenSSH 5.4 which has been fixed in the 5.5 release: http://cygwin.com/ml/cygwin-announce/2010-04/msg00026.html Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: vfork always fail problem
On May 14 16:54, Huang Bambo wrote: I's the problem of the fork() pass a wrong program path to CreateProcessW. It shoud pass a GBK code pathname to CreateProcessW but if I set LANG=en_US.UTF-8, the pathname passed to CreateProcessW is UTF-8, so CreateProcessW report file not found. That sounds a bit weird. The joke of using the ...W functions is that the string parameters are always given in UTF-16. GBK is a multibyte charset and can only be used in conjunction with the ...A functions. However, I'm on vacation so I can't test this scenario right now. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: strftime %b is broken on ja_JP locale
On May 14 10:55, Kazuhiro Fujieda wrote: On Wed, 12 May 2010 17:31:18 +0200 Corinna Vinschen corinna-cyg...@cygwin.com said: No, that's not broken, even if it seems so. Cygwin fetches the localized strings from the underlying OS, not from a Cygwin-specific locale database. What you see as results above is what *Windows* returns for the full and abbreviated month strings. Windows has a bug in Japanese and Korean locales. In these locales, strings reterned by GetLocaleInfoW for LOCALE_SABBREVMONTHNAME* miss suffixes representing a month. It should return 5\u6708 in Japanese and 5\c6d4 in Korea. MSDN in Japanese describes so. It, however, returns 5 in both locales. Can you please tell us the number of the knowledge base article saying so? Does this really only affect the lcids 411 and 412? Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Cygwin problems with a Samba share
On May 12 17:18, George George wrote: Hi, After a fresh installation of the latest version of Cygwin on Windows XP Service Pack 2, cygwin refuses to work out the username and group for the files on a samba share running on a Linux machine. Could you please suggest any pointers where I can look for help? In the User's Guide. Cygwin never figured out the actual username on the share. It can do that now, but it's often not what you want. See the noacl mount option. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: 1.7.5-1: execv fails in .exe compiled
On Thu, 13 May 2010 17:49:08 -0400, Larry Hall wrote: On 5/13/2010 5:45 PM, Stephen Morton wrote: The problem appears to be cygwin 1.7-specific. (*) I get a stackdump as follows. I find that I get a stackdump under a cygwin shell (DOS terminal) but not under mintty so I'm not 100% sure the stackdump is for the correct error. Do you have a http://cygwin.com/acronyms/#STC? http://cygwin.com/acronyms/#WADR , this was in my _very_first_email_ 9. I have tried making a dummy program that's just a wrapper for the failing code and passing in all the same data as the failing case. And it works. That really confuses me. I do have a binary --an only slightly modified gcc 3.4.6 cross-compiler-- that always fails. And there is a simple testcase that fails with that binary. But I doubt that really does anybody any good. For now, my team will continue our prototyping on Win7 + Cygwin 1.5. We'll re-evaluate when cygwin 1.7 seems a bit more mature (less frequent updates with fixes to less severe-sounding problems). I know this isn't a particularly recommended configuration, but it seems to be working. Stephen -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Anyone interrested in a package manager?
For those who are interested: You can finish mine from http://code.google.com/p/cygwin-rurban/source/browse/trunk/contrib/cyginstall (a single perl file) And there's also the super-simple cyg-apt which can only do new installs but no updates. -- Reini Urban http://phpwiki.org/ http://murbreak.at/ -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: 1.7.5-1: execv fails in .exe compiled]
Stephen Morton said: snip 109 225019 [main] cc386 1312 spawnve: spawnve (/usr/local/companytools/gcc34/x86/cc1.exe, /usr/local/companytools/gcc34/x86/cc1.exe, 1002DAA0) The /usr/local/companytools part sure sounds like a local (non-cygwin) app. Have you tried cygcheck? -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: 1.7.5 ssh no longer functions after upgrade from 1.5
Corinna Vinschen wrote: On May 14 15:23, Matthias Meyer wrote: 1) usernames in v1.5 are case insensitive but not in v1.7.5. e.g. ssh me...@cygwinhost is not the same as ssh me...@cygwinhost This has nothing to do with Cygwin 1.7. It was a security change in OpenSSH 5.4p1: http://cygwin.com/ml/cygwin-announce/2010-03/msg7.html 2) sshd_config: AuthorizedKeysFile .ssh/authorized_keys is not the same as #AuthorizedKeysFile .ssh/authorized_keys. This was a generic bug in OpenSSH 5.4 which has been fixed in the 5.5 release: http://cygwin.com/ml/cygwin-announce/2010-04/msg00026.html Corinna Damned ;-) I work hard, nearly a week to figure it out. I proudly present my knowledge here. But you knows that already! br Matthias -- Don't Panic -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Cygwin, Windows 7, GNU make, and error 31
I keeping having 'make' error out on me in ways similar to this: c:/VS.NET2005/vc/bin/mt.exe /nologo /manifest c:/foo/bar/Unidirectional_1.t.exe.manifest /outputresource:'c:/foo/bar/Unidirec tional_1.t.exe;#1' C:\bin\gnumake.exe[2]: *** [c:/foo/bar/Unidirectional_1.t.exe] Error 31 C:\bin\gnumake.exe[2]: *** Deleting file `c:/foo/bar/Unidirectional_1.t.exe' C:\bin\gnumake.exe[2]: Leaving directory `C:/foo/bar' C:\bin\gnumake.exe[1]: *** [bar.build_tests] Error 2 C:\bin\gnumake.exe[1]: Leaving directory `C:/foo' C:\bin\gnumake.exe: *** [foo.build_tests] Error 2 It doesn't seem to me like 'mt.exe' is failing and so I can't figure out why 'make' is failing. If I simply rerun the command without changing anything, it works just fine the second time. Thanks in advance for any help. Here is the version information. $ uname -a CYGWIN_NT-6.1-WOW64 DamienDesktop 1.7.5(0.225/5/3) 2010-04-12 19:07 i686 Cygwin -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Cygwin, Windows 7, GNU make, and error 31
On Fri, May 14, 2010 at 4:25 PM, Damien Kick dki...@me.com wrote: I keeping having 'make' error out on me in ways similar to this: c:/VS.NET2005/vc/bin/mt.exe /nologo /manifest c:/foo/bar/Unidirectional_1.t.exe.manifest /outputresource:'c:/foo/bar/Unidirec tional_1.t.exe;#1' C:\bin\gnumake.exe[2]: *** [c:/foo/bar/Unidirectional_1.t.exe] Error 31 C:\bin\gnumake.exe[2]: *** Deleting file `c:/foo/bar/Unidirectional_1.t.exe' C:\bin\gnumake.exe[2]: Leaving directory `C:/foo/bar' C:\bin\gnumake.exe[1]: *** [bar.build_tests] Error 2 C:\bin\gnumake.exe[1]: Leaving directory `C:/foo' C:\bin\gnumake.exe: *** [foo.build_tests] Error 2 It doesn't seem to me like 'mt.exe' is failing and so I can't figure out why 'make' is failing. If I simply rerun the command without changing anything, it works just fine the second time. Thanks in advance for any help. Here is the version information. $ uname -a CYGWIN_NT-6.1-WOW64 DamienDesktop 1.7.5(0.225/5/3) 2010-04-12 19:07 i686 Cygwin Something very similar happened to me some time ago with a another project. In that case, the first make was expecting temporary files, It made them, but didn't wait for the IO to finish so that when the file was opened, it really was there. On the second make pass, the file wasn't made because it was present. Making the second attempt succeed. I can't say if this is your issue or not, but its worth looking at. Hope this helps. Rance -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
1.7.5 run cygwin.bat and returned with c:\cygwin\bin folder
I have try to install Cygwin on Amazon AMI ami-f71ff09e amazon/Windows-Server2003R2-x86_64-SqlExpress-v109 The setup.exe did completed with the installation, but cygwin.bat return right away and going nowhere. If I ran it from command line it will ended up at c:\cygwin\bin. I have try to remove c:\cygwin and re-install it and it does not seems help. running c:\cygwin\bin\bash does go to the bash shell, but non of the user profile apply. Further notice that the image/Instance might have some early cygwin installation so that the setup.exe default some of the xWinodws components which I was not installed at first attempt. The questions: Are there any way I can a do a complete clean remove and reinstall to overcome the above problem. Or other suggestions? Many Thanks, Ping Wu -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: Running old cygwin.dll under Windows 7
On Thu, 15 Apr 2010 23:56:41 +0200, Hussein Patwa Wrote: Apologies for what is probably such an obvious question, but some of the utilities I wish to use do not support the latest cygwin dll. However, I tried running the legacy setup but Cygwin will not start, with the Windows 7 Subsystem for Unix complaining of invalid applications and .pif files. I assume you're clicking on the link on the desktop and getting this error. This is just because at the very end of the setup, cygwin makes a shortcut to the cygwin shell on the desktop. However, it uses some obsolete (to windows 7) file format to create the shortcut, so Windows 7 does not recognize it. Just go to c:\cygwin (or wherever your cygwin root is) and right-click-drag the Cygwin.bat file to your desktop and select create a shortcut here, and everything will work fine. Stephen -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re: strftime %b is broken on ja_JP locale
On Fri, 14 May 2010 21:27:16 +0200 Corinna Vinschen said: It should return 5\u6708 in Japanese and 5\uc6d4 in Korea. MSDN in Japanese describes so. It, however, returns 5 in both locales. Can you please tell us the number of the knowledge base article saying so? There is only a Japanese article: http://msdn.microsoft.com/ja-jp/library/cc422084.aspx This article says GetDateTimeFormat returns 1\u6708, 2\u6708, and so on for the format string MMM with the use of LOCALE_SABBREVMONTHNAME. Does this really only affect the lcids 411 and 412? As far as I know, Yes. -- Kazuhiro Fujieda fuji...@acm.org -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Re:cron visual output looks funny
On Sun, 02 May 2010 16:25:07 +0200 Johannes Müller Wrote: I installed and use cron on windows xp using cygwin. It works fine for non-GUI applications, but for instance notepad does not seem to start at all. And a popup-window-script I wrote in python does appear and react to userinput, but is not displayed ... I think the reason you're getting no replies is because people are perplexed at why anybody would be trying to run GUI apps from cron. You see cron is _normally_ used to run background jobs that have no direct output or at most put a little bit of output to a logfile. For example, these are the kinds of things people might normally put in a cron: * Back up data (databases, modified software code, research data, twiki contents, etc) * Optimize a database (after hours) * Roll logfiles * Send you an email about which friends' birthdays are coming up in the next month. But generally, never ever graphical apps. I'm not saying it isn't possible; it sounds like you found something on a Ubuntu mailing list about it. But it is highly unusual. And people are going to jump to the conclusion --correct or not-- that you are doing something really stupid and they want no part in helping you. So perhaps you can indicate what you're trying to do that you think you want cron for. And if it's good, people will say oh, I see and try to help. And if it's not good, people will also probably try to help you by steering you to something more appropriate to your needs. Stephen -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple