cygserver-service doesn't start
I installed cygwin including the cygserver on a Windows XP PC. This seemed to be successful. But whenever I try to start the server-service I get the error message: PID 4960: `cygserver' service stopped, exit status: 57 in the Windows event-log. There is just an empty logfile in /var/log. Thank you in advance. Thomas <> cygcheck.out Description: cygcheck.out -- 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: cygserver-service doesn't start
On Jan 14 09:52, [EMAIL PROTECTED] wrote: > I installed cygwin including the cygserver on a Windows XP PC. This > seemed to be successful. > > But whenever I try to start the server-service I get the error message: > PID 4960: `cygserver' service stopped, exit status: 57 in the Windows > event-log. I never saw an exit status of 57, EBFONT. Actually, this error is never generated by cygserver, cygrunsrv, or any Cygwin function. > <> You cygcheck output shows that you have multiple copies of the Cygwin DLL installed in $PATH. That's a no-no. You should either remove the following paths from $PATH C:\app\tools\dSPACE51\Exe C:\app\tools\dSPACE51\PPCTools20m\Bin and reboot, or get rid of the two cygwin1.dll's C:\app\tools\dSPACE51\Exe\cygwin1.dll C:\app\tools\dSPACE51\PPCTools20m\Bin\cygwin1.dll The first of them is the very old 1.3.19 release, the second is a very suspicious one which claims to be version 2.1.0, which doesn't exist as official release number. You should ask the provider of the tools under C:\app\tools\dSPACE51 what this is supposed to be. I wouldn't trust it. Any of the above actions should fix your problem. Corinna -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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: Finding Autogen
In message <[EMAIL PROTECTED]>, Charles Wilson wrote: > Dave Korn wrote: > > There is no standard cygwin release of autogen, and last time I > > tried to build it from source it didn't work. Sorry to be the > > bearer of bad news. :( > When I tried to build it (both for mingw/msys and for cygwin) I found > that it (triggered a guile) core-dump every time I ran it. However, it > was a failure-on-exit problem: the generated files were correct and > complete. Thanks Dave, Chuck. I'd be interested in the final binary, if anyone's willing to give me a copy. Cheers, Adam -- Adam Richardson Carpe Diem -- 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: Finding Autogen
On 14 January 2008 09:55, Adam wrote: > Thanks Dave, Chuck. I'd be interested in the final binary, if anyone's > willing to give me a copy. Sorted out off-list. cheers, DaveK -- Can't think of a witty .sigline today -- 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/
IMAP/POP3 Support
Hi I got cygwin working with apache, bind, exim, mailman, php, mysql and pgsql. But there's need for imap/pop3 server which support mysql database. I got webmin working with cygwin to control my virtual servers. I am using vexim with exim. So i need a imap/pop3 server that can work with exim/vexim with mysql, virtual domain, virtual users support. So anybody compiled cyrus-imap, courier-imap or dovecot on cygwin. ANYBODY They all tell me this is wrong list. does it matter if you have the answser. So ANYBODY here, The right person Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ -- 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: Running perl script in cron in cygwin under Windows
On 14 January 2008 04:51, Macalalad, Jun wrote: > Any idea where I've done wrong please? Well, posting to the announcements list, for one. Omitting the slightest trace of any pertinent details for another. cheers, DaveK -- Can't think of a witty .sigline today -- 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: IMAP/POP3 Support
Nop, no corect answer in http://sourceware.org/ml/cygwin/2007-12/msg00404.html. I dont think even they got it working. Anything else you got. Be a better friend, newshound, and know-it-all with Yahoo! Mobile. Try it now. http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ -- 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: How can I run a script?
On 14 January 2008 13:36, Eric Blake wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > According to BB on 1/13/2008 5:41 PM: >> can login to a shell from windows and run commands but how do I create a >> script > > A script is just a file containing the commands that you would have run > from the shell, optionally prefixed by something like a #!/bin/sh line to > specify the intepreter of those commands. It might help to chmod it +x if it doesn't "just work" (although that should only be necessary under fairly rare circumstances). Also if you use a windows-based editor like notepad or wordpad (write), you'll need to run "d2u" on the file to convert the line-endings from DOS-style CR/LF to unix-style LF-only before it'll work correctly. cheers, DaveK -- Can't think of a witty .sigline today -- 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: IMAP/POP3 Support
On 14 January 2008 13:29, Jaspreet Singh wrote: > They all tell me this is wrong list. does it matter if > you have the answser. No, this is the right list. You were posting on a different list a minute ago, didn't you notice you're sending to a different address this time? This is the right list because it's where most people hang out and *if* anyone's tried compiling those packages at all, you're *much* more likely to find them here than you would have done on the -talk list (which has about 1/100th the membership). cheers, DaveK -- Can't think of a witty .sigline today -- 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: How can I run a script?
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to BB on 1/13/2008 5:41 PM: | can login to a shell from windows and run commands but how do I create a script A script is just a file containing the commands that you would have run from the shell, optionally prefixed by something like a #!/bin/sh line to specify the intepreter of those commands. Perhaps your real question was how you can automate the running of such a script without user intervention? If so, why not ask that in the first place? At any rate, cron serves as a nice package to automate the running of arbitrary scripts at set times. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHi2U984KuGfSFAYARAqtfAKDYoIa17mJsGBs+jw+rkj9FKudLJACgv8X1 ORx5BEBiJtcRX48DKj1JC08= =ZEHH -END PGP SIGNATURE- -- 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: IMAP/POP3 Support
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Jaspreet Singh on 1/14/2008 6:29 AM: | So anybody compiled cyrus-imap, courier-imap or | dovecot on cygwin. Search the archives for a recent discussion about building dovecot on cygwin (although I didn't read that thread, so I don't know what the conclusion was). Also, cygwin comes with a cyrus-sasl package, so maybe cyrus-imap isn't that much harder to build. http://sourceware.org/ml/cygwin/2007-12/msg00385.html | They all tell me this is wrong list. does it matter if | you have the answser. You got the right list (finally). - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHi2ZX84KuGfSFAYARAo5AAJ9rLZwr04tLF+rTwHeaseADUE4ZwACdFlME L3NdX92MPirUfWm32VFOWAk= =R1kk -END PGP SIGNATURE- -- 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: How can I run a script?
Hi. > can login to a shell from windows and run commands but how do I create a > script I think you mean to run a command without open cygwin shell. If i understand well, here you are how i've done that. First of all, i've created a file .bat (example: run_rsynch.bat) on my desktop .. and inside that (supposing you install cygwin in your C: drive): C: chdir C:\cygwin\bin bash --login -i -c 'rsync -avz [EMAIL PROTECTED]:/home/funnel/Jan* /cygdrive/e/Earchives' Save & Exit. Now you need only to double-click in your .bat file and insert your password if required. Instead, if you want to create a script to run in cygwin environment, follow the Eric post. ...my 2 cents... Regards M -- 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: IMAP/POP3 Support
Actually dovecot people claims that dovecot can work with cygwin with some code change. But they dint listed it how to. I asked them in the mail but they say they cant help as they dont have windows Ha Ha. I dont think they want to help. Looking for last minute shopping deals? Find them fast with Yahoo! Search. http://tools.search.yahoo.com/newsearch/category.php?category=shopping -- 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: How can I run a script?
Actually my intent is to run this from an automated schedular. As Eric described it could be run from cron like any other Unix shell script but I really don't want to add a cron daemon. Was thinking windoze schedular. The base install of cygwin is on an E: drive. C: didn't have enough room. So if I understand correctly something like - E: chdir E:\cygwin\bin bash --login -i -c 'rsync -avz [EMAIL PROTECTED] :/home/funnel/Jan* /cygdrive/e/Earchives' So as I read more through the bash man the -c argument was what I was looking for. Then another question arises where does the std output and std error go too? 2>&1 >> foo_file ? I could fix that by running rsync in quite mode -q Thanks btb On 1/14/08, Mirco Piccin <[EMAIL PROTECTED]> wrote: > Hi. > > > can login to a shell from windows and run commands but how do I create a > script > > I think you mean to run a command without open cygwin shell. > If i understand well, here you are how i've done that. > > First of all, i've created a file .bat (example: run_rsynch.bat) on my > desktop > .. and inside that (supposing you install cygwin in your C: drive): > > C: > > chdir C:\cygwin\bin > > > > bash --login -i -c 'rsync -avz [EMAIL PROTECTED]:/home/funnel/Jan* > /cygdrive/e/Earchives' > > Save & Exit. > Now you need only to double-click in your .bat file and insert your > password if required. > > Instead, if you want to create a script to run in cygwin environment, > follow the Eric post. > > ...my 2 cents... > > Regards > M > > -- > 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: How can I run a script?
Hi again. > The base install of cygwin is on an E: drive. C: didn't have enough room. > > So if I understand correctly something like - > > > E: > > chdir E:\cygwin\bin > > bash --login -i -c 'rsync -avz [EMAIL PROTECTED] :/home/funnel/Jan* > /cygdrive/e/Earchives' ...yes, it seems right. > Then another question arises where does the std output and std error > go too? 2>&1 >> foo_file ? > > I could fix that by running rsync in quite mode -q Well, if you want to save the log, you can simply redirect all the output in a file, so append something like that to your original command (inside the '): >> /any/path/log_file do the job. If you want to discharge the output, appending : 2>&1 should be enough. Anyway, after the shell command is ran, the shell close itself. It is also possible to create a bash script on cygwin environment and then start it by the way described above. Regards M -- 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: How can I run a script?
Hi. > I also assume if running in a windoze envirment it needs to end with > *.bat extension since windoze doesn't have a clue what *.sh is? ...sure, as reported on my first post. Regards M -- 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: How can I run a script?
I also assume if running in a windoze envirment it needs to end with *.bat extension since windoze doesn't have a clue what *.sh is? On 1/14/08, Mirco Piccin <[EMAIL PROTECTED]> wrote: > Hi again. > > > The base install of cygwin is on an E: drive. C: didn't have enough room. > > > > So if I understand correctly something like - > > > > > > E: > > > > chdir E:\cygwin\bin > > > > bash --login -i -c 'rsync -avz [EMAIL PROTECTED] :/home/funnel/Jan* > > /cygdrive/e/Earchives' > > ...yes, it seems right. > > > Then another question arises where does the std output and std error > > go too? 2>&1 >> foo_file ? > > > > I could fix that by running rsync in quite mode -q > > Well, if you want to save the log, you can simply redirect all the > output in a file, so append something like that to your original > command (inside the '): > >> /any/path/log_file > do the job. > If you want to discharge the output, appending : > 2>&1 > should be enough. > > Anyway, after the shell command is ran, the shell close itself. > It is also possible to create a bash script on cygwin environment and > then start it by the way described above. > > Regards > M > > -- > 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/
[ANNOUNCEMENT] Updated: boost-1.33.1-4
The following packages have been updated: boost-1.33.1-4 boost-devel-1.33.1-4 libboost-1.33.1-4 Changes since 1.33.1-3: Rebuilt including previously disabled Boost.Test and against Python 2.5. -- VH *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from the cygwin-announce mailing list, look at the "List-Unsubscribe: " tag in the email header of this message. Send email to the address specified there. It will be in the format: [EMAIL PROTECTED] If you need more information on unsubscribing, start reading here: http://sources.redhat.com/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at this URL. signature.asc Description: OpenPGP digital signature
Re: IMAP/POP3 Support
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jaspreet Singh wrote: | Actually dovecot people claims that dovecot can work | with cygwin with some code change. But they dint | listed it how to. I asked them in the mail but they | say they cant help as they dont have windows Ha Ha. | | I dont think they want to help. | Actually a search on google can yield some hits on this topic. http://www.dovecot.org/list/dovecot/2004-December/005665.html Dovecot archives search results: http://www.google.com/search?q=cygwin+site%3Ahttp%3A%2F%2Fwww.dovecot.org%2Flist%2Fdovecot%2F - -- Robert Pendell [EMAIL PROTECTED] Thawte Web of Trust Notary CAcert Assurer -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHi4yms1pR2j1qW+sRAkNTAJ0QfjsUCz/SvKbp0yGxmeZWXHLr5gCfR8TG khSPX/w2xNwXox1f3SKMhPw= =tw3O -END PGP SIGNATURE- -- 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/
[ANNOUNCEMENT] Updated: syslog-ng-2.0.7.1-1
I have updated syslog-ng on cygwin.com to the latest stable release 2.0.7. The Cygwin version is called 2.0.7.1. It's taken from the current state of the syslog-ng upstream git repository, which contains Cygwin related patches beyond the official 2.0.7 release. Please read /usr/share/doc/Cygwin/syslog-ng.README for postinstall information. I also recommend to visit the /usr/share/doc/syslog-ng/ directory and the man pages "syslog-ng" and "syslog-ng.conf". Changes since 2.0.5: IMPORTANT NOTES: * There are two possible Denial of Service fixes in this version of syslog-ng, therefore it is strongly recommended to upgrade to this version. Bugfixes: * Fixed UNIX domain socket destinations on Solaris. * Fixed flow-control behaviour for follow-mode source files. * Added the "mark" keyword to be an alias of "mark_freq" for compatibility with syslog-ng 1.6. * Fixed message loss in destination files during configuration reloads if syslog-ng is heavily loaded. * Fixed a possible segmentation fault in the dns-cache-host() file parsing code for improperly formatted host files. * Fixed possible "Insufficient buffer space" errors in the STREAMS driver. * Fixed the starvation of the timer used to reap unused destination files, which could cause some files never to be closed under heavy load. * Fixed ISO timestamp parsing for timestamps that have no timezone information or have a too long fraction of a second portion. * Added a workaround for possible deadlocks on /proc/kmsg and user terminals. * HP-UX related build and runtime fixes, backported from the Premium Edition. * If unable to resolve the name of the target host, syslog-ng failed to initialize the TCP/UDP destination drivers. This behavior has been corrected. * Corrected program name parsing in incoming messages. * Fixed a problem in handling messages which lacked explicit timezone information, but the administrator specified a timezone for the messages. * Fixed some minor memory leaks in configuration reloads. * Fixed a segmentation fault which occurred when the timestamp of the incoming messages did not end with a space character (NULL pointer dereference). This is an easy Denial of Service possibility. * Fixed a segmentation fault which occurred when the PID macro was used and the message had a closing bracket (']') before an opening bracket ('['). * Fixed a possible segmentation fault for UDP6/TCP6 destinations. * Fixed IPv6 scope id resolution for link-local addresses. * Solaris related fixes. Other changes: * The fsync() option was implemented. * Added support for file sources that do not exist at startup. * Added support the "--persist-file" configuration option. * Added support for timestamps used by some LinkSys routers. * Added loggen tool to generate syslog messages at the specified rate. To update your installation, click on the "Install Cygwin now" link on the http://cygwin.com/ web page. This downloads setup.exe to your system. Then, run setup and answer all of the questions. *** CYGWIN-ANNOUNCE UNSUBSCRIBE INFO *** If you want to unsubscribe from the cygwin-announce mailing list, look at the "List-Unsubscribe: " tag in the email header of this message. Send email to the address specified there. It will be in the format: [EMAIL PROTECTED] If you need more information on unsubscribing, start reading here: http://sources.redhat.com/lists.html#unsubscribe-simple Please read *all* of the information on unsubscribing that is available starting at the above URL. -- Corinna Vinschen Please, send mails regarding Cygwin to Cygwin Project Co-Leader cygwin AT cygwin DOT com Red Hat -- 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: How can I run a script?
E: chdir E:\cygwin\bin bash --login -i -c 'rsync -avz --remove-source-files [EMAIL PROTECTED]:/home/test/* /cygdrive/e/Earchives' Works fine, last a long time. Added one more tweak --remove-source-files Now all I have to do is setup in windoze scheduler and move about 30GB of data. Then get this setup to run once a month Thanks for your help btb On 1/14/08, Mirco Piccin <[EMAIL PROTECTED]> wrote: > Hi. > > > I also assume if running in a windoze envirment it needs to end with > > *.bat extension since windoze doesn't have a clue what *.sh is? > > ...sure, as reported on my first post. > Regards > M > > -- > 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/
Possible compromised mirror
Hello, I've come across an issue which may be the result of a compromised Cygwin mirror. The mirror in question is ftp.gtlib.gatech.edu. Earlier today, I installed Cygwin on the Windows XP partition of my laptop. I used the default package settings and selected the GA Tech mirror. About halfway through the install, I got an error message which said something about a Cygwin dll file. I didn't have a lot of time to read it because I was looking away when it popped up. Right after that, I got a white screen (fullscreen) for a few seconds, followed by some porn images (also fullscreen). I then got the windows desktop again. Unfortunately I don't have any more details than this. This laptop is only one week old and I have been running linux on it for most of that time. I have installed just a handful of programs on the windows partition (Firefox, Thunderbird, Inkscape, IrfanView, Office 2007, Epson printer drivers, The GIMP, Blender, Visual Studio Express) and have only used it occasionally, so while it is possible this could be caused by malware from some other source, it seems unlikely. All of these applications were from reputable, official, sources. I have scanned the entire windows partition with ClamAV but it did not detect anything, so this is probably something new. Again, I am unable to confirm that Cygwin contains the malware. It is also possible it could have been from any of the other programs mentioned. The Cygwin error message occurring immediately before the slideshow is the reason I suspect it. I have kept a copy of all of the files downloaded from the mirror and the Cygwin installer program itself. -Rob -- 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/
[1.7.0 HEAD]: Cygwin no longer encoding/decoding names on managed mounts
Hi All, I'm not sure when this cropped up, but it happened sometime after the great "win 9x" code purge. The problem is that the Cygwin dll no longer decodes or encodes file/directory names on managed mounts. Steps to reproduce (WinXP SP2 x32): --- 1) mkdir -p /usr/src2 2) mount -b -s -o managed C:\\cygwin\\usr\\src2 /usr/src2 3) cd /usr/src2 4) mkdir -p FOO 5) ls -1 /cygdrive/c/cygwin/usr/src2 1.5.25(0.156/4/2) results: -- Expected: %46%4F%4F Actual: %46%4F%4F 1.7.0(0.179/4/2) results: - Expected: %46%4F%4F Actual: FOO For this test, I setup a fresh, default Cygwin install on another machine. The Cygwin dll which was used was from the 1.5.25-7 package. I ran the test and everything worked as expected. However, on the machine with the Cygwin dll compiled from cvs HEAD, it did not. Running strace on the "mkdir -p FOO" operation seems to confirm that the munging gets skipped somewhere in the normalize_posix_path function. strace snippet from 1.5.25(0.156/4/2): -- [main] mkdir dll_crt0_1: user_data->main 0x4012A0 [main] mkdir __set_errno: void dll_crt0_1(void*):946 val 0 [main] mkdir normalize_posix_path: src FOO [main] mkdir cwdstuff::get: posix /usr/src2 [main] mkdir cwdstuff::get: (/usr/src2) = cwdstuff::get (0x22C740, 260, 1, 0), errno 0 [main] mkdir normalize_posix_path: /usr/src2/FOO = normalize_posix_path (FOO) [main] mkdir mount_info::conv_to_win32_path: conv_to_win32_path (/usr/src2/FOO) [main] mkdir set_flags: flags: binary (0x2) [main] mkdir mount_info::conv_to_win32_path: src_path /usr/src2/FOO, dst C:\Cygnus\cygwin\usr\src2\%46%4F%4F, flags 0x80A, rc 0 __^ [main] mkdir symlink_info::check: GetFileAttributes (C:\Cygnus\cygwin\usr\src2\%46%4F%4F) failed [main] mkdir geterrno_from_win_error: windows error 2 == errno 2 [main] mkdir symlink_info::check: GetFileAttributes (C:\Cygnus\cygwin\usr\src2\%46%4F%4F.lnk) failed [main] mkdir geterrno_from_win_error: windows error 2 == errno 2 [main] mkdir symlink_info::check: 0 = symlink.check (C:\Cygnus\cygwin\usr\src2\%46%4F%4F, 0x22C400) (0x80A) [main] mkdir mount_info::conv_to_win32_path: conv_to_win32_path (/usr/src2) [main] mkdir set_flags: flags: binary (0x2) [main] mkdir mount_info::conv_to_win32_path: src_path /usr/src2, dst C:\Cygnus\cygwin\usr\src2, flags 0x80A, rc 0 [main] mkdir symlink_info::check: not a symlink [main] mkdir symlink_info::check: 0 = symlink.check (C:\Cygnus\cygwin\usr\src2, 0x22C400) (0x80A) [main] mkdir path_conv::check: this->path(C:\Cygnus\cygwin\usr\src2\%46%4F%4F), has_acls(1) [main] mkdir build_fh_pc: fh 0x61169E30 [main] mkdir alloc_sd: uid 1010, gid 544, attribute 41FF [main] mkdir cygpsid::debug_print: alloc_sd: owner SID = S-1-5-21-1454471165-492894223-1957994488-1010 [main] mkdir cygpsid::debug_print: alloc_sd: group SID = S-1-5-32-544 [main] mkdir alloc_sd: ACL-Size: 148 [main] mkdir alloc_sd: Created SD-Size: 212 [main] mkdir mkdir: 0 = mkdir (FOO, 511) strace snippet from 1.7.0(0.179/4/2): - [main] mkdir dll_crt0_1: user_data->main 0x4012A0 [main] mkdir __set_errno: void dll_crt0_1(void*):931 val 0 [main] mkdir normalize_posix_path: src FOO [main] mkdir cwdstuff::get: posix /usr/src2 [main] mkdir cwdstuff::get: (/usr/src2) = cwdstuff::get (0x22C750, 260, 1, 0), errno 0 [main] mkdir normalize_posix_path: /usr/src2/FOO = normalize_posix_path (FOO) [main] mkdir mount_info::conv_to_win32_path: conv_to_win32_path (/usr/src2/FOO) [main] mkdir set_flags: flags: binary (0x2) [main] mkdir mount_info::conv_to_win32_path: src_path /usr/src2/FOO, dst C:\Cygnus\cygwin\usr\src2\FOO, flags 0x80A, rc 0 __^^^ [main] mkdir symlink_info::check: 0xC034 = NtQueryAttributesFile (\??\C:\Cygnus\cygwin\usr\src2\FOO) [main] mkdir geterrno_from_win_error: windows error 2 == errno 2 [main] mkdir symlink_info::check: 0xC034 = NtQueryAttributesFile (\??\C:\Cygnus\cygwin\usr\src2\FOO.lnk) [main] mkdir geterrno_from_win_error: windows error 2 == errno 2 [main] mkdir symlink_info::check: 0 = symlink.check (C:\Cygnus\cygwin\usr\src2\FOO, 0x224520) (0x80A) [main] mkdir mount_info::conv_to_win32_path: conv_to_win32_path (/usr/src2) [main] mkdir set_flags: flags: binary (0x2) [main] mkdir mount_info::conv_to_win32_path: src_path /usr/src2, dst C:\Cygnus\cygwin\usr\src2, flags 0x80A, rc 0 [main] mkdir symlink_info::check: not a symlink [main] mkdir symlink_info::check: 0 = symlink.check (C:\Cygnus\cygwin\usr\src2, 0x224520) (0x80A) [main] mkdir path_conv::check: this->path(C:\Cygnus\cygwin\usr\src2\FOO), has_acls(1) [main] mkdir build_fh_pc: fh 0x611E4C7C [main] mkdir alloc_sd: uid 500, gid 545, attribute 41FF [main] mkdir cygsid::debug_print: alloc_sd: owner SID = S-1-5-21-1292428093-813497703-1801674531-500 (+) [main] mkdir cygsid::debug_print: alloc_sd: group SID = S-1-5-32-545 (+) [main] mkdir alloc_sd: ACL-Size: 148 [main] mkdi
Trouble installing pygtk.
List, I am trying to install pygtk. However, an attemt to configure (./configure) throws an error _could not find Python headers_. After a little searching, I found that this issue can be solved by installing python-dev on debian based systems (apt-get install python-dev). What about cygwin? I couldn't locate any similar development packages. Any pointers/tips would be appreciated. Thanks in advance. Bipin Upadhyay. http://projectbee.org -- 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/
Environment variables in bash don't get set from scripts
I'm using cygwin on XP Pro and was having no issues untill I updated some dev pacakages the other day. Now none of my shell scripts are able to SET environment variables for a session. I can "export foo=something" but my scripts can't "SET foo something". Any -deas? Thanks -scott -- Sent using BlackBerry
Wrongfully compiled code
Hello, I am trying to port eCos into my target on Cygwin environment. I am encountered next wrongfully compiled code and I am very in deep trouble. It happens when sending back TCP SYN-ACK packet to peer, and it happens in packages\net\bsd_tcpip\current\src\sys\netinet\tcp_output.c tcp_output()function. I asked eCos mailing list first, but it says it's a problem of compiler per se, I shoud ask tool chain mailing list. My target CPU is SH7709S. I installed toolchain by downloading ecos-install.tcl. That I got using next command on Cygwin. $ wget --passive-ftp ftp://ecos.sourceware.org/pub/ecos/ecos-install.tcl I checked sh-elf-gcc version and it was version 3.2.1. $ sh-elf-gcc -v Reading specs from /opt/ecos/gnutools/sh-elf/bin/../lib/gcc-lib/sh-elf/3.2.1/spe cs Configured with: /local/demonweb/tools/ecos-gnutools-v1.4/r2/sh-elf/cygwin/tar_b z2/source/gcc-3.2.1/configure --target=sh-elf --prefix=/local/demonweb/tools/eco s-gnutools-v1.4/r2/sh-elf/cygwin/tar_bz2/opt/ecos/gnutools/sh-elf --enable-langu ages=c,c++ --with-gnu-as --with-gnu-ld --with-newlib --with-gxx-include-dir=/loc al/demonweb/tools/ecos-gnutools-v1.4/r2/sh-elf/cygwin/tar_bz2/opt/ecos/gnutools/ sh-elf/sh-elf/include Thread model: single gcc version 3.2.1 My compile option is same as eCos CVS downloaded version for se77x9, cdl_option CYGBLD_GLOBAL_CFLAGS { display "Global compiler flags" flavor data no_define default_value { CYGHWR_HAL_SH_BIGENDIAN ? "-D_KERNEL -D__ECOS -mb -m3 -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -ggdb -O1 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority" : "-D_KERNEL -D__ECOS -ml -m3 -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wundef -Woverloaded-virtual -ggdb -O1 -ffunction-sections -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority" } description " This option controls the global compiler flags which are used to compile all packages by default. Individual packages may define options which override these global flags." } cdl_option CYGBLD_GLOBAL_LDFLAGS { display "Global linker flags" flavor data no_define default_value { CYGHWR_HAL_SH_BIGENDIAN ? "-mb -m3 -ggdb -nostdlib -Wl,--gc-sections -Wl,-static" : "-ml -m3 -ggdb -nostdlib -Wl,--gc-sections -Wl,-static" } description " This option controls the global linker flags. Individual packages may define options which override these global flags." } CYGHWR_HAL_SH_BIGENDIAN is valid. I attach eCos C source code,and corresponding mixed source code below. Please refer to them. I traced source code using ICE. (numbers are source line numbers) First,on line 398 hdrlen becomes 0x28.And optlen becomes 4 on line 408. Althoug it should execute 512: hdrlen += optlen; but looks it passed in C code trace. And on line | 643: m->m_len = hdrlen; -- hdrlen is still 0x28 hdrlen is 0x28,although it should be 0x2c. I could have traced same part in mixed source mode,and I discovered it was wrongfully compiled. I explain in detail after the source code. Below are C code source and corresponding mixed source(from 445 line onward in C source). -- tcp_output() C source code 383: send: 384: /* 385: * Before ESTABLISHED, force sending of initial options 386: * unless TCP set not to do any options. 387: * NOTE: we assume that the IP/TCP header plus TCP options 388: * always fit in a single mbuf, leaving room for a maximum 389: * link header, i.e. 390: * max_linkhdr + sizeof (struct tcpiphdr) + optlen <= MCLBYTES 391: */ 392: optlen = 0; 393: #ifdef INET6 394: if (isipv6) 395: hdrlen = sizeof (struct ip6_hdr) + sizeof (struct tcphdr); 396: else 397: #endif -> 398: hdrlen = sizeof (struct tcpiphdr); -- here hdrlen becomes 0x28 | 399: if (flags & TH_SYN) { | 400: tp->snd_nxt = tp->iss; | 401: if ((tp->t_flags & TF_NOOPT) == 0) { 402: u_short mss; 403: | 404: opt[0] = TCPOPT_MAXSEG; | 405: opt[1] = TCPOLEN_MAXSEG; | 406: mss = htons((u_short) tcp_mssopt(tp)); | 407: (void)memcpy(opt + 2, &mss, sizeof(mss)); | 408: optlen = TCPOLEN_MAXSEG; 409: | 410: if ((tp->t_flags & TF_REQ_SCALE) && --428,E"n,O 411: ((flags & TH_ACK) == 0 || 412: (tp->t_flags & TF_RCVD_SCALE))) { 413: *((u_int32_t *)(opt + optlen)) = htonl( 414: TCPOPT_NOP << 24 | 415: TCPOPT_WINDOW << 16 | 416:
RE: Environment variables in bash don't get set from scripts
Huh; the 'startxwin.bat' script uses "SET": @echo off SET DISPLAY=127.0.0.1:0.0 Which formally worked but now doesn't. I have to manually set DISPLAY after running the startxwin.bat script. Furthermore when I run ssh-agent.exe it is unable to set SSH_AUTH_SOCKET and SSH_AGENT_PID. -Original Message- From: Eric Blake [mailto:[EMAIL PROTECTED] Sent: January 14, 2008 18:09 To: cygwin@cygwin.com; Dixon, Scott Subject: Re: Environment variables in bash don't get set from scripts -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Dixon, Scott on 1/14/2008 4:38 PM: | I'm using cygwin on XP Pro and was having no issues untill I updated some dev pacakages the other day. Now none of my shell scripts are able to SET environment variables for a session. I can "export foo=something" but my scripts can't "SET foo something". Any -deas? Thanks [http://cygwin.com/acronyms/#PCYMTWLL] 'SET' is not bash syntax, but cmd.exe (or perhaps you were thinking of 'set' in tcsh). You were correct in using 'export' syntax for a bash script. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] volunteer cygwin bash maintainer -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHjBW384KuGfSFAYARAgMYAJ9B4v8kmRhj9OPVw6Y3WruNzI0i1gCggfc5 DZMKI07XCHAwVa5zU+Q6JwI= =ayTu -END PGP SIGNATURE- -- 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: [1.7.0 HEAD]: Cygwin no longer encoding/decoding names on managed mounts
On 14 January 2008 21:41, Nicholas Wourms wrote: > I'm not sure when this cropped up, but it happened sometime after the > great "win 9x" code purge. The problem is that the Cygwin dll no longer > decodes or encodes file/directory names on managed mounts. Isn't that the whole idea? cheers, DaveK -- Can't think of a witty .sigline today -- 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: Environment variables in bash don't get set from scripts
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Dixon, Scott on 1/14/2008 4:38 PM: | I'm using cygwin on XP Pro and was having no issues untill I updated some dev pacakages the other day. Now none of my shell scripts are able to SET environment variables for a session. I can "export foo=something" but my scripts can't "SET foo something". Any -deas? Thanks [http://cygwin.com/acronyms/#PCYMTWLL] 'SET' is not bash syntax, but cmd.exe (or perhaps you were thinking of 'set' in tcsh). You were correct in using 'export' syntax for a bash script. - -- Don't work too hard, make some time for fun as well! Eric Blake [EMAIL PROTECTED] volunteer cygwin bash maintainer -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.5 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHjBW384KuGfSFAYARAgMYAJ9B4v8kmRhj9OPVw6Y3WruNzI0i1gCggfc5 DZMKI07XCHAwVa5zU+Q6JwI= =ayTu -END PGP SIGNATURE- -- 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: [1.7.0 HEAD]: Cygwin no longer encoding/decoding names on managed mounts
> From: Dave Korn > Sent: Monday, January 14, 2008 8:25 PM > Subject: RE: [1.7.0 HEAD]: Cygwin no longer encoding/decoding > names on managed mounts > > On 14 January 2008 21:41, Nicholas Wourms wrote: > > > I'm not sure when this cropped up, but it happened sometime > after the > > great "win 9x" code purge. The problem is that the Cygwin dll no > > longer decodes or encodes file/directory names on managed mounts. > > Isn't that the whole idea? > Managed mounts? They're intended to handle names with things like ":" in them, which will choke Windows no matter what year is in its name. > cheers, > DaveK > -- > Can't think of a witty .sigline today > -- Gary R. Van Sickle -- 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: Running perl script in cron in cygwin under Windows
Macalalad, Jun wrote: > Thanks David. > Thanks again for the help You're welcome. :-) Please help someone else if/when you have the chance. Please keep this thread on the Cygwin list so other people can find it (e.g. hit "Reply to All"). > Cron works on other scripts but not with a perl script. If it's the > environment (we are running korn instead of the bash default), it > might be good to create a wrapper script in korn shell. It's been a while since I used the Korn shell, but I seem recall that it also processed a profile script for interactive logins (.profile?). You should read the Korn shell manual page to find out and/or get a copy of the O'Reilly book (I have one and it was very helpful when I was using the Korn shell): http://www.oreilly.com/catalog/korn2/index.html > Does cron use bash default profile for the login to run? That could > be the key. It's also been a while since I had to solve cron problems, but I believe cron doesn't use any shell -- it just launches whatever program and arguments you feed it (via one of the exec() calls?). So if you want to run shells, scripts, etc., you have to do whatever set up your code expects. HTH, David -- 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: need help with bash -c with cygpath
On 2008-01-11, Jay wrote: > Thanks everyone for the help. Since i'm getting the path from the registry i > can't add in the extra backslashes without using sed. I ended up with this > registy key which seems to work for local drives as well as network drives > (UNCs) (haven't tested files with special characters). Something I used to work around this problem was to have Windows invoke a bat file and have that bat file invoke bash. The key, though, suggested in this list some time ago, is to add "noglob" to the CYGWIN environment variable in the bat file, so that the bat file can pass the file name, directory name, or network path given to it by Windows to the bash command unchanged. E.g., set cygwin_save=%CYGWIN% set CYGWIN=%CYGWIN% noglob C:\cygwin\bin\rxvt.exe -e C:/cygwin/bin/bash --login -c "run_bash_here "'%1'" "'%cygwin_save%' where run_bash_here is a function defined in ~/.bashrc that contains, among other things, # Restore original value of CYGPATH. # CYGWIN="$2" Regards, Gary -- 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: How can I run a script?
>Now all I have to do is setup in windoze scheduler and move about 30GB of data. >btb And you are not using cron because of what reason? The Windblows scheduler is a royal pain. With cron you are done in a matter of moments. MB -- e-mail: [EMAIL PROTECTED]/~\ The ASCII [I've been to Earth. I know where it is. ] \ / Ribbon Campaign [And I'm gonna take us there.Starbuck 3/25/07] X Against Visit - URL: http://vidiot.com/ / \ HTML 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/