gcc installation problem: cygwin 1.15.13-1
Hi, I have downloaded the setup.exe file for the above release. While trying to install, i chose the packages by hand, which also includes gcc-core, and g++. While i try to use gcc, however, the shell cribs by saying: gcc: installation problem, cannot execute 'cc1': no such file or directory. I tried to look at mail archives, but could not get much help. I tried to check status using cygcheck(cygcheck -c gcc), the package information is blank. I did a find, and i could see cc1plus.exe sitting in /usr/lib/gcc/i686-pc-cygwin/3.4.1/cc1plus.exe. I looked in the Cygwin package list on the homepage, and found that the file is supposed to be there as part of gcc-core package 3.4.1-1, sitting as usr/lib/gcc/i686-pc-cygwin/3.4.1/cc1.exe Can somebody help me with the problem? Regards Hrishi. Send instant messages to your online friends http://uk.messenger.yahoo.com -- 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: Hyperthreaded machine and cygwin
Hi, I want to insist on Earl message because I have seen no answer and I think it is very similar (if not equal) to the problem I related in cygwin Issue 4105: "env command seems to take all CPU". Since then I had the same problem again occurring sometime with a "stucked" Perl script: its execution was finished and it did not want to "really" end because its header was "#!/usr/bin/env perl" and the "env" command was stucked. I had to kill the "env" process with the Windows task manager and Perl script did then end normally. I tried to reproduce it in a systematic way with no success. Best regards, Yves -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of [EMAIL PROTECTED] Sent: Friday, March 11, 2005 3:13 PM To: cygwin@cygwin.com Subject: cygwin Digest 11 Mar 2005 14:12:41 - Issue 4144 -Original Message- From: Earl Chew [mailto:[EMAIL PROTECTED] Sent: Friday, March 11, 2005 1:39 AM To: cygwin@cygwin.com Subject: Hyperthreaded machine and cygwin I'd like some guidance or suggestions as to how to debug a problem that I suspect has to do with my hyperthreaded cpu machine. The symptom is that I have two build scripts executing. The scripts traverse directories, use make, bash, sh, perl, etc. I have two hyperthreaded cpus running XP, and very quickly the PC locks with 25% of the time spent running some cygwin application (mostly sh.exe, but once it was perl.exe). Once the machine locks, it's unusable, though it continues to spin on the stuck application. The only way I can recover is to power cycle the machine. I've tried cygwin-1.5.12 and cygwin.1.5.13-1. Earl -- 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/
./configure
I am a newbie for cygwin.When I try to typed ./configure, it shows that. "$ ./configure" "bash: ./configure: No such file or directory" Is there missing some packages of cygwin? Thanks for your help -- 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/
Problem associating scripts with cygwin
I've written a very simple shell script to perform system backups, this works just fine from a full cygwin command line and if I drop it onto a windows shortcut to "E:\cygwin\bin\bash.exe --login", but if I associate shell scripts (.sh) with this shortcut windows gives the error "backup.sh is not a valid Win32 application." so, any ideas? -- 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: ./configure
Donald wrote: I am a newbie for cygwin.When I try to typed ./configure, it shows that. "$ ./configure" "bash: ./configure: No such file or directory" Is there missing some packages of cygwin? Thanks for your help where are you running that command from? Most likely, you won't find a configure file in home, unless you've deliverately put one there. what are you trying to configure? -- Paulo -- 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: building HTML-Parser-3.xx (SOLVED)
gcc solved it! MinGW was in the way. Thank you! I appreciate it. Alejandro Alejandro Calbazana wrote: Thanks for the reply. No. Removing the LIB environment variable did not help. However, I did notice the gcc IS using the MinGW version. $ which make /usr/bin/make $ which gcc /cygdrive/c/MinGW/bin/gcc How does one make sure that they are not using the MinGW version and why might this make a difference? Thanks, Alejandro Yitzchak Scott-Thoennes wrote: On Fri, Mar 11, 2005 at 09:09:13AM -0500, Alejandro Calbazana wrote: Hello, I am still having problems building HTML-Parser-3.45 under cygwin. For some reason EXTERN.h can not be found when compiling. However, EXTERN.h is in the include path. This occurs on HTML-Parser versions higher than 2.25. Versions > 2.25 include various .c and .xs files and each version 2.25 fails for the same reason. Would someone be kind enough to try and build the 3.45 package under cygwin? I would be interested in how this turns out. If anyone has any hints, I would really like to run my perl scripts under cygwin. Cygcheck is attached as well as the full error dump. Did removing the LIB environment variable, as Gerrit had suggested, help? Can you do: which make which gcc and make sure you aren't using the MinGW versions? -- 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/ -- 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: snapshot not stripped
At 12:09 AM 3/14/2005, you wrote: >This is just a curiosity question. When did the cygwin >snapshot dll's quit being stripped? The change happened in the last couple of months or so. The point was to help out those who would be willing to help track down problems they find without necessarily forcing them to build the DLL. The discussion is in the email archives if you're looking for more details on this. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- 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: ./configure
Paulo Sequeira racsa.co.cr> writes: > > Donald wrote: > > I am a newbie for cygwin.When I try to typed ./configure, it shows that. > > > > "$ ./configure" > > "bash: ./configure: No such file or directory" > > > > Is there missing some packages of cygwin? > > > > Thanks for your help > > > > where are you running that command from? Most likely, you won't find a > configure file in home, unless you've deliverately put one there. > > what are you trying to configure? > I have typed "./configure" under /usr/src I try to install a program but I don't have any experience on compiling a program. :( The readme of the program said : Build - Goto the "src" directory and run "./configure". When this finishs successfully, run "make". But when I typed "./configure" , "bash: ./configure: No such file or directory" -- 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: ./configure
On Mon, 14 Mar 2005 15:32:28 + (UTC), Donald wrote: >Paulo Sequeira racsa.co.cr> writes: >> >> Donald wrote: >> > I am a newbie for cygwin.When I try to typed ./configure, it shows that. >> > >> > "$ ./configure" >> > "bash: ./configure: No such file or directory" >> > >> > Is there missing some packages of cygwin? >> > >> > Thanks for your help >> > >> >> where are you running that command from? Most likely, you won't find a >> configure file in home, unless you've deliverately put one there. >> >> what are you trying to configure? >> >I have typed "./configure" under /usr/src >I try to install a program but I don't have any experience on compiling a >program. :( >The readme of the program said : >Build >- >Goto the "src" directory and run "./configure". When this finishs >successfully, run "make". >But when I typed "./configure" , >"bash: ./configure: No such file or directory" The problem would be one of interpreting the readme. When they say "go to the src directory", the readme is referring to the source directory of the package you are trying to build. Which is probably under /usr/src. So, if you have a tarball, foo.tar.gz, then, when you expand it in /usr/src, it would produce some directory /usr/src/foo, or possibly /usr/src/foo-x.y.z where x.y.z is a revision. Then you would cd down into /usr/src/foo, and run ./configure WITHIN /usr/src/foo. this would do all it's work, and then you would run make and build your package. >-- >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: ./configure
Donald wrote: Paulo Sequeira racsa.co.cr> writes: Donald wrote: I am a newbie for cygwin.When I try to typed ./configure, it shows that. "$ ./configure" "bash: ./configure: No such file or directory" Is there missing some packages of cygwin? Thanks for your help where are you running that command from? Most likely, you won't find a configure file in home, unless you've deliverately put one there. what are you trying to configure? I have typed "./configure" under /usr/src I try to install a program but I don't have any experience on compiling a program. :( The readme of the program said : Build - Goto the "src" directory and run "./configure". When this finishs successfully, run "make". But when I typed "./configure" , "bash: ./configure: No such file or directory" well, I'm guessing you just got the tarball (the tar.gz file) and extracted its contents somewhere (say, /tmp/foo). I bet that you'll see a src directory under /tmp/foo and that the "src" directory the readme is referring to is precisely that one, and not /usr/src. Try running ./configure from /tmp/foo/src and see what happens. Paulo -- 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: ./configure
Paulo Sequeira wrote: Donald wrote: Paulo Sequeira racsa.co.cr> writes: Donald wrote: I am a newbie for cygwin.When I try to typed ./configure, it shows that. "$ ./configure" "bash: ./configure: No such file or directory" Is there missing some packages of cygwin? Thanks for your help where are you running that command from? Most likely, you won't find a configure file in home, unless you've deliverately put one there. what are you trying to configure? I have typed "./configure" under /usr/src I try to install a program but I don't have any experience on compiling a program. :( The readme of the program said : Build - Goto the "src" directory and run "./configure". When this finishs successfully, run "make". But when I typed "./configure" , "bash: ./configure: No such file or directory" well, I'm guessing you just got the tarball (the tar.gz file) and extracted its contents somewhere (say, /tmp/foo). I bet that you'll see a src directory under /tmp/foo and that the "src" directory the readme is referring to is precisely that one, and not /usr/src. Try running ./configure from /tmp/foo/src and see what happens. Paulo FWIW, Mark's suggestion of using /usr/src/foo is better than /tmp/foo Paulo -- 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: update: gsl-1.6
Teun Burgers wrote: Version 1.6 of the GSL (GNU Scientific Library), released January 2005, is now available as a binary package. This replaces the current 1.5 version. The homepage for the GSL is http://www.fsf.org/software/gsl/ This link is now http://www.gnu.org/software/gsl/ Steve -- 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/
MVFS owner/group & permissions
Hello all, I've got one question regarding the use of ClearCase MVFS filesystem under cygwin. I've searched the archive but so far with no clue to solve my problem (it might be a feature wish). Is it possible to have the ClearCase owner group and permissions listed while listing the catalog/file on MVFS filesystem (this is the behaviour under unix but not under cygwin)? If not currently then what would be required to obtain this functionality? Right now I've got my local id and group substituted with permissions computed according to my local umask (this is what I observe at least). Best regards Andrzej -- 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/
Trouble with NFS
I attempted to get NFS working following the directions in the Cygwin documentation. When I tried to start portmap (cygrunsrv -S portmap), I got: cygrunsrv: Error starting a service: QueryServiceStatus: Win32 error 1053: The service did not respond to the start or control request in a timely fashion. Now portmap is listed as "Starting" according to Windows Services, and it seems to be impossible to either complete its startup or end it. In desperation I tried to uninstall NFS and reboot but portmap refuses to go away. Any suggestions as to where to go from here? There doesn't seem to be any useful information in the logs. - Will begin 644 cygcheck.out M#0I#>6=W:[EMAIL PROTECTED])A=&EO;B!$:6%G;F]S=&EC[EMAIL PROTECTED]&[EMAIL PROTECTED]($UA6=W:6Y<=7-R7&%U=&]T;V]L7'-T86)L M95QB:6X-"@E#.EQC>6=W:6Y<=7-R7&QO8V%L7&)I;@T*"4,Z7&-Y9W=I;EQB M:6X-"@E#.EQC>6=W:6Y<8FEN#0H)0SI<8WEG=VEN7'5S&[EMAIL PROTECTED]&YO;G1S96,I#0I5240Z(#(X.#`S*'=B<"D@("`@("`@("`@ M1TE$.B`Q,#4Q,RA$;VUA:[EMAIL PROTECTED]7-T96TS,@T*5VEN1&ER.B!# M.EQ724Y$3U=3#0H-"D-91U=)3B`](&!S97)V97(@;F]T&4G#0I&4$1?1$(@/[EMAIL PROTECTED],O=V)P+V1A=&$O M<'9N9V9P9&(N9&%T)PT*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-"XP#0H@("`@("`@("`@("`@("`@("`B8WEG9&(M-"XR M+F1L;"(@=C`N,"!T7,]-"XP#0H@("`@("`@("`@("`@("`@("`B8WEG9&)?8WAX M+3,N,2YD;&PB('[EMAIL PROTECTED]',],C`P,B\W+S(T(#$R.C(U#0H@,3`X,&L@,C`P M,R\P.2\R,"!#.EQC>6=W:6Y<8FEN7&-Y9V1B7V-X>"TT+C$N9&QL("T@;W,] M-"XP(&EM9STQ+C`@"TT+C$N9&QL(B!V,"XP('1S/3(P,#,O.2\R,"`Q-SHU,PT*(#$Q-39K M(#(P,#0O,#0O,C@@0SI<8WEG=VEN7&)I;EQC>6=D8E]C>'@M-"XR+F1L;"`M M(&]S/30N,"!I;6<],2XP('-Y6=D8E]C>'@M-"XR+F1L;"(@=C`N,"!T7,]-"XP#0H@("`@("`@("`@("`@("`@("`B M8WEG97AP870M,"YD;&PB('[EMAIL PROTECTED]',],C`P-"\Q,"\Q-"`T.C,T#0H@("`V M-6L@,C`P-2\P,2\P."
RE: Trouble with NFS
> I attempted to get NFS working following the directions in the Cygwin > documentation. When I tried to start portmap (cygrunsrv -S > portmap), I got: > > cygrunsrv: Error starting a service: QueryServiceStatus: > Win32 error 1053: > The service did not respond to the start or control request > in a timely fashion. Will, You want to start portmap with the '-F' flag - take a look at the /bin/nfs-server-config script for an example. If you can back out your changes (uninstall portmap, etc. as services) and run the nfs-server-config script, that should put you in a working state (or at least, closer to a working state...) -Samrobb -- 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: MVFS owner/group & permissions
On Mon, 14 Mar 2005, Andrzej Ostruszka wrote: > Hello all, > > I've got one question regarding the use of ClearCase MVFS filesystem > under cygwin. I've searched the archive but so far with no clue to > solve my problem (it might be a feature wish). > > Is it possible to have the ClearCase owner group and permissions listed > while listing the catalog/file on MVFS filesystem (this is the behaviour > under unix but not under cygwin)? If not currently then what would be > required to obtain this functionality? > > Right now I've got my local id and group substituted with permissions > computed according to my local umask (this is what I observe at least). First question: do you have both "ntsec" and "smbntsec" on? If not, adding "smbntsec" to your CYGWIN environment variable may be all that's needed. If you *do* have it set, does Windows show different owner and permissions via pure Windows means (i.e., the "Advanced" security properties in Windows Explorer)? Basically, Cygwin can only do as much as the underlying Windows permits it to. If the underlying Windows doesn't recognize MVFS owner and attributes, it's unlikely that Cygwin will. If Windows does show the correct permissions and Cygwin doesn't (and "ntsec/smbntsec" are both on), it's probably a bug, and will have to be debugged/fixed (if it can't be reproduced by the Cygwin developers, you'll need to help in debugging it on your machine). HTH, Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_[EMAIL PROTECTED] ZZZzz /,`.-'`'-. ;-;;,_[EMAIL PROTECTED] |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski, Ph.D. '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! "The Sun will pass between the Earth and the Moon tonight for a total Lunar eclipse..." -- WCBS Radio Newsbrief, Oct 27 2004, 12:01 pm EDT -- 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/
WIN32 symbol on cygwin
Hi.. I am using cygwin on WinXP. How can I use WIN32 symbol (or simething similar)? Because I use gcc, WIN32 symbol is not defined. 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/
Re: Trouble with NFS
Robb, Sam wrote: >> I attempted to get NFS working following the directions in the Cygwin >> documentation. When I tried to start portmap (cygrunsrv -S >> portmap), I got: >> >> cygrunsrv: Error starting a service: QueryServiceStatus: >> Win32 error 1053: >> The service did not respond to the start or control request >> in a timely fashion. > > You want to start portmap with the '-F' flag - take a look > at the /bin/nfs-server-config script for an example. If you > can back out your changes (uninstall portmap, etc. as services) > and run the nfs-server-config script, that should put you in > a working state (or at least, closer to a working state...) > I think I *did* use the -F option - I was following the directions in the nfs-server README. In any case, I am now unable to get back to a clean state. Running 'cygrunsrv -E portmap' comes back with the same message "Error stopping service &c.", and now portmap appears under Window Services with status "Stopping". As I stated, uninstalling didn't work - setup reports nfs-server as not being installed, but portmap.exe still shows up in /usr/sbin (perhaps because it's in use?). - Will -- 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: Trouble with NFS
> > You want to start portmap with the '-F' flag - take a look > > at the /bin/nfs-server-config script for an example. If you > > can back out your changes (uninstall portmap, etc. as services) > > and run the nfs-server-config script, that should put you in > > a working state (or at least, closer to a working state...) > > > I think I *did* use the -F option - I was following the directions in > the nfs-server README. In any case, I am now unable to get back to a > clean state. Running 'cygrunsrv -E portmap' comes back with the same > message "Error stopping service &c.", and now portmap appears under > Window Services with status "Stopping". As I stated, uninstalling > didn't work - setup reports nfs-server as not being installed, but > portmap.exe still shows up in /usr/sbin (perhaps because it's > in use?). Uninstalling nfs-server wouldn't uninstall portmap - that's part of the sunrpc package, not the nfs-server package. You may need to kill the portmap process in order to uninstall sunrpc properly, if it's running and not responding to service control commands. Once it's killed, if cygrunsrv can't remove the service entry, you may need to excise it by hand (via regedit). -Samrobb -- 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: WIN32 symbol on cygwin
At 01:33 PM 3/14/2005, you wrote: >Hi.. I am using cygwin on WinXP. How can I use WIN32 symbol (or >simething similar)? Because I use gcc, WIN32 symbol is not defined. >Thanks! You need to be more specific about what you're trying to do. If you're using Cygwin's gcc, it's unlikely that you want to define 'WIN32'. If you think this is what you want, you most likely want to use 'gcc -mno-cygwin', which essentially gets you the same thing as you would get from using gcc as offered by Mingw (www.mingw.org). This will define 'WIN32' by default. It will also not link in 'cygwin1.dll' so you will loose POSIX compatibility. If you *must* define 'WIN32' but still use Cygwin's gcc without '-mno-cygwin', then define it on the command line to gcc, just like any other symbol you'd define at compile time. -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- 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/
up2date
Hi all. Is there anything like up2date that will keep my cygwin packages updated to the most current? If not is there a reason no one ports one over? Thanks troy -- 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: ./configure
configure scripts come with a specific package or source you are trying to compile. Usually these packages come in a .tar.gz or .bz2 file. After extracting this, in the directory there may be a configure script which would be executed by running ./configure and this would optimize the make settings and other options for your system (in this case cygwin). If there is no configure file, then just try typing make as the package doesnt contain one. On Mon, 14 Mar 2005 09:06:32 -0600, Paulo Sequeira <[EMAIL PROTECTED]> wrote: > Donald wrote: > > I am a newbie for cygwin.When I try to typed ./configure, it shows that. > > > > "$ ./configure" > > "bash: ./configure: No such file or directory" > > > > Is there missing some packages of cygwin? > > > > Thanks for your help > > > > where are you running that command from? Most likely, you won't find a > configure file in home, unless you've deliverately put one there. > > what are you trying to configure? > > -- > Paulo > > > -- > 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: up2date
At 06:55 PM 3/14/2005, you wrote: >Hi all. Is there anything like up2date that will keep my cygwin packages >updated to the most current? That would be 'setup.exe', the same program you used to install Cygwin in the first place. >If not is there a reason no one ports one over? Lack of volunteers seems to be the biggest reason... -- Larry Hall http://www.rfk.com RFK Partners, Inc. (508) 893-9779 - RFK Office 838 Washington Street (508) 893-9889 - FAX Holliston, MA 01746 -- 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.5.13-1 rsync data corruption
I'm trying to use rsync/ssh under Cygwin 1.5.13-1 to backup my Windows box to my Linux box. The initial (full) backup works great, but subsequent incremental backups fail on certain large files when compression (-z) is enabled. So far, the problem only appears when making incremental backups of VMware virtual disk images. Note that these images are large (exactly 4G each), somewhat sparse (lots of zeroed sectors) and VMware is *not* running during the backup. I've reproduced the problem when backing up from my Windows box to my P4 desktop (running Fedora Core 3 with all updates), and from my Windows box to my Kuro box (a small embedded PPC system running a hacked-up 2.4 kernel). I have (so far) been unable to reproduce the problem when backing up the exact same files between these two Linux boxes. I've focused the test case so that I don't have to backup my entire system to duplicate the problem, which appears to be easily reproducible. For the full backup, I execute: rsync -aPvz /cygdrive/d/test/ \ abstruse:/usr/backup/test.full This works as expected. Next, I run VMware briefly so the disk image will get "slightly" modified, then I perform the incremental backup: rsync -aPvz /cygdrive/d/test/ \ --link-dest=/usr/backup/test.full \ abstruse:/usr/backup/test.inc This produces a "failed verification" message from rsync. My /cygdrive/d/test/ directory contains two small Perl scripts and a one of the 4G disk images. The form of the data corruption is interesting. The resulting file (on the server) is *mostly* correct. However, a small number (150 or so) blocks of data have a single 0xED byte where they should have 0x00. This appears to always happen at the end of a 0x200 byte block. On my last test run, the first byte of corruption was pretty far into the file -- at the end of the 1,177,356th 1024-byte block. Omitting the "-z" switch to rsync appears to mask the problem. I've tried unsuccessfully to reproduce the problem using a 4G random file (dd if=/dev/urandom of=foo bs=1K count=4M). This makes me suspect the problem is some data sensitivity in the compression library. If there is any information I can provide, or any other tests I an try, please let me know. KM Cygwin Configuration Diagnostics Current System Time: Mon Mar 14 14:35:39 2005 Windows XP Professional Ver 5.1 Build 2600 Service Pack 2 Path: D:\cygwin\usr\local\bin D:\cygwin\bin D:\cygwin\bin D:\cygwin\usr\X11R6\bin D:\cygwin\bin c:\Program Files\Windows Resource Kits\Tools\ c:\Program Files\Debugging Tools for Windows c:\WINDOWS\system32 c:\WINDOWS c:\WINDOWS\System32\Wbem d:\local\bin d:\local\other c:\SDK\bin c:\ddk\tools\bin c:\Program Files\Executive Software\Diskeeper\ Output from D:\cygwin\bin\id.exe (nontsec) UID: 1003(keithmo) GID: 513(None) 513(None) Output from D:\cygwin\bin\id.exe (ntsec) UID: 1003(keithmo) GID: 513(None) 0(root) 513(None)544(Administrators) 545(Users) 1004(Debugger Users) SysDir: C:\WINDOWS\system32 WinDir: C:\WINDOWS HOME = `D:\cygwin\home\keithmo' MAKE_MODE = `unix' PWD = `/home/keithmo' USER = `keithmo' ALLUSERSPROFILE = `C:\Documents and Settings\All Users' APPDATA = `C:\Documents and Settings\keithmo\Application Data' CLIENTNAME = `Console' COMMONPROGRAMFILES = `C:\Program Files\Common Files' COMPUTERNAME = `GIANTKILLER' COMSPEC = `C:\WINDOWS\system32\cmd.exe' CVS_RSH = `/bin/ssh' DXSDKROOT = `C:\SDK\.' FP_NO_HOST_CHECK = `NO' GNUPGHOME = `/cygdrive/d/Local/Secure/Remote/GnuPG' HOMEDRIVE = `C:' HOMEPATH = `\Documents and Settings\keithmo' HOSTNAME = `giantkiller' INFOPATH = `/usr/local/info:/usr/info:/usr/share/info:/usr/autotool/devel/info:/usr/autotool/stable/info:' LOGONSERVER = `\\GIANTKILLER' MANPATH = `/usr/local/man:/usr/man:/usr/share/man:/usr/autotool/devel/man::/usr/ssl/man' NUMBER_OF_PROCESSORS = `2' OLDPWD = `/usr/bin' OLD_PATH = `C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ATI Technologies\ATI Control Panel' OS = `Windows_NT' PATHEXT = `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH' PRINTER = `Microsoft Office Document Image Writer' PROCESSOR_ARCHITECTURE = `x86' PROCESSOR_IDENTIFIER = `x86 Family 15 Model 4 Stepping 1, GenuineIntel' PROCESSOR_LEVEL = `15' PROCESSOR_REVISION = `0401' PROGRAMFILES = `C:\Program Files' PROMPT = `$P$G' PS1 = [EMAIL PROTECTED] \W]\$ ' SESSIONNAME = `Console' SHLVL = `1' SVN_EDITOR = `vim' SYSTEMDRIVE = `C:' SYSTEMROOT = `C:\WINDOWS' TEMP = `C:\DOCUME~1\keithmo\LOCALS~1\Temp' TERM = `cygwin' TMP = `C:\DOCUME~1\keithmo\LOCALS~1\Temp' USERDOMAIN = `GIANTKILLER' USERNAME = `keithmo' USERPROFILE = `C:\Documents and Settings\keithmo' WINDIR = `C:\WINDOWS' _ = `/usr/bin/cygcheck' _NT_SYMBOL_PATH = `d:\Local\DevSymbols;srv*d:\Local\Symbols*http://msdl.microsoft.com/download/symbols' POSIXLY_CORRECT = `1' HKEY_CURRENT_USER\Software\Cygnus Solutions HKEY_CURRENT_USER\Softwar
Re: up2date
Troy Bull wrote: Hi all. Is there anything like up2date that will keep my cygwin packages updated to the most current? The Cygwin Setup does this for you. Here is Brian Dessent's invaluable posting to this very mailing list that explains the ins and outs of this somewhat mysterious program and its UI: "Keep" means that the package is currently installed and no action will be taken to it. If there is a newer version of the package available it will not be listed in the "up to date" view, it will be listed in the "Partial" view with a new version in the "New" column. Essentially the Up-to-date/Partial views just filter the display between "stuff that is already installed to the desired/latest version and will not be touched" and "stuff that will be changed in some way" when you press the "Next >" button. The best way to think of the setup package list is in terms of the "Current" and "New" columns. (Don't confuse the "Current" column here, which means 'state of currently installed on your local system' with "Curr" version which means 'whatever the package maintainer has designated as the current version'. If a package gets updated then the "Curr" version will be newer than what's listed in your "Current" column becuase you haven't updated yet. Kinda confusing terminology there. Perhaps setup might be changed to always use "stable" where it uses "curr", and keep "Current" as the name of the current-local-state column.) These two columns tell you what setup is going to do with any given package. If "Current" has a version number and "New" contains Keep, then the package will not be modified. If "Current" is blank and "New" contains a version, then it is a package that does not currently exist on your system and is about to be installed, and so on. "Reinstall" can be applied to any package to re-unpack the currently installed version and re-run any postinstall scripts. The "Install" option only applies in the Category view, and in that sense it's a bit confusing because what it really means is "Set all packages in this category to 'Curr', or whatever the radio selection is at." If all the packages in the category are aleady installed and at the "curr" version then they will all remain at Keep in the New column. If some were not installed they will have a version in the "New" column, and the others that were already up to date will continue to be "Keep". I think the thing that is confusing you is that in setup you don't mark individual packages as "always update this" or "never update this". When you run setup you use to radio buttons to apply your preferences to all pacakges: "Keep" means keep everything the same as it is now, do nothing. "Prev" means downgrade every package to its previous version. "Curr" means keep every package upgraded to its latest non-test release, and "Exp" means get the latest bleeding edge of everything. These choices are applied to all packages every time you use the radio button. When you run setup by default it comes up in the "Curr" selection which means it will always try to set every package to the curr/stable version. There is no way to persistently tell setup that you want exp for some packages and curr for the rest, for example. If you put two packages at exp (by cycling their "New" column to a version that is newer) and the rest at curr, and then later run setup again it will attempt to downgrade those two back to the "curr" version. This is kind of inconvenient, but for the vast majority of users the best choice is running "curr" versions of every package, so the people that have a need to combine exp and curr selections will usually know how to use setup to accomplish it. And if I keep clicking on the 'keep' icon, I see a couple of version numbers pop up. Is the latest of them the version I already have, or the version that will be installed if I select 'install'? And how _do_ I select 'install' if I have to keep clicking on the same icon to get 'install' to come back? It depends on the package. Most all packages have one older previous version available, and some packages have a newer but experimental version additionally available. When you cycle an already-installed and up-to-date package and see version numbers, then you are seeing the prev and exp versions. You can compare the version in the "New" column to the version in the "Current" column to see which is which. When you cycle a not-yet-installed package the first version you get is "curr". Under "Choosing Packages", the above-mentioned website only says rather unhelpful things like, "To Uninstall, Reinstall or get the Source, click on Keep to toggle it". There is no mention of version numbers popping up! Perhaps it should say "click on 'Keep' and continue clicking to cycle the selection until the desired state is set." -- Jonathan Arnold (mailto:[EMAIL PROTECTED]) Amazing Developments http://www.buddydog.org I feel like a fugitive from the law of averages. - William H. Mau
trouble using mkgrp -d
Hi, I have trouble using mkgrp -d : . As expected, I am trying to fix the passwd and groups files. I was succesfull using mkpasswd -d -u Mirko >> /etc/passwd However, I was less succesfull with mkgrp -d -g. I am not sure what to supply to the -g switch. I would rather not do just mkgrp -d, since the number of groups on the domain seems enormeous. I did get around the problem by copying the relevant entries for myself from the passwd file (ID, default group) and creating a group in the groups file, but I would like to learn how to do it the ``right way'' Thanks, Mirko -- m*irko*vukovic-at-nycap-rr-com -- 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: trouble using mkgroup -d
Mirko wrote: Hi, I have trouble using mkgrp -d : . As expected, I am trying to fix the passwd and groups files. I was succesfull using mkpasswd -d -u Mirko >> /etc/passwd However, I was less succesfull with mkgrp -d -g. I am not sure what to supply to the -g switch. I would rather not do just mkgrp -d, since the number of groups on the domain seems enormeous. I did get around the problem by copying the relevant entries for myself from the passwd file (ID, default group) and creating a group in the groups file, but I would like to learn how to do it the ``right way'' Thanks, Mirko The above post is full of mis-spellings. I was using mkgroup, and not mkgrp. My unix inexperience is showing ... I am writing this from home, while the above was happening at work. Sorry. Mirko -- m*irko*vukovic-at-nycap-rr-com -- 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/
Under cygwin(winxp), I can't access the com1(com2)
all,hello! I can't use Insight(gdb) connect to redboot under cygwin. I can do this Under Linux. So I think it's the cygwin's problem. At beginning ,I use cygwin 2.0, when set some gdb's parameter,such as : set remotebaud 115200 set debug remote 1 target remote com1 Then ,the gdb (insight) is dead! There is nothing after the command. Then , I downloaded the recent cygwin and do it as above , there is a message after the command "target remote com1": Inappropriate ioctl for device My OS is windowXP2002, and the gdb(insight) is the one downloaded from the ecoscentric.com. What's wrong? Thanks in advance Regards liying [EMAIL PROTECTED] 2005-03-14 <>-- 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/