Re: multiple cygwin1.dll message
Hi John, On 26/05/07, John wrote: 602k 2005/06/26 C:\WINDOWS\system32\cygwin1.dll - os=4.0 img=1.0 sys=4.0 "cygwin1.dll" v0.0 ts=2005/5/25 19:38 First you need to do two things before, moving on to the cygwin1.dll issue. 1. Remove g77. This is causing issues with Cygwin. Cygwin has g77 as a package anyway, so you will not need as separate installation. 2. Remove the second instance of 'C:\Cygwin\bin' in your path. This is just causing the system to look in that path twice, instead of once only. Now, about the Cygwin1.dll issue. Have you looked in C:\Windows\System32 for the dynamic library link file itself? Hugh -- 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: multiple cygwin1.dll message
--- Thorsten Kampe ha scritto: > A: cygwin@cygwin.com > Da: Thorsten Kampe > Oggetto: Re: multiple cygwin1.dll message > Data: Wed, 25 May 2005 22:51:24 +0100 syncronization in the past ? > > * John (Fri, 25 May 2007 13:07:23 -0400) > Two years without updates? Now that's severely > broken... Marco ___ L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail: http://it.docs.yahoo.com/nowyoucan.html -- 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/
Minimal deployment
Hi, I hope this is the right place to ask; if not feel free to flame ;) I wish to deploy a minimal cygwin to allow the use of cygwin's version perl. What is the minimal fileset I need to deploy? Thanks Simon -- 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: problem concating (>>) to a large file
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 http://cygwin.com/acronyms/#PPIOSPE - redirecting to the list According to Peter Milne on 5/25/2007 9:55 PM: > Hi Eric > > Thanks for responding to my query. > > Brian Dessent also responded. He suggested using the following command: > > dd if=B of=A bs=64k conv=notrunc oflag=append > > but this gave the same result as >>, that is, it stuck the contents of file > B at the front of A rather than at the end. If that happened, it is a different bug, since dd does not go through the stdio library, therefore does not see the bug in stdout being in 32-bit mode instead of 64-bit mode. Exactly how big are a and b? I'd like to try to reproduce this, and observe what strace has to say about it, because I agree with Brian that it should work. > It looks like dd is broken in > this respect in the current version of cygwin. I wonder if dd will come > good in 1.70.0 too? Do you have any idea when 1.70.0 will be released? 1.70.0? Not for many, many more years (after all, the 1.5.x series lasted for several years). :) 1.7.0, on the other hand, might be released this year, once it is ready. But in classic open source mindset, the release will be sooner if you help. - -- 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 iD8DBQFGWC8r84KuGfSFAYARAqZPAKCbA1hzqmf7tZBwwsgmNf+Q1358SACfT8ze fpNDzc7Zn40vc9I3SkGb08w= =/ilm -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: [Spam?]Re: problem concating (>>) to a large file
Hi Eric B is 71.8 Mbytes and and according to ls A (actually data.dat) is: -rw-r--r-- 1 trader None 4540030014 May 26 12:00 data.dat I'm running the latest version of cygwin. I hope you are able to reproduce the problem with dd using this information. Cheers Peter -Original Message- From: Eric Blake [mailto:[EMAIL PROTECTED] Sent: Saturday, 26 May 2007 10:59 PM To: Peter Milne; cygwin@cygwin.com Subject: [Spam?]Re: problem concating (>>) to a large file -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 http://cygwin.com/acronyms/#PPIOSPE - redirecting to the list According to Peter Milne on 5/25/2007 9:55 PM: > Hi Eric > > Thanks for responding to my query. > > Brian Dessent also responded. He suggested using the following command: > > dd if=B of=A bs=64k conv=notrunc oflag=append > > but this gave the same result as >>, that is, it stuck the contents of file > B at the front of A rather than at the end. If that happened, it is a different bug, since dd does not go through the stdio library, therefore does not see the bug in stdout being in 32-bit mode instead of 64-bit mode. Exactly how big are a and b? I'd like to try to reproduce this, and observe what strace has to say about it, because I agree with Brian that it should work. > It looks like dd is broken in > this respect in the current version of cygwin. I wonder if dd will come > good in 1.70.0 too? Do you have any idea when 1.70.0 will be released? 1.70.0? Not for many, many more years (after all, the 1.5.x series lasted for several years). :) 1.7.0, on the other hand, might be released this year, once it is ready. But in classic open source mindset, the release will be sooner if you help. - -- 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 iD8DBQFGWC8r84KuGfSFAYARAqZPAKCbA1hzqmf7tZBwwsgmNf+Q1358SACfT8ze fpNDzc7Zn40vc9I3SkGb08w= =/ilm -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: multiple cygwin1.dll message
On Sat, May 26, 2007 at 02:14:47AM -0400, John wrote: >John wrote: >> 602k 2005/06/26 C:\WINDOWS\system32\cygwin1.dll - os=4.0 img=1.0 sys=4.0 >> "cygwin1.dll" v0.0 ts=2005/5/25 19:38 > >I just noticed this line in the output. However, a Windows search and >a cygwin find does not find this file!!! I swear! Two non-cygwin applications (setup.exe and cygcheck.exe) have told you that the dll exists. Have you tried just visiting the folder with Explorer and deleting the DLL??? These applications are not doing anything special to find this file so if they say there is a file in c:\windows\system32 there is a file there. -- 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: multiple cygwin1.dll message
On Sat, May 26, 2007 at 10:58:59AM -0400, Christopher Faylor wrote: >On Sat, May 26, 2007 at 02:14:47AM -0400, John wrote: >>John wrote: >>> 602k 2005/06/26 C:\WINDOWS\system32\cygwin1.dll - os=4.0 img=1.0 sys=4.0 >>> "cygwin1.dll" v0.0 ts=2005/5/25 19:38 >> >>I just noticed this line in the output. However, a Windows search and >>a cygwin find does not find this file!!! I swear! > >Two non-cygwin applications (setup.exe and cygcheck.exe) have told you >that the dll exists. Have you tried just visiting the folder with >Explorer and deleting the DLL??? These applications are not doing >anything special to find this file so if they say there is a file in >c:\windows\system32 there is a file there. And as an additional thought, before you swear that Explorer says that the dll isn't there too, you can try using the windows cmd.exe shell to delete the file: c:\> del C:\WINDOWS\system32\cygwin1.dll -- 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: multiple cygwin1.dll message
Christopher Faylor wrote: > On Sat, May 26, 2007 at 02:14:47AM -0400, John wrote: >> John wrote: >>> 602k 2005/06/26 C:\WINDOWS\system32\cygwin1.dll - os=4.0 img=1.0 sys=4.0 >>> "cygwin1.dll" v0.0 ts=2005/5/25 19:38 >> I just noticed this line in the output. However, a Windows search and >> a cygwin find does not find this file!!! I swear! > Two non-cygwin applications (setup.exe and cygcheck.exe) have told you > that the dll exists. Have you tried just visiting the folder with > Explorer and deleting the DLL??? These applications are not doing > anything special to find this file so if they say there is a file in > c:\windows\system32 there is a file there. There is also the possiblity that this Cygwin-DLL got some hidden-attributes set and is not visible in a Explorer with the default settings. Kai -- 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: multiple cygwin1.dll message
* Marco Atzeri (Sat, 26 May 2007 10:58:30 +0200 (CEST)) > --- Thorsten Kampe ha scritto: > > A: cygwin@cygwin.com > > Da: Thorsten Kampe > > Oggetto: Re: multiple cygwin1.dll message > > Data: Wed, 25 May 2005 22:51:24 +0100 > > > syncronization in the past ? Cluelessness in an Internet Café - nothing I could do about that...I -- 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: multiple cygwin1.dll message
Got it! I finally got rid of c:\windows\system32\cygwin1.dll by cd-ing there in cygwin, seeing it (finally!) and deleting it. It wouldn't delete because it was write protected, but it prompted me for Y/N, and Y got rid of it. (perhaps the developers could add this test/prompt during normal upgrade/installs when it prompts for deleting it? Would have saved the day for me!). Anyway, a Windows search did not find it, I didn't visually see it in the directory, and my cygwin "find" I may have missed the filesystem in cygwin's nomenclature. But it did seem to be "hidden" in Windows. Thanks to all who helped! I upgraded to the latest cygwin versions too. And rebooted. I see I can now make C and Fortran programs again. However, my Bourne shell script has broken. Sigh. If I can't figure that out I'll post a new query. Thanks, John Kai Raphahn wrote: Christopher Faylor wrote: On Sat, May 26, 2007 at 02:14:47AM -0400, John wrote: John wrote: 602k 2005/06/26 C:\WINDOWS\system32\cygwin1.dll - os=4.0 img=1.0 sys=4.0 "cygwin1.dll" v0.0 ts=2005/5/25 19:38 I just noticed this line in the output. However, a Windows search and a cygwin find does not find this file!!! I swear! Two non-cygwin applications (setup.exe and cygcheck.exe) have told you that the dll exists. Have you tried just visiting the folder with Explorer and deleting the DLL??? These applications are not doing anything special to find this file so if they say there is a file in c:\windows\system32 there is a file there. There is also the possiblity that this Cygwin-DLL got some hidden-attributes set and is not visible in a Explorer with the default settings. Kai -- 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: multiple cygwin1.dll message
On Sat, May 26, 2007 at 12:17:01PM -0400, John wrote: >I finally got rid of c:\windows\system32\cygwin1.dll by cd-ing there in >cygwin, seeing it (finally!) and deleting it. It wouldn't delete >because it was write protected, but it prompted me for Y/N, and Y got >rid of it. (perhaps the developers could add this test/prompt during >normal upgrade/installs when it prompts for deleting it? Would have >saved the day for me!). Anyway, a Windows search did not find it, I >didn't visually see it in the directory, and my cygwin "find" I may >have missed the filesystem in cygwin's nomenclature. But it did seem >to be "hidden" in Windows. So to recap: 1) There was no reason to do a Windows search since two tools told you exactly where the offending DLL was. 2) You didn't need to use Cygwin to get rid of it. Any windows tool would have sufficed. 3) You previously installed a poorly-behaved 3PP which installed cygwin1.dll in a non-recommended location and then compounded the problem by hiding it. The Cygwin DLL in c:\windows\system32 was not placed there by any official cygwin package. >However, my Bourne shell script has broken. Sigh. If I can't figure >that out I'll post a new query. My crystal ball says that you probably have \r\n line endings in some shell script. You can install dos2unix to eliminate these. 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/
Setting $HOME ?
I was running CygWin for a while and all was nice. One day, I ran CygWin and it did not start me in the correct $HOME directory. Checking env, both $HOME and $HOMEPATH are wrong. How are those set? Manually setting the two in the cygwin.bat doesn't get it to run %HOMEPATH%/.bashrc on login. Changing the chdir in the batch file fixes $HOME but not $HOMEPATH and also doesn't get .bashrc to run. Tried `id -un` and checking etc/passwd. Looks right. Any ideas? Thanks! -- 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/
echo with no line feed
I can't get: #! /bin/sh echo "Type file name: \c" read FNAME echo $FNAME # to work without the line feed (using " or ' quotes in the echo). Any tips? Thanks, John -- 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: echo with no line feed
You mean preventing it from printing a newline? Try this: echo -n "Type file name: \c" (From Google -> man echo) On 5/26/07, John <[EMAIL PROTECTED]> wrote: I can't get: #! /bin/sh echo "Type file name: \c" read FNAME echo $FNAME # to work without the line feed (using " or ' quotes in the echo). Any tips? Thanks, John -- 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/ -- - Yitzchok Good -- 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: multiple cygwin1.dll message
On Sat, May 26, 2007 at 11:30:24PM -0400, John wrote: >Christopher Faylor wrote: >>>However, my Bourne shell script has broken. Sigh. If I can't figure >>>that out I'll post a new query. >> >>My crystal ball says that you probably have \r\n line endings in some shell >>script. You can install dos2unix to eliminate these. >> >>cgf > >Sounds likely as it was file name building that I noticed broken and >adding -x to trace the script showed \r's in the middle of my >filenames as I recall. But I immediately downgraded to the previous >version and it started working again. > >Is this a known change between the current and the previous cygwin >versions? So, you actually think I'm psychic? Cool. >But when I run my script with a lot of data to process, or repeatedly >run shorter ones, I soon run out of resources and fork fails, and it >kills Zone Alarm, which does start up again, but cygwin remains wounded >until I reboot. It seems like something is allocating resources or >processes and not releasing them, and when I hit some magic maximum >it all falls apart. > >Attached is the output I see when the script goes bad. Any suggestions >on this one? Yeah, don't use ZoneAlarm. 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: Setting $HOME ?
Isaac Good wrote: > I was running CygWin for a while and all was nice. > One day, I ran CygWin and it did not start me in the correct $HOME > directory. > Checking env, both $HOME and $HOMEPATH are wrong. How are those set? > > Manually setting the two in the cygwin.bat doesn't get it to run > %HOMEPATH%/.bashrc on login. > > Changing the chdir in the batch file fixes $HOME but not $HOMEPATH and > also doesn't get .bashrc to run. > > Tried `id -un` and checking etc/passwd. Looks right. See '/etc/profile' for a description of where Cygwin looks to set HOME. -- 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/
Re: multiple cygwin1.dll message
On 05/26/2007, John wrote: > Sounds likely as it was file name building that I noticed broken and > adding -x to trace the script showed \r's in the middle of my > filenames as I recall. But I immediately downgraded to the previous > version and it started working again. > > Is this a known change between the current and the previous cygwin > versions? A quick read of any of the recent bash release announcements on the Cygwin announce list would answer this question (i.e. yes). -- 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/
Re: echo with no line feed
John wrote: > I can't get: > > #! /bin/sh > echo "Type file name: \c" > read FNAME > echo $FNAME > # > > to work without the line feed (using " or ' quotes > in the echo). Any tips? Please don't commandeer another thread for your own purposes. Replying to another thread and changing the subject doesn't start a new thread. If you have a question that's not related to a current thread, please just start a new one. I think Isaac has answered your question. If not, please send any follow-up in a new thread. -- 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/
Re: echo with no line feed
Oops. Sorry for replying. Just joined the mail group and it was the first email I got... On 5/27/07, Larry Hall (Cygwin) <[EMAIL PROTECTED]> wrote: John wrote: > I can't get: > > #! /bin/sh > echo "Type file name: \c" > read FNAME > echo $FNAME > # > > to work without the line feed (using " or ' quotes > in the echo). Any tips? Please don't commandeer another thread for your own purposes. Replying to another thread and changing the subject doesn't start a new thread. If you have a question that's not related to a current thread, please just start a new one. I think Isaac has answered your question. If not, please send any follow-up in a new thread. -- 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/ -- 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/