Re: please add a find-the-fastest-mirror-automatically feature to setup.exe
On Wed, May 28, 2008 at 6:33 PM, Buchbinder, Barry [EMAIL PROTECTED] wrote: [...] [...] it seems to me [...] that the benefit:work ratio is high compared to some other improvements to setup. I am a programmer and that seems sensible and correct to me. If one finds a mirror too slow, one can always look on the list of mirrors http://cygwin.com/mirrors.html, pick a few that seem geographically close*, and time them with ping. Better yet, just try a few and see which works best. [...] Now the above is not to dismiss your concerns. Obviously, this is an issue for you. [...] However, having read various cygwin lists for years, this is the first time I can remember that someone has asked for this feature. Most setup requests have to do with user interface. Most mirror complaints are about staleness or disappearances. It actually wasn't an issue for me. I am at University of Ottawa and things are very fast. A full download of every Cygwin package (to burn to DVD) took about half an hour. I tried 2 different servers and found that the 2nd was fast. I subscribed to list to complain about a UI issue. I just made the suggestion about the find-fastest-mirror idea because I was already subscribed and to help others. (I know that some people won't bother finding the fastest mirror themselves. So they may waste half an hour extra waiting for a full download of Cygwin because they did not bother. I want to save time for those people. :) )
XKB: Couldn't load XKB keymap (fr_CH)
Hello ! I updated my Cygwin/X server yesterday. I have now the version 6.8.99.901-4. I don't remember what was the previous version. Since then, XKB doesn't work anymore. At xwin start, I can see this: XFree86-Bigfont extension local-client optimization disabled due to lack of shared memory support in the kernel (--) Setting autorepeat to delay=500, rate=31 (--) winConfigKeyboard - Layout: 100C (100c) (--) Using preset keyboard for French (Switzerland) (100c), type 4 Rules = xorg Model = pc105 Layout = fr_CH Variant = (null) Options = (null) (EE) Couldn't load XKB keymap, falling back to pre-XKB keymap (--) 3 mouse buttons found And I get an us keyboard, which is pretty annoying. So I tried to follow what is in the FAQ: $ setxkbmap de -model pc105 Couldn't interpret _XKB_RULES_NAMES property Use defaults: rules - 'xorg' model - 'pc101' layout - 'us' Segmentation fault (core dumped) I get the same output if I replace de by fr_CH, fr or us... $ mount -b $(cygpath -m /tmp) /tmp mount: /tmp: Device or resource busy $ mount -b -u $(cygpath -m /tmp) /tmp mount: warning: user mount point of '/tmp' masks system mount. $ xkbcomp -w 3 -xkm -m de /etc/X11/xkb/keymap/xfree86 localhost:0.0 Error:Can't find file xfree86 for keycodes include Exiting Abandoning keycodes file de Again, same thing when replacing de by fr_CH, fr or us... It looks like the file /etc/X11/xkb/keymap/xfree86 cannot be found. However, it exists: $ ls -l /etc/X11/xkb/keymap/xfree86 -rwxr--r--+ 1 ROBINX Utilisateurs 12788 Oct 27 2005 /etc/X11/xkb/keymap/xfree86 (It was -rwx--+ and I tried to chmod it so I'm sure it is ok). I copied /etc/X11/xkb into /usr/X11R6 without more success. I also looked at http://sourceware.org/ml/cygwin-xfree/2008-03/msg00011.html but fr_CH exists in /etc/X11/xkb/symbols/pc: $ ls /etc/X11/xkb/symbols/pc/fr_CH /etc/X11/xkb/symbols/pc/fr_CH What should I do to have a working fr_CH keyboard? Thanks for your answers, Xavier -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
RE: Couldn't load XKB keymap (fr_CH)
Xavier Robin wrote on Friday, May 30, 2008 8:57 AM:: It looks like the file /etc/X11/xkb/keymap/xfree86 cannot be found. However, it exists: $ ls -l /etc/X11/xkb/keymap/xfree86 -rwxr--r--+ 1 ROBINX Utilisateurs 12788 Oct 27 2005 /etc/X11/xkb/keymap/xfree86 (It was -rwx--+ and I tried to chmod it so I'm sure it is ok). Directories also need the execute permission for one to be able to read them (this is an over-simplification, but essentially true). On my installation, which hasn't had the permissions tinkered with, all directories under /etc/X11 have permissions 770. Try running this command: find /etc/X11 -type d -exec chmod 770 {} + Phil -- One of the following statements is true: This email has not been scanned by Ascribe PLC using Microsoft Antigen for Exchange. This email has been scanned by Ascribe PLC using Microsoft Antigen for Exchange. -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
Re: Couldn't load XKB keymap (fr_CH)
Hello, First, thanks for your answer. Phil Betts a écrit : Directories also need the execute permission for one to be able to read them (this is an over-simplification, but essentially true). Actually /etc/X11/xkb/keymap/xfree86 is a file, not a directory. find /etc/X11 -type d -exec chmod 770 {} + It didn't improve my problem. All the symptoms are still the same :( Thanks for your answer anyway ;-) Still searching... Xavier -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://x.cygwin.com/docs/ FAQ: http://x.cygwin.com/docs/faq/
winsup/cygwin ChangeLog select.cc
CVSROOT:/cvs/uberbaum Module name:winsup Changes by: [EMAIL PROTECTED] 2008-05-30 17:56:37 Modified files: cygwin : ChangeLog select.cc Log message: * select.cc (peek_pipe): Semi-reinstate pipe NT-special write detection. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/ChangeLog.diff?cvsroot=uberbaumr1=1.4177r2=1.4178 http://sourceware.org/cgi-bin/cvsweb.cgi/winsup/cygwin/select.cc.diff?cvsroot=uberbaumr1=1.139r2=1.140
Re: serial ports not visible with 1.7 under Vista
Thanks Christopher, thanks Dave, the last snapshot (cygwin1-20080529.dll.bz2) works perfectly both with /dev/ttyS5 and /dev/com6 Cheers, Giovanni On Thu, May 29, 2008 at 7:12 PM, Christopher Faylor [EMAIL PROTECTED] wrote: On Thu, May 29, 2008 at 07:02:40PM +0200, Giovanni Maruzzelli wrote: Correction, my last post was ambiguous: .\\com6 gives me Device or resource busy, while all other com* give me not existing. So, it is definitely better, it finds something! But do not yet works. This is a red herring. It is not going to work: It won't recognize it as a serial device. Opening and read/writing to COM6 with native win32 API (readfile etc) works well, both compiled with and without -mno-cygwin -mno-cygwin and native win32 apis really have little bearing on Cygwin. I'm regenerating a snapshot which translates /dev/ttyS0 - //Global??/COM1 and /dev/com1 - /??/com1, using the same symlink as is used by the windows api. I would appreciate it if you could try the snapshot when it becomes available and report if both /dev/ttyS5 and /dev/com6 work as you expect. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: binutils 20080523-1: version string breaks python2.5 distutils
On Thu, May 29, 2008 at 12:48:38PM -0400, Christopher Faylor wrote: Why is python even checking the version? Python (i.e., Distutils) is checking versions so that it calls the appropriate driver and supplies the appropriate options. For example, in cygwinccompiler.py we have the following: # ld_version = 2.10.90 and 2.13 should also be able to use # gcc -mdll instead of dllwrap # Older dllwraps had own version numbers, newer ones use the # same as the rest of binutils ( also ld ) # dllwrap 2.10.90 is buggy if self.ld_version = 2.10.90: self.linker_dll = gcc else: self.linker_dll = dllwrap # ld_version = 2.13 support -shared so use it instead of # -mdll -static if self.ld_version = 2.13: shared_option = -shared else: shared_option = -mdll -static That seems very fragile to me. Agreed, but this stuff predates me (i.e., before 2000), so I loathe to touch it... :,) Jason -- PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: binutils 20080523-1: version string breaks python2.5 distutils
Joe, On Fri, May 30, 2008 at 01:47:23AM +, Joe Pham wrote: If the OP verifies that the attached patch fixes his problem, then I will release a Cygwin Python with this patch applied. +result = re.search('(\d+\.\d+(\.\d+)?)',out_string) It worked, though not 100%: it failed to pick up the patch release component (i.e. 1.2.3a). This search regex works for all cases: '(\d+\.\d+(\.(\d+))?([ab](\d+))?)' Can you post your findings to the Python Issue Tracker? See the following: http://bugs.python.org/issue2234 I'm willing to patch Cygwin Python, but I would prefer to use a patch that (ultimately) will be accepted into the code base. Thanks, Jason -- PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6 -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: MS or cygwin dll debug tools/ was sys/sockio.h etc.
Mike Marchywka wrote: .rdata relocs it is then. This is why I lurk as I now remember something about this and, sure, I can find it on google. Of course, it would still be nice to have a fully instrumented load ( so where do I find the unreolcatable data?) . I relinked with -strip and used dumpbin to find all the symbols in rdata but there are several hundred. I thought I could grep the code for suspicious consts but no luck so far. The simplest method is just to tweak the linker script to make .rdata writable (or rather, to map both .data and .rdata input segments into the same .data output section.) There is no method that I'm aware of to find the name of the offending symbol. Actually, that's not quite true, see http://cygwin.com/ml/cygwin-patches/2008-q1/msg00067.html. As I said in that message though, those might just be coindicental and certainly not guaranteed across OS versions or whatever. Isn't there some way to find the offending relocation attempt? What does strace know about the stituation or does it just echo stuff from Windoze? strace under Cygwin is not like strace on other operating systems, it is really just a glorified viewer for a bunch of debug_printf statements that exist in the Cygwin code. The error occurs before the process even begins execution, during the period where NTLDR loads libraries into its address space. So, strace will be of no use. Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
gdc update?
Hi, this is mainly for Dave Korn. First of all, thanks for integrating gdc into gcc. Do you have any plans to upgrade it? The one cygwin provides is based on dmd 0.12, the current on is 0.24. Thank you, Ciao Tom -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: serial ports not visible with 1.7 under Vista
On Fri, May 30, 2008 at 09:47:59AM +0200, Giovanni Maruzzelli wrote: Thanks Christopher, thanks Dave, the last snapshot (cygwin1-20080529.dll.bz2) works perfectly both with /dev/ttyS5 and /dev/com6 Interesting. Thanks for the verification. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: binutils 20080523-1: version string breaks python2.5 distutils
On Fri, May 30, 2008 at 08:16:10AM -0400, Jason Tishler wrote: On Thu, May 29, 2008 at 12:48:38PM -0400, Christopher Faylor wrote: Why is python even checking the version? Python (i.e., Distutils) is checking versions so that it calls the appropriate driver and supplies the appropriate options. For example, in cygwinccompiler.py we have the following: # ld_version = 2.10.90 and 2.13 should also be able to use # gcc -mdll instead of dllwrap # Older dllwraps had own version numbers, newer ones use the # same as the rest of binutils ( also ld ) # dllwrap 2.10.90 is buggy if self.ld_version = 2.10.90: self.linker_dll = gcc else: self.linker_dll = dllwrap # ld_version = 2.13 support -shared so use it instead of # -mdll -static if self.ld_version = 2.13: shared_option = -shared else: shared_option = -mdll -static That seems very fragile to me. Agreed, but this stuff predates me (i.e., before 2000), so I loathe to touch it... :,) Aw, come on, Jason. Touch it! Destroy it! Fix it! But, seriously, could you get the same behavior by parsing the ld --help output? cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Problems installing on vista, no /bin in path
Hi I'm having this same problem on Windows Server 2003 R2 Standard x64 Edition. In case it helps, here is the output from my system (run from a Cygwin bash shell). This is a fresh installation of Windows with all updates applied. Michael $ bash -x /etc/postinstall/00bash.sh.done + result=0 ++ sed 's|/c/\(.\):/|/\1/|' +++ cygpath -am /dev/ ++ cygpath -au C:/C:/cygwin/dev + DEVDIR=/cygdrive/C/cygwin/dev + mkdir -p /cygdrive/C/cygwin/dev + /bin/test -e /dev/stdin + /bin/test -e /dev/stdout + /bin/test -e /dev/stderr + /bin/test -e /dev/fd + . /etc/profile.d/00bash.sh postinstall ++ /bin/test /bin/sh.exe -ot /bin/bash.exe ++ return 0 + exit 0 1 [main] bash 1732 _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack) Segmentation fault (core dumped) $ cat bash.exe.stackdump Exception: STATUS_ACCESS_VIOLATION at eip=7D61CBB5 eax= ebx=61109370 ecx= edx= esi=7D61CBA3 edi=61102EDC ebp=0022C9A8 esp=0022C994 program=C:\cygwin\bin\bash.exe, pid 1732, thread main cs=0023 ds=002B es=002B fs=0053 gs=002B ss=002B Stack trace: Frame Function Args 0022C9A8 7D61CBB5 (003F, , 0022C9C8, 61073D8C) 0022C9B8 61073A45 (61109370, 0001, 0022C9F8, 610F7D93) 0022C9C8 61073D8C (0040F140, 001B, , 00C66818) 0022C9F8 610F7D93 (, , 0001, 610100F9) 0022CA18 610E1518 (, , 0022CA38, 61093588) 0022CA28 61004DD1 (, , 0022CA48, 004010A9) 0022CA38 61093588 (, 0003, 0022CCE8, 00402BBD) 0022CA48 004010A9 (, 0001, 0001, ) 0022CCE8 00402BBD (0003, 6116BCF0, 00C60090, ) 0022CD98 610060D8 (, 0022CDD0, 61005450, 0022CDD0) 61005450 61004416 (009C, A02404C7, E8611021, FF48) 1 [main] bash 1732 _cygtls::handle_exceptions: Error while dumping state (probably corrupted stack) -- http://michael.gorven.za.net PGP Key ID 6612FE85 S/MIME Key ID D33AEB31 signature.asc Description: This is a digitally signed message part.
Cygwin Cron not running
I have been trying for a while to get cron working for cygwin on a windows 2003 Server, but to no avail. When I run cron-config, cron_diagnose states: ... no problem found. INFO: A cron daemon is already running. I have a cron.log file in /var/log, however it is empty. Also, the contents of /tmp is empty as well. Currently I am trying to run 2 jobs, one is a shell script and one is a simple echo command to a file to see if I can get anything to work. Neither of the jobs run. Here is the output of my crontab -l (Both of these command work fine if run from the command line). 51 1 * * * /cygdrive/d/backup/cproot.shl 51 1 * * * echo Hello /cygdrive/d/backup/hello.txt I've attached the cronbug.txt file to this email. I would greatly appreciate any help you can give me. Thanks! Jonathan O'Leary Systems Analyst/Banner Support Harford Community College 410-836-4188 Current version -rwxr-x---+ 1 lumcon mkgroup-l-d 4959 Jun 12 2007 /usr/share/doc/Cygwin/cron-4.1-6.README Running crons: 142412801424 1512? 16040 13:27:36 /usr/sbin/cron Sendmail: lrwxrwxrwx 1 lumcon mkgroup-l-d 16 May 29 12:40 /usr/sbin/sendmail - /usr/bin/cronlog Crontabs: -rwxrwxrwx 1 lumcon mkgroup-l-d 369 May 30 13:36 /var/cron/tabs/lumcon cron.log: -rw-r--r-- 1 lumcon mkgroup-l-d 0 May 30 12:06 /var/log/cron.log cron.pid: -rw-r--r-- 1 lumcon mkgroup-l-d 5 May 30 13:27 /var/run/cron.pid Crontab: # DO NOT EDIT THIS FILE - edit the master and reinstall. # (/tmp/crontab.WuzWIdmBwU installed on Fri May 30 13:36:03 2008) # (Cron version V5.0 -- $Id: crontab.c,v 1.12 2004/01/23 18:56:42 vixie Exp $) SHELL=/bin/bash PATH=/sbin:/bin:/usr/sbin:/usr/bin MAILTO=root HOME=/ 37 1 * * * /cygdrive/d/backup/cproot.shl 37 1 * * * echo Hello /cygdrive/d/backup/hello.txt Windows Application Events log: 2008/05/29 11:20:07 [lumcon] crontab: PID 5888: (lumcon) BEGIN EDIT (lumcon) 2008/05/29 11:23:46 [lumcon] /usr/sbin/cron: PID 5436: (CRON) STARTUP (V5.0) 2008/05/29 11:23:52 [lumcon] crontab: PID 5488: (lumcon) BEGIN EDIT (lumcon) 2008/05/29 11:28:55 [lumcon] crontab: PID 5936: (lumcon) BEGIN EDIT (lumcon) 2008/05/29 11:30:41 [lumcon] crontab: PID 4836: (lumcon) BEGIN EDIT (lumcon) 2008/05/29 11:32:18 [lumcon] crontab: PID 5840: (lumcon) BEGIN EDIT (lumcon) 2008/05/29 11:35:29 [lumcon] crontab: PID 5064: (lumcon) LIST (lumcon) 2008/05/29 11:35:31 [lumcon] crontab: PID 2072: (lumcon) BEGIN EDIT (lumcon) 2008/05/29 11:44:53 [lumcon] crontab: PID 2244: (lumcon) BEGIN EDIT (lumcon) 2008/05/29 11:45:56 [lumcon] crontab: PID 1996: (lumcon) BEGIN EDIT (lumcon) 2008/05/29 12:41:30 [lumcon] crontab: PID 5776: (lumcon) BEGIN EDIT (lumcon) 2008/05/29 12:41:36 [lumcon] crontab: PID 5776: (lumcon) END EDIT (lumcon) 2008/05/29 12:48:47 [lumcon] crontab: PID 4596: (lumcon) BEGIN EDIT (lumcon) 2008/05/29 12:48:49 [lumcon] crontab: PID 4596: (lumcon) END EDIT (lumcon) 2008/05/29 15:38:37 [lumcon] crontab: PID 6360: (lumcon) BEGIN EDIT (lumcon) 2008/05/29 15:38:45 [lumcon] crontab: PID 6360: (lumcon) END EDIT (lumcon) 2008/05/30 09:39:23 [lumcon] crontab: PID 5952: (lumcon) BEGIN EDIT (lumcon) 2008/05/30 09:44:03 [lumcon] crontab: PID 8024: (lumcon) LIST (lumcon) 2008/05/30 09:45:00 [lumcon] crontab: PID 5952: (lumcon) REPLACE (lumcon) 2008/05/30 09:45:00 [lumcon] crontab: PID 5952: (lumcon) END EDIT (lumcon) 2008/05/30 09:45:03 [lumcon] crontab: PID 7980: (lumcon) LIST (lumcon) 2008/05/30 09:51:02 [lumcon] crontab: PID 6468: (lumcon) BEGIN EDIT (lumcon) 2008/05/30 09:51:42 [lumcon] crontab: PID 6468: (lumcon) REPLACE (lumcon) 2008/05/30 09:51:42 [lumcon] crontab: PID 6468: (lumcon) END EDIT (lumcon) 2008/05/30 09:51:45 [lumcon] crontab: PID 6288: (lumcon) LIST (lumcon) 2008/05/30 10:00:27 [lumcon] crontab: PID 7148: (lumcon) BEGIN EDIT (lumcon) 2008/05/30 10:02:02 [lumcon] crontab: PID 7148: (lumcon) REPLACE (lumcon) 2008/05/30 10:02:02 [lumcon] crontab: PID 7148: (lumcon) END EDIT (lumcon) 2008/05/30 10:02:06 [lumcon] crontab: PID 7208: (lumcon) LIST (lumcon) 2008/05/30 10:16:00 [SYSTEM] /usr/sbin/cron: PID 3732: (CRON) STARTUP (V5.0) 2008/05/30 10:16:00 [SYSTEM] /usr/sbin/cron: PID 3732: (lumcon) BAD FILE MODE (tabs/lumcon) 2008/05/30 10:16:01 [SYSTEM] cron: PID 7528: `cron' service started 2008/05/30 10:16:09 [lumcon] crontab: PID 1916: (lumcon) BEGIN EDIT (lumcon) 2008/05/30 10:16:47 [lumcon] crontab: PID 1916: (lumcon) REPLACE (lumcon) 2008/05/30 10:16:47 [lumcon] crontab: PID 1916: (lumcon) END EDIT (lumcon) 2008/05/30 10:17:01 [SYSTEM] /usr/sbin/cron: PID 3732: (lumcon) BAD FILE MODE (tabs/lumcon) 2008/05/30 10:23:53 [lumcon] crontab: PID 6704: (lumcon) LIST (lumcon) 2008/05/30 10:24:01 [lumcon] crontab: PID 7896: (lumcon) BEGIN EDIT (lumcon) 2008/05/30 10:24:14 [lumcon] crontab: PID 7896: (lumcon) REPLACE (lumcon) 2008/05/30 10:24:14 [lumcon] crontab: PID 7896: (lumcon) END EDIT (lumcon) 2008/05/30 10:24:17 [lumcon] crontab: PID 8040: (lumcon) LIST (lumcon) 2008/05/30 10:25:01 [SYSTEM] /usr/sbin/cron: PID
Re: Cygwin Cron not running
Jonathan O'Leary wrote: I have a cron.log file in /var/log, however it is empty. Also, the contents of /tmp is empty as well. Currently I am trying to run 2 jobs, one is a shell script and one is a simple echo command to a file to see if I can get anything to work. Neither of the jobs run. Here is the output of my crontab -l (Both of these command work fine if run from the command line). The problem is right there in your log: 2008/05/30 13:37:01 [lumcon] /usr/sbin/cron: PID 1424: (lumcon) BAD FILE MODE (tabs/lumcon) cron won't run jobs from a tab that is world-writable, as that's a pretty gaping security hole: -rwxrwxrwx 1 lumcon mkgroup-l-d 369 May 30 13:36 /var/cron/tabs/lumcon Also, you should consider fixing your /etc/group file since a group of 'mkgroup-l-d' means there are missing entries. Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Cygwin Cron not running
Thanks for the info, however, I'm a bit confused. In cronbug it states that the permissions are: -rwxrwx--- 1 lumcon mkgroup-l-d 244 May 30 14:45 /var/cron/tabs/lumcon However, when I run a ls -al I get: -rw-r--r-- 1 lumcon mkgroup-l-d 244 May 30 14:45 /var/cron/tabs/lumcon How/why are they different? And how can I change the permissions of this file to get them correct? I'm not familiar with how chmod works in cygwin, because using the 3 numbers as in unix does not work. Again, I really appreciate the help. Thanks! Jonathan O'Leary Systems Analyst/Banner Support Harford Community College 410-836-4188 Brian Dessent [EMAIL PROTECTED] 5/30/2008 2:08 PM Jonathan O'Leary wrote: I have a cron.log file in /var/log, however it is empty. Also, the contents of /tmp is empty as well. Currently I am trying to run 2 jobs, one is a shell script and one is a simple echo command to a file to see if I can get anything to work. Neither of the jobs run. Here is the output of my crontab -l (Both of these command work fine if run from the command line). The problem is right there in your log: 2008/05/30 13:37:01 [lumcon] /usr/sbin/cron: PID 1424: (lumcon) BAD FILE MODE (tabs/lumcon) cron won't run jobs from a tab that is world-writable, as that's a pretty gaping security hole: -rwxrwxrwx 1 lumcon mkgroup-l-d 369 May 30 13:36 /var/cron/tabs/lumcon Also, you should consider fixing your /etc/group file since a group of 'mkgroup-l-d' means there are missing entries. Brian -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
just added a possible conservative fix for rsync problems
The latest snapshot at http://cygwin.com/snapshots/ has a conservative fix for the bug which has plagued rsync for years. I don't know for sure that it will solve the problem but I'd be interested in hearing success/failure reports here. When reporting success or failure please indicate what OS you're running, including service pack. Thanks. cgf -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Cygwin Cron not running
Jonathan O'Leary wrote: Thanks for the info, however, I'm a bit confused. In cronbug it states that the permissions are: -rwxrwx--- 1 lumcon mkgroup-l-d 244 May 30 14:45 /var/cron/tabs/lumcon However, when I run a ls -al I get: -rw-r--r-- 1 lumcon mkgroup-l-d 244 May 30 14:45 /var/cron/tabs/lumcon How/why are they different? And how can I change the permissions of this file to get them correct? I'm not familiar with how chmod works in cygwin, because using the 3 numbers as in unix does not work. Define does not work. Sounds to me like you could have some look-alike versions of your tools around. What does 'which ls' say? What does 'which chmod' say? Perhaps you could show us this followed by calling 'chmod'? -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 216 Dalton Rd. (508) 893-9889 - FAX Holliston, MA 01746 _ A: Yes. Q: Are you sure? A: Because it reverses the logical flow of conversation. Q: Why is top posting annoying in email? -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Cygwin - linker errors - __assert, __itob and __ftol
hi all - i am trying to compile a C++ native library using the shapelibrary. the one for linux is built but in cygwin i seem to be having some linker error problems and i have to assume it has to do with something regarding MSVC. i am including Java because i am using JNI to talk back and forth to Java. libShapeData.dll is my own native library that i want to build for windows. at the cygwin prompt: gcc -D__int64=long long -shared -I\C:\Apps\Java\jdk1.6.0_05\include -I\C:\Apps\Java\jdk1.6.0_05\include\win32 -I\c:\Users\usmsci\My Documents\shapefiles\shapelib128_bin_win -L\c:\Users\usmsci\My Documents\shapefiles\shapelib128_bin_win myFile.cpp -o libShapeData.dll c:\Users\usmsci\My Documents\shapefiles\shapelib128_bin_win\shpopen.obj c:\Users\usmsci\My Documents\shapefiles\shapelib128_bin_win\dbfopen.obj the errors i get are: Warning: .drectve '-defaultlib:LIBC' - unrecognized Warning: .drectve '-defaultlib:OLDNAMES' - unrecognized Warning: .drectve '-defaultlib:LIBC' - unrecognized Warning: .drectve '-defaultlib:OLDNAMES' - unrecognized c:\Users\usmsci\My Documents\shapefiles\shapelib128_bin_win\shpopen.o:shpopen.c (.text+0x1485):undefined reference to __assert the same thing happens for dbfopen.c. other undefined references include __ftol and __itob. those are the only 3. is there a compiler option that i can use or is there a way to somehow rebuild the shapefile library somehow? i am really not sure what is going on here - so it is kind of hard what to specifically ask. thanks all for the help in advance! -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Cygwin - linker errors - __assert, __itob and __ftol
C S wrote: hi all - i am trying to compile a C++ native library using the shapelibrary. the one for linux is built but in cygwin i seem to be having some linker error problems and i have to assume it has to do with something regarding MSVC. i am including Java because i am using JNI to talk back and forth to Java. libShapeData.dll is my own native library that i want to build for windows. Perhaps you could explain why you don't use the cygwin java native compiler (gcj). -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Cygwin - linker errors - __assert, __itob and __ftol
i did not know about gcj. i guess i missed that somehow? thanks for the tip. my command line right now is: gcj -D__int64=long long -shared -I C:\Apps\Java\jdk1.6.0_05\include -I C:\Apps\Java\jdk1.6.0_05\include\win32 -I C:\Users\usmsci\My Documents\shapefiles\shapelib-1.2.10\shapelib-1.2.10 -I C:\Users\usmsci\My Documents\shapefiles\shapelib128_bin_win -L c:\Users\usmsci\My Documents\shapefiles\shapelib128_bin_win fileName.cpp -o libShapeData.dll c:\Users\usmsci\My Documents\shapefiles\shapelib128_bin_win\shpopen.o c:\Users\usmsci\My Documents\shapefiles\shapelib128_bin_win\dbfopen.o the error i get is: gcj: cannot specify -D without --main what do i need to do to remedy this? thanks!!! i dont have a main function in my .cpp file. i assume thats what its complaining about? i am using the -D option otherwise i would endless complaints about jlong not having a type and a bunch of other related stuff. On Fri, May 30, 2008 at 5:23 AM, Tim Prince [EMAIL PROTECTED] wrote: C S wrote: hi all - i am trying to compile a C++ native library using the shapelibrary. the one for linux is built but in cygwin i seem to be having some linker error problems and i have to assume it has to do with something regarding MSVC. i am including Java because i am using JNI to talk back and forth to Java. libShapeData.dll is my own native library that i want to build for windows. Perhaps you could explain why you don't use the cygwin java native compiler (gcj). -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Re: Cygwin - linker errors - __assert, __itob and __ftol
i realized after i sent that last email that maybe i wasnt clear earlier that i already have created a .h file to match my JNI .Cpp file using the javah utility. so i have already done the work for that. i just need to link that up into my own .DLL to be used by a .java class. already have it working in linux and mac. thanks again!! On Fri, May 30, 2008 at 5:23 AM, Tim Prince [EMAIL PROTECTED] wrote: C S wrote: hi all - i am trying to compile a C++ native library using the shapelibrary. the one for linux is built but in cygwin i seem to be having some linker error problems and i have to assume it has to do with something regarding MSVC. i am including Java because i am using JNI to talk back and forth to Java. libShapeData.dll is my own native library that i want to build for windows. Perhaps you could explain why you don't use the cygwin java native compiler (gcj). -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/ -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/