Re: Path prefix //./ in Cygwin

2025-06-13 Thread Hans-Bernhard Bröker via Cygwin
Am 13.06.2025 um 07:38 schrieb Yuyi Wang via Cygwin: If the CWD is /proc (so something without a Windows CWD), it seems to fall back to referring to '/a/b' again?!? Oh, no. That makes me nearly impossible to determine whether a path is absolute without getting the current PWD. That distinction

Re: Path prefix //./ in Cygwin

2025-06-12 Thread Yuyi Wang via Cygwin
> If the CWD > is /proc (so something without a Windows CWD), it seems to fall back to > referring to '/a/b' again?!? Oh, no. That makes me nearly impossible to determine whether a path is absolute without getting the current PWD. -- Yuyi Wang -- Problem reports: https://cygwin.com/problem

Re: Path prefix //./ in Cygwin

2025-06-12 Thread Jeremy Drake via Cygwin
On Wed, 11 Jun 2025, Jeremy Drake via Cygwin wrote: > While making some tests for a path parser in rust > (https://github.com/rust-lang/rust/pull/141864), an interesting corner > case in Cygwin path handling came to light: > > Works: > \\.\C: > //.\C: > //./C:\foo > > Doesn't work: > //./C: > //./

Re: Path prefix //./ in Cygwin

2025-06-12 Thread Brian Inglis via Cygwin
On 2025-06-11 18:57, Jeremy Drake via Cygwin wrote: On Thu, 12 Jun 2025, Sam Edge via Cygwin wrote: I would think that if you're building something against Cygwin, it's probably best to assume it's POSIX where only forward-slash is special and not try to second-guess. This is unsafe, and actu

Re: Path prefix //./ in Cygwin

2025-06-11 Thread Sam Edge via Cygwin
On 12/06/2025 01:57, Jeremy Drake wrote: On Thu, 12 Jun 2025, Sam Edge via Cygwin wrote: I would think that if you're building something against Cygwin, it's probably best to assume it's POSIX where only forward-slash is special and not try to second-guess. This is unsafe, and actually where

Re: Path prefix //./ in Cygwin

2025-06-11 Thread Jeremy Drake via Cygwin
On Thu, 12 Jun 2025, Sam Edge via Cygwin wrote: > I would think that if you're building something against Cygwin, it's probably > best to assume it's POSIX where only forward-slash is special and not try to > second-guess. This is unsafe, and actually where the rust PR started out. If you only t

Re: Path prefix //./ in Cygwin

2025-06-11 Thread Sam Edge via Cygwin
On 12/06/2025 00:01, Jeremy Drake via Cygwin wrote: While making some tests for a path parser in rust (https://github.com/rust-lang/rust/pull/141864), an interesting corner case in Cygwin path handling came to light: Works: \\.\C: //.\C: //./C:\foo Doesn't work: //./C: //./C:/foo It appears to

Re: path parameter via cmd batch?

2018-04-22 Thread Andrey Repin
Greetings, Ulli Horlacher! > I want to start a cygwin program via a cmd batch script. > I have: > C:\cygwin>type runcmd.bat > @echo off > C: > chdir C:\cygwin\bin > bash --login -c "%*" Try bash --login -c '%*' > echo. > pause > But when I start it I get: > C:\cygwin>runcmd.bat xxx \cyg

Re: path dependent on drive in cygwin

2015-07-02 Thread Andrey Repin
Greetings, John Norris! > Hi, > I am running cygwin 1.7.x on Windows 2008. I realise this may be out of > date but this is what we are using. > I have noticed that the path variable for our build user is dependent > on where "cmd /C" is run from. > Please see below - I have cut back the PATH so

Re: path dependent on drive in cygwin

2015-07-01 Thread Corinna Vinschen
On Jun 30 18:27, John Norris wrote: > Hi, > I am running cygwin 1.7.x on Windows 2008. I realise this may be out of date > but this is what we are using. > I have noticed that the path variable for our build user is dependent on > where "cmd /C" is run from. > Please see below - I have cut back the

Re: path dependent on drive in cygwin

2015-06-30 Thread Larry Hall (Cygwin)
On 06/30/2015 02:27 PM, John Norris wrote: Hi, I am running cygwin 1.7.x on Windows 2008. I realise this may be out of date but this is what we are using. I have noticed that the path variable for our build user is dependent on where "cmd /C" is run from. Please see below - I have cut back the PA

Re: bash adds dot to $PATH (was: Re: $PATH contains dot but unclear where it comes from)

2014-03-26 Thread Andrey Repin
Greetings, Robert Klemme! > C:\Users\rklemme>C:\cygwin64\bin\bash.exe -i -x -c exit >bash-log.txt 2>&1 > First line that contains PATH looks like this: > ++ PATH='/cygdrive/c/PROGRAM FILES (X86)/NVIDIA > CORPORATION/PHYSX/COMMON:/cygdrive/c/PROGRAM FILES (X86)/INTEL/ICLS > CLIENT:/cygdrive/c/PRO

Re: bash adds dot to $PATH (was: Re: $PATH contains dot but unclear where it comes from)

2014-03-25 Thread Warren Young
On 3/6/2014 05:29, Robert Klemme wrote: The phenomenon persists, for these executions: c:\cygwin64\bin\bash.exe --norc --noprofile -i c:\cygwin64\bin\bash.exe --norc --noprofile c:\cygwin64\bin\bash.exe -i -l Actually I could not find a commandline with bash that did not lead to the dot appended

Re: bash adds dot to $PATH (was: Re: $PATH contains dot but unclear where it comes from)

2014-03-13 Thread Robert Klemme
Hi, Matthew Blakley pointed out to me that he noticed that under Windows 7 several processes have the dot added - not only Cygwin processes. I checked with ProcessExplorer and indeed PATH of chrome.exe ends with ";.;". So it could be an OS "feature" but I could not find any documentation about th

Re: bash adds dot to $PATH (was: Re: $PATH contains dot but unclear where it comes from)

2014-03-06 Thread Eliot Moss
If it is of any use, the versions I have installed, bash/sh 4.1.10(4), have the same length and differ in two byte positions, by one bit in each case. These differences may just reflect the different name or a slightly different time at which the .exe was constructed as part of a build process.

bash adds dot to $PATH (was: Re: $PATH contains dot but unclear where it comes from)

2014-03-06 Thread Robert Klemme
Folks, sorry for the delay, I was sick in the meantime. Now, I try to summarize all my finding in the hopes that bash package maintainer can pick up from here. When starting a terminal on my Windows 7 64 bit system $PATH contains a dot at the end. The dot is not present in my Windows environment

Re: $PATH contains dot but unclear where it comes from

2014-02-20 Thread Eliot Moss
On 2/20/2014 10:41 AM, Ken Brown wrote: On 2/20/2014 9:12 AM, Robert Klemme wrote: 2. only bash invoked as bash shows it - it's not shown when invoked as sh.exe This fact should enable you to track down the problem. The bash manual explains how it behaves differently when invoked as sh.exe.

Re: $PATH contains dot but unclear where it comes from

2014-02-20 Thread Ken Brown
On 2/20/2014 9:12 AM, Robert Klemme wrote: 2. only bash invoked as bash shows it - it's not shown when invoked as sh.exe This fact should enable you to track down the problem. The bash manual explains how it behaves differently when invoked as sh.exe. I don't remember the details, but I thi

Re: $PATH contains dot but unclear where it comes from

2014-02-20 Thread Christopher Faylor
On Thu, Feb 20, 2014 at 03:12:47PM +0100, Robert Klemme wrote: >Thanks to all who helped so far! > >On Wed, Feb 19, 2014 at 11:23 PM, Andrey Repin wrote: > >> So far, I'm not convinced that issue is Cygwin-specific. The fact that it >> doesn't manifest in Windows is actually because of it's (windo

Re: $PATH contains dot but unclear where it comes from

2014-02-20 Thread Larry Hall (Cygwin)
On 2/20/2014 9:12 AM, Robert Klemme wrote: Thanks to all who helped so far! On Wed, Feb 19, 2014 at 11:23 PM, Andrey Repin wrote: So far, I'm not convinced that issue is Cygwin-specific. The fact that it doesn't manifest in Windows is actually because of it's (windows) native ignorance for th

Re: $PATH contains dot but unclear where it comes from

2014-02-20 Thread Robert Klemme
Thanks to all who helped so far! On Wed, Feb 19, 2014 at 11:23 PM, Andrey Repin wrote: > So far, I'm not convinced that issue is Cygwin-specific. The fact that it > doesn't manifest in Windows is actually because of it's (windows) native > ignorance for this matter. I sent a lengthy email with

Re: $PATH contains dot but unclear where it comes from

2014-02-19 Thread Andrey Repin
Greetings, Larry Hall (Cygwin)! > It's certainly possible that there is a pathological case where the Windows > path isn't handled properly because of size, content, or other unforeseen > case. I can offer one idea of where this problem could originate from, which is in no way pathological (i mea

Re: $PATH contains dot but unclear where it comes from

2014-02-19 Thread Larry Hall (Cygwin)
On 2/19/2014 3:27 PM, Achim Gratz wrote: Cliff Hones writes: So there is no dot at the end of PATH as seen in cmd - and (I assume, since this was also discussed) no duplicated semicolons or trailing semicolon at the end of the cmd PATH. But the very first PATH printed by bash does contain a tra

Re: $PATH contains dot but unclear where it comes from

2014-02-19 Thread Achim Gratz
Cliff Hones writes: > So there is no dot at the end of PATH as seen in cmd - and (I assume, > since this was also discussed) no duplicated semicolons or trailing > semicolon at the end of the cmd PATH. But the very first PATH printed > by bash does contain a trailing dot. I assume this is before

Re: $PATH contains dot but unclear where it comes from

2014-02-19 Thread Cliff Hones
On 19/02/2014 19:32, Larry Hall (Cygwin) wrote: > On 2/19/2014 2:10 PM, Andrey Repin wrote: >> Greetings, Larry Hall (Cygwin)! >> >>> From the Windows "Run..." or "Search programs and files" edit box, >>> type "cmd.exe". From the console window that opens as a result, type >>> the following. >>

Re: $PATH contains dot but unclear where it comes from

2014-02-19 Thread Larry Hall (Cygwin)
On 2/19/2014 2:10 PM, Andrey Repin wrote: Greetings, Larry Hall (Cygwin)! From the Windows "Run..." or "Search programs and files" edit box, type "cmd.exe". From the console window that opens as a result, type the following. echo %PATH% c:\cygwin64\bin\bash --norc --noprofile -lix echo $P

Re: $PATH contains dot but unclear where it comes from

2014-02-19 Thread Andrey Repin
Greetings, Larry Hall (Cygwin)! > From the Windows "Run..." or "Search programs and files" edit box, > type "cmd.exe". From the console window that opens as a result, type > the following. > echo %PATH% > c:\cygwin64\bin\bash --norc --noprofile -lix > echo $PATH Larry, we walked through exactl

Re: $PATH contains dot but unclear where it comes from

2014-02-19 Thread Larry Hall (Cygwin)
On 2/19/2014 12:51 PM, Robert Klemme wrote: On Wed, Feb 19, 2014 at 6:23 PM, Larry Hall (Cygwin) wrote: On 2/19/2014 12:16 PM, Robert Klemme wrote: The dot is already in the variable before bash even modifies it. So that means you need to look in your Windows environment to understand whe

Re: $PATH contains dot but unclear where it comes from

2014-02-19 Thread Andrey Repin
Greetings, Robert Klemme! > On Wed, Feb 19, 2014 at 6:23 PM, Larry Hall (Cygwin) > wrote: >> On 2/19/2014 12:16 PM, Robert Klemme wrote: >>> The dot is already in the variable before bash even modifies it. >> >> So that means you need to look in your Windows environment to understand >> where th

Re: $PATH contains dot but unclear where it comes from

2014-02-19 Thread Robert Klemme
On Wed, Feb 19, 2014 at 6:23 PM, Larry Hall (Cygwin) wrote: > On 2/19/2014 12:16 PM, Robert Klemme wrote: >> The dot is already in the variable before bash even modifies it. > > So that means you need to look in your Windows environment to understand > where this comes from. I did look in window

Re: $PATH contains dot but unclear where it comes from

2014-02-19 Thread Larry Hall (Cygwin)
On 2/19/2014 12:16 PM, Robert Klemme wrote: On Wed, Feb 19, 2014 at 5:06 PM, Eliot Moss wrote: As others have said, cygwin does not add . to the path itself. It must be something in your .bash_profile, .bashrc, or other script sourced from them. Going through the output of your login with tra

Re: $PATH contains dot but unclear where it comes from

2014-02-19 Thread Robert Klemme
On Wed, Feb 19, 2014 at 5:06 PM, Eliot Moss wrote: > As others have said, cygwin does not add . to the path > itself. It must be something in your .bash_profile, > .bashrc, or other script sourced from them. > > Going through the output of your login with tracing > enabled, as previously describe

Re: $PATH contains dot but unclear where it comes from

2014-02-19 Thread Eliot Moss
As others have said, cygwin does not add . to the path itself. It must be something in your .bash_profile, .bashrc, or other script sourced from them. Going through the output of your login with tracing enabled, as previously described, really is a straightforward way to track this down ... Reg

Re: $PATH contains dot but unclear where it comes from

2014-02-19 Thread Larry Hall (Cygwin)
On 2/19/2014 3:37 AM, Robert Klemme wrote: I assume there must be some internal mechanism in Cygwin which causes this but at the moment I am out of ideas where to look further. Does anybody else have an idea? Is there maybe some automatism which adds the dot because on Windows systems the shell

Re: $PATH contains dot but unclear where it comes from

2014-02-19 Thread Robert Klemme
On Tue, Feb 18, 2014 at 7:32 PM, David Boyce wrote: >> On Thu, Feb 6, 2014 at 4:32 PM, Robert Klemme >> wrote: >> >>> Can anybody make sense of that? I can share the complete log with >>> individuals if it helps. >> >> Nobody? > > I haven't read the whole backthread, but you do understand that a

Re: $PATH contains dot but unclear where it comes from

2014-02-18 Thread Robert Klemme
On Thu, Feb 6, 2014 at 4:32 PM, Robert Klemme wrote: > Can anybody make sense of that? I can share the complete log with > individuals if it helps. Nobody? Cheers robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/ -- Problem reports: ht

Re: $PATH contains dot but unclear where it comes from

2014-02-06 Thread Robert Klemme
On Thu, Feb 6, 2014 at 12:56 PM, Andrey Repin wrote: > Greetings, Robert Klemme! Hello Andrey! >> I should have mentioned that I did just that - to no avail. > >> $ echo exit | bash --login -i -x 2>|log >> $ egrep -n 'PATH=(.:|.*:\.($|:))' log | head >> 1:+ PATH=/usr/local/bin:/usr/bin:/usr/gnu/b

Re: $PATH contains dot but unclear where it comes from

2014-02-06 Thread Andrey Repin
Greetings, Robert Klemme! > I should have mentioned that I did just that - to no avail. > $ echo exit | bash --login -i -x 2>|log > $ egrep -n 'PATH=(.:|.*:\.($|:))' log | head > 1:+ PATH=/usr/local/bin:/usr/bin:/usr/gnu/bin:/usr/local/bin:/bin:/usr/bin:. > 140:+++ > PATH=/usr/local/bin:/usr/bin

Re: $PATH contains dot but unclear where it comes from

2014-02-06 Thread Robert Klemme
On Thu, Feb 6, 2014 at 10:14 AM, Csaba Raduly wrote: > Hi Robert, > > On Thu, Feb 6, 2014 at 10:01 AM, Robert Klemme wrote: >> Hi, >> >> in cygwin64 on Win 7 64 bit I find "." in $PATH: >> >> $ echo "$PATH" | tr : \\n | egrep '^\.$' >> . >> >> However, I was not able to detect where this came from

Re: $PATH contains dot but unclear where it comes from

2014-02-06 Thread Csaba Raduly
Hi Robert, On Thu, Feb 6, 2014 at 10:01 AM, Robert Klemme wrote: > Hi, > > in cygwin64 on Win 7 64 bit I find "." in $PATH: > > $ echo "$PATH" | tr : \\n | egrep '^\.$' > . > > However, I was not able to detect where this came from. It's neither > in the Windows system environment variables nor

Re: Path issue with windows shell

2013-11-27 Thread Larry Hall (Cygwin)
On 11/27/2013 4:01 PM, Matthew Lagoe wrote: Sorry I did not clarify earlier, I have cygin added to my path and I have not added anything to /cygdrive or otherwise. C:\tmp>where ls C:\cygwin\bin\ls.exe C:\tmp>C:\cygwin\bin\ls.exe /cygdrive c I noticed that all the paths that I am having issues

RE: Path issue with windows shell

2013-11-27 Thread Matthew Lagoe
Sorry I did not clarify earlier, I have cygin added to my path and I have not added anything to /cygdrive or otherwise. C:\tmp>where ls C:\cygwin\bin\ls.exe C:\tmp>C:\cygwin\bin\ls.exe /cygdrive c I noticed that all the paths that I am having issues with are setup via a "subst" in windows You

Re: Path issue with windows shell

2013-11-27 Thread Larry Hall (Cygwin)
On 11/27/2013 3:03 PM, Matthew Lagoe wrote: im having a problem with paths, when i use /cygdrive/l in the windows shell it doesn't work however when i use it in the cygwin shell it works fine /cygdrive/c works fine in both The windows shell only see's the "C" drive even with ls C:\>ls /cy

Re: PATH issue

2012-10-10 Thread Earnie Boyd
On Wed, Oct 10, 2012 at 9:01 AM, Frank P Esposito wrote: > I have an issue now that bash can't find script, but "which" locates > it -- is there a way to debug this? What does ``ls -l `which FOO`'' report? -- Earnie -- https://sites.google.com/site/earnieboyd -- Problem reports: http://c

Re: PATH environment variables failed to evaluate correctly

2011-03-22 Thread David Sastre
On Tue, Mar 22, 2011 at 08:28:49PM +0530, chandan_c9 wrote: > I have installed Cygwin yesterday.I want to extract a .run file but I am > getting > error as PATH environment variables failed to evaluate correctly. > I am not getting clue by searching on google. Hello, Files with a *.run extensio

Re: PATH environment variables failed to evaluate correctly

2011-03-22 Thread Christopher Faylor
On Tue, Mar 22, 2011 at 11:01:48AM -0400, Christopher Faylor wrote: >On Tue, Mar 22, 2011 at 08:28:49PM +0530, chandan...@indiatimes.com wrote: >>Hello, >>I have installed Cygwin yesterday.I want to extract a .run file but I >>am getting error as PATH environment variables failed to evaluate >>corr

Re: PATH environment variables failed to evaluate correctly

2011-03-22 Thread Christopher Faylor
On Tue, Mar 22, 2011 at 08:28:49PM +0530, chandan...@indiatimes.com wrote: >Hello, >I have installed Cygwin yesterday.I want to extract a .run file but I >am getting error as PATH environment variables failed to evaluate >correctly.I am not getting clue by searching on google. We're not getting a

Re: PATH with spaces

2011-02-01 Thread Sunoki
Thanks, Vincent, I did as you told and it worked fine. Vincent Rivière-2 wrote: > > Sunoki wrote: >> $ printenv PATH >> ... >> :/cygdrive/c/Program Files (x86)/Common Files/Symbian/tools: >> ... >> $ make >> cygwin warning: >>MS-DOS style path detected: /usr/local/bin/C:\Program >>Pref

Re: PATH with spaces

2011-02-01 Thread Sunoki
Thanks everyone for the very quick reply... I first did as Vincent advised and installed a make on the cygwin itself... and removed all the reference to the windows program files folder from the path. Then it worked, but I think I will try what you've said Dave, if I find anything useful I will p

Re: PATH with spaces

2011-01-30 Thread Vincent Rivière
Sunoki wrote: $ printenv PATH ... :/cygdrive/c/Program Files (x86)/Common Files/Symbian/tools: ... $ make cygwin warning: MS-DOS style path detected: /usr/local/bin/C:\Program Preferred POSIX equivalent is: /usr/local/bin/C:/Program CYGWIN environment variable option "nodosfilewarning" t

Re: PATH with spaces

2011-01-30 Thread Dave Korn
On 30/01/2011 12:56, Tim Prince wrote: > On 1/30/2011 6:34 AM, Sunoki wrote: >> >> $ make >> cygwin warning: >>MS-DOS style path detected: /usr/local/bin/C:\Program >>Preferred POSIX equivalent is: /usr/local/bin/C:/Program >>CYGWIN environment variable option "nodosfilewarning" turns o

Re: PATH with spaces

2011-01-30 Thread Tim Prince
On 1/30/2011 6:34 AM, Sunoki wrote: $ make cygwin warning: MS-DOS style path detected: /usr/local/bin/C:\Program Preferred POSIX equivalent is: /usr/local/bin/C:/Program CYGWIN environment variable option "nodosfilewarning" turns off this warning. Consult the user's guide for more de

Re: Path conversion issue

2010-08-21 Thread Andrey Repin
Greetings, All! Ok, for those interested, solution for my specific case was found. macro:post print("view: Sorry for my terrible english... -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.htm

Re: Path conversion issue

2010-08-17 Thread Andrey Repin
Greetings, Larry Hall (Cygwin)! > diff.exe -cdb -x "CVS" -x ".svn" -I "\$Id.*\$" --strip-trailing-cr -- > "C:\...\php-tools\GalleryClass.php" > "\\REMOTE\C$\...\php-tools\GalleryClass.php" > diff: \REMOTE\C$\...\php-tools\GalleryClass.php: No such file or directory > > Why

Re: Path conversion issue

2010-08-17 Thread Larry Hall (Cygwin)
On 8/17/2010 2:58 PM, Andrey Repin wrote: Greetings, Csaba Raduly! diff.exe -cdb -x "CVS" -x ".svn" -I "\$Id.*\$" --strip-trailing-cr -- "C:\...\php-tools\GalleryClass.php" "\\REMOTE\C$\...\php-tools\GalleryClass.php" diff: \REMOTE\C$\...\php-tools\GalleryClass.php: No such file or directory W

Re: Path conversion issue

2010-08-17 Thread Andrey Repin
Greetings, Csaba Raduly! >>> diff.exe -cdb -x "CVS" -x ".svn" -I "\$Id.*\$" --strip-trailing-cr -- >>> "C:\...\php-tools\GalleryClass.php" >>> "\\REMOTE\C$\...\php-tools\GalleryClass.php" >>> diff: \REMOTE\C$\...\php-tools\GalleryClass.php: No such file or directory >>> >>> Why it ate the leading

Re: Path conversion issue

2010-08-17 Thread Csaba Raduly
On Tue, Aug 17, 2010 at 5:18 AM, Larry Hall (Cygwin) wrote: > On 8/16/2010 10:03 PM, Andrey Repin wrote: >> diff.exe -cdb -x "CVS" -x ".svn" -I "\$Id.*\$" --strip-trailing-cr -- >> "C:\...\php-tools\GalleryClass.php" >> "\\REMOTE\C$\...\php-tools\GalleryClass.php" >> diff: \REMOTE\C$\...\php-tools

Re: Path conversion issue

2010-08-16 Thread Larry Hall (Cygwin)
On 8/16/2010 10:03 PM, Andrey Repin wrote: Greetings, All! Trying to find differences between local and remote file, I run into an issue: diff.exe -cdb -x "CVS" -x ".svn" -I "\$Id.*\$" --strip-trailing-cr -- "C:\...\php-tools\GalleryClass.php" "\\REMOTE\C$\...\php-tools\GalleryClass.php" diff:

Re: path not found - fstab problem?

2010-01-21 Thread Russ
Doh!Thanks Andy! I really over-thought that one. I did in fact have an "oh" instead of the zero.2 hrs :( -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info:

Re: path not found - fstab problem?

2010-01-20 Thread Andy Koppe
2010/1/21 Russ: > Hello, > > I have cygwin installed in the default c:\cygwin location... > > I cannot get cygwin to see an executable in my path  -- unless I > change dirs down to the application location or run it with the > absolute path. > > This works: > r...@mycomputer  ~ > $  /c/Apps/apache-

Re: Path problems with libgmpxx.la, libppl.la, libppl_c.la and libcloog-ppl.la - a work around

2010-01-15 Thread Dave Korn
Dave Korn wrote: > David Billinghurst wrote: > >> I won't release a fixed set of gmp packages at present as a new upstream >> release gmp-4.3.2 is imminent (late December 2009). For the moment, >> affected users will need to edit the installed libgmpxx.la file. > > The /usr/sbin/fix-libtool-sc

Re: Path problems with libgmpxx.la, libppl.la, libppl_c.la and libcloog-ppl.la - a work around

2010-01-15 Thread Dave Korn
David Billinghurst wrote: > > I won't release a fixed set of gmp packages at present as a new upstream > release gmp-4.3.2 is imminent (late December 2009). For the moment, > affected users will need to edit the installed libgmpxx.la file. The /usr/sbin/fix-libtool-scripts-for-latest-gcc-runt

Re: Path problems with libgmpxx.la, libppl.la, libppl_c.la and libcloog-ppl.la - a work around

2010-01-04 Thread Yaakov (Cygwin/X)
On 04/01/2010 08:07, David Billinghurst wrote: As discussed previously [1], libraries built with libtool that depend on libstdc++ end up with the full path to the build compiler's libstdc++.la file in their own *.la file. This becomes a problem when the compiler is upgraded. /usr/sbin/fix-libto

Re: path separator

2009-03-31 Thread Subrata Biswas
The following 2 steps worked for me 1) Use semicolon as path separator 2) Enclose the whole path string inside double quote Example javac -classpath ".;poi-3.2-FINAL-20081019.jar" SR.java -- View this message in context: http://www.nabble.com/path-separator-tp17704083p22813149.html Sent from

Re: path to graphics.h

2009-02-20 Thread Larry Hall (Cygwin)
H Le wrote: Hello, I wonder where is this lib located? I have installed cygwin under ^^^ You mean header or include file. d:\cygwin directory. Thank you for your helps. I can't answer your question directly but I think I can help you answer it. From the main Cygw

RE: path separator

2008-06-06 Thread Gary R. Van Sickle
> From: samitj > Subject: Re: path separator > > > hmm... i thought cygwin emulates a unix shell in windows. > $ echo $PATH > /usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/WINDOW > S/system32:/cygdri. > > anyway, if i use a windows separator (;), it d

Re: path separator

2008-06-06 Thread samitj
hmm... i thought cygwin emulates a unix shell in windows. $ echo $PATH /usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/WINDOWS/system32:/cygdri. anyway, if i use a windows separator (;), it doesnt work and it considers it the end of the command as per unix shell behavior. dont know i

Re: path separator

2008-06-06 Thread René Berber
samitj wrote: what is the path separator in Cygwin for paths, classpaths etc.. this works... $ java -cp lib/matrix/matrix.jar com.test.matrix.simulation.SimulationApplication this fails.. $ java -cp lib/matrix/matrix.jar:bin/ com.test.matrix.simulation.SimulationApplication Exception in thread

Re: path separator

2008-06-06 Thread Mark J. Reed
On Fri, Jun 6, 2008 at 9:17 PM, samitj <[EMAIL PROTECTED]> wrote: > > Hi, > what is the path separator in Cygwin for paths, classpaths etc.. > > this works... > $ java -cp lib/matrix/matrix.jar > com.test.matrix.simulation.SimulationApplication Java is not a Cygwin package. You must be running th

Re: path and .exe issue after initial installation

2008-01-23 Thread Shai
I don't see this package as even been downloaded. I thought I had set it to download everything... why am I missing it in the first place? I don't even see it in the local package folder I had cygwin install download to. Shai On Jan 23, 2008 5:29 PM, Dave Korn <[EMAIL PROTECTED]> wrote: > On 23 J

RE: path and .exe issue after initial installation

2008-01-23 Thread Dave Korn
On 23 January 2008 15:08, Shai wrote: > Oops... my bad, here is an updated one: > > bash-3.2$ cygcheck /bin/cvs.exe > C:\cygwin\bin/cvs.exe > Error: could not find cygcrypt-0.dll Like I guesed, a missing DLL. So re-run setup.exe; it should pick up the dependency. If for any reason you don'

Re: path and .exe issue after initial installation

2008-01-23 Thread Shai
Oops... my bad, here is an updated one: bash-3.2$ cygcheck /bin/cvs.exe C:\cygwin\bin/cvs.exe Error: could not find cygcrypt-0.dll C:\cygwin\bin\cygwin1.dll C:\WINDOWS\system32\ADVAPI32.DLL C:\WINDOWS\system32\ntdll.dll C:\WINDOWS\system32\KERNEL32.dll C:\WINDOWS\system32\R

Re: path and .exe issue after initial installation

2008-01-23 Thread Shai
bash-3.2$ cygcheck /bin/cvs.exe bash: cygcheck: command not found bash-3.2$ :( Shai On Jan 23, 2008 4:38 PM, Dave Korn <[EMAIL PROTECTED]> wrote: > On 23 January 2008 13:59, Shai wrote: > > > Could it be that the package/s have been downloaded badly? > > I've asked Cygwin to first download witho

RE: path and .exe issue after initial installation

2008-01-23 Thread Dave Korn
On 23 January 2008 13:59, Shai wrote: > Could it be that the package/s have been downloaded badly? > I've asked Cygwin to first download without installing the packages to > my local server and only then ran the cygwin installation and asked it > to install from the local downloaded directory. > I

Re: path and .exe issue after initial installation

2008-01-23 Thread Shai
Could it be that the package/s have been downloaded badly? I've asked Cygwin to first download without installing the packages to my local server and only then ran the cygwin installation and asked it to install from the local downloaded directory. If a package was broken, would I know about this?

RE: path and .exe issue after initial installation

2008-01-23 Thread Dave Korn
On 23 January 2008 13:06, Shai wrote: > when trying > to run any command I get a "command not found" type result. > Now, if I cd /bin and type the command ./ls.exe I get the list of the > directory, but if I try something like ./cvs.exe .. I get the bash > again. Meaning, no output. > $ /bin/cv

Re: Path processing bug

2005-08-22 Thread Christopher Faylor
On Mon, Aug 22, 2005 at 06:42:36AM -0700, Brian Dessent wrote: >Corinna Vinschen wrote: >>I don't agree with you that /../ components are actually seldom in path >>expressions. If you examine typical source trees, you'll find that >>expressions as -I../../foo/bar or -L/path/to/bin/../lib are used

Re: Path processing bug

2005-08-22 Thread Christopher Faylor
On Mon, Aug 22, 2005 at 06:40:54AM -0600, Eric Blake wrote: >How often does the substring /../ actually appear in path name >resolution? You're asking questions and arguing without actually looking at the source code. It doesn't only matter how often something like this happens. It also matters

Re: Path processing bug

2005-08-22 Thread Brian Dessent
Corinna Vinschen wrote: > I don't agree with you that /../ components are actually seldom in path > expressions. If you examine typical source trees, you'll find that > expressions as -I../../foo/bar or -L/path/to/bin/../lib are used quite > often. Indeed. Even just "gcc hello.c" has to wade th

Re: Path processing bug

2005-08-22 Thread Corinna Vinschen
On Aug 22 06:40, Eric Blake wrote: > How often does the substring /../ actually appear in path name resolution? > I don't think it is all that often, and the penalty for getting that > corner case POSIXly correct need not affect the common case when /../ is > not part of the path name. Besides, t

Re: Path processing bug

2005-08-22 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Christopher Faylor on 8/21/2005 9:17 PM: > I really don't care about POSIX in this case because I don't care about > slavish adherence to POSIX standards at the expense of decreasing cygwin > performance, adding a lot of complexity, or rem

Re: Path processing bug

2005-08-21 Thread Joe Krahn
Eric Blake wrote: Cygwin will accept the path "dir/../file" as being the same as "file", regardless of whether "dir" exists. Apprently, someone decided that a simple path-trimming rule would speed things up, but it is wrong. For example, it breaks building of xedit/lisp, where "lisp/../xedit.h"

Re: Path processing bug

2005-08-21 Thread Christopher Faylor
On Sun, Aug 21, 2005 at 09:58:40PM -0500, Gary R. Van Sickle wrote: >Cgf wrote: > >[snip] > >> I think it's a pretty hard problem and I really don't care >> about POSIX > >??? This must be a typo, or you wouldn't be here. You're right. It wasn't a typo but it was too strongly stated. I really

RE: Path processing bug

2005-08-21 Thread Gary R. Van Sickle
Cgf wrote: [snip] > I think it's a pretty hard problem and I really don't care > about POSIX ??? This must be a typo, or you wouldn't be here. -- Gary R. Van Sickle -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Do

Re: Path processing bug

2005-08-21 Thread Christopher Faylor
On Sun, Aug 21, 2005 at 10:31:47PM +, Eric Blake wrote: >>Cygwin will accept the path "dir/../file" as being the same as "file", >>regardless of whether "dir" exists. Apprently, someone decided that a >>simple path-trimming rule would speed things up, but it is wrong. For >>example, it breaks

Re: Path processing bug

2005-08-21 Thread Eric Blake
> Cygwin will accept the path "dir/../file" as being the same as "file", > regardless of whether "dir" exists. Apprently, someone decided that a > simple path-trimming rule would speed things up, but it is wrong. For > example, it breaks building of xedit/lisp, where "lisp/../xedit.h" is > not

Re: Path Statement Not Being Evaluated by Bash in Cygwin

2005-07-05 Thread Ross MacGillivray
Ross MacGillivray yahoo.ca> writes: > > > I am trying to test KDE 3.4 (and Qt 3.3) on Cygwin. > > I have installed the additional packages needed for > KDE 3.4 and I even did a > complete re-install of all packages to ensure that I have a clean system. > > when I start bash and enter 'echo $

RE: Path Statement Not Being Evaluated by Bash in Cygwin

2005-07-05 Thread Eric Blake
> > when I start bash and enter 'echo $path'. This is the path statement > > returned. > > Not sure how you've got things setup, but `echo $path` should result in > an empty return statement. the variable is PATH not path, case > sensitive. > Or maybe you are thinking of tcsh syntax, wher

RE: Path Statement Not Being Evaluated by Bash in Cygwin

2005-07-05 Thread Reid Thompson
Ross MacGillivray wrote: > I am trying to test KDE 3.4 (and Qt 3.3) on Cygwin. > > I have installed the additional packages needed for KDE 3.4 > and I even did a complete re-install of all packages to > ensure that I have a clean system. > > when I start bash and enter 'echo $path'. This is the

RE: Re: PATH oddity

2005-05-26 Thread Williams, Gerald S \(Jerry\)
Karl M wrote: >>> While looking at my PATH environment variable (in response to the >>> recent postings about sshd and environment variables), I noticed >>> that "." was included. >>> >>> It was caused by a double ; ( a ";;" sequence) in my PATH as >>> defined in the Windows XP My Computer Proper

Re: PATH oddity

2005-05-26 Thread Thorsten Kampe
On Wed, 25 May 2005 11:58:45 -0700, Yitzchak Scott-Thoennes wrote: > On Wed, May 25, 2005 at 11:28:43AM -0700, Karl M wrote: >> Hi All... >> >> While looking at my PATH environment variable (in response to the recent >> postings about sshd and environment variables), I noticed that "." was >> i

Re: PATH oddity

2005-05-25 Thread Yitzchak Scott-Thoennes
On Wed, May 25, 2005 at 11:28:43AM -0700, Karl M wrote: > Hi All... > > While looking at my PATH environment variable (in response to the recent > postings about sshd and environment variables), I noticed that "." was > included. > > It was caused by a double ; ( a ";;" sequence) in my PATH as

Re: Path problems with trailing dot

2005-05-20 Thread Christopher Faylor
On Mon, May 16, 2005 at 10:19:34AM -0400, Christopher Faylor wrote: >On Mon, May 16, 2005 at 06:53:26AM -0600, Eric Blake wrote: >>According to Stefan Schuerger on 5/15/2005 4:41 PM: >>>bash: test./test2: No such file or directory >>> >>>The trailing dot disappears and cannot be used in paths. Thi

Re: Path problems with trailing dot

2005-05-16 Thread Christopher Faylor
On Mon, May 16, 2005 at 06:53:26AM -0600, Eric Blake wrote: >-BEGIN PGP SIGNED MESSAGE- >Hash: SHA1 > >According to Stefan Schuerger on 5/15/2005 4:41 PM: >> bash: test./test2: No such file or directory >> >> The trailing dot disappears and cannot be used in paths. This seems to >> be a DO

Re: Path problems with trailing dot

2005-05-16 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Stefan Schuerger on 5/15/2005 4:41 PM: > bash: test./test2: No such file or directory > > The trailing dot disappears and cannot be used in paths. This seems to > be a DOS legacy of either NTFS or Windows. Yes - Windows strips all traili

Re: Path problems with trailing dot

2005-05-15 Thread Larry Hall
At 06:41 PM 5/15/2005, you wrote: >Today I noticed with streamripper that Cygwin appears to have a problem >with trailing dots in paths: > >> mkdir test. ; echo > test./test2 >bash: test./test2: No such file or directory > >The trailing dot disappears and cannot be used in paths. This seems to >be

Re: Path confusion

2005-04-03 Thread Luke Kendall
On 1 Apr, Igor Pechtchanski wrote: > On Fri, 1 Apr 2005, Luke Kendall wrote: > > > On 1 Apr, To: [EMAIL PROTECTED] wrote: > ^ > Eh? :-) A peculiarity of my MUA, when used to reply to my own messages. Sorry. [...] > > While just checking that, I also discov

Re: Path confusion

2005-04-01 Thread Jim Meyering
Eric Blake <[EMAIL PROTECTED]> wrote: > How about it - does it make sense to add an --xdev option to all of the > recursive descent tools (chown, chmod, ls, ...) to force the recursion to > stop at mount points, or is find/xargs the only supported idiom for this? It's seductive, but I don't think

Re: Path confusion

2005-04-01 Thread Bob Proulx
Eric Blake wrote: > [moving feature request portion of thread to bug-coreutils] > > According to Luke Kendall on 4/1/2005 12:11 AM: > find / -xdev -user "$USER" -print0 | xargs -0 chown Administrators.SYSTEM > >>> > >>> You must mean 'chown -R --from="$USER" ...' :-) > >> > >> Hmm, sound

Re: Path confusion

2005-04-01 Thread Igor Pechtchanski
On Fri, 1 Apr 2005, Luke Kendall wrote: > On 1 Apr, To: [EMAIL PROTECTED] wrote: ^ Eh? :-) > > > You must mean 'chown -R --from="$USER" ...' :-) > > > > Hmm, sounds better still. :-) > > D'oh! Not possible: there's no -xdev option on chown, so that would > d

  1   2   >