RE: bogus PATH transformations in bash 2.05a.0(3)-release w/cygwin 1.3.10

2002-05-22 Thread Schaible, Jorg

Hi Kevin,

   D:\bugPATH C:\Cygwin\bin;c:\cygwin\usr\bin;C:\Cygwin\usr\local\bin
[...]
   D:\bugpath
   PATH=c:\cygwin\bin;c:\cygwin\\bin;c:\cygwin\usr\local\bin

although this is a bug, why don't you omit for now the /usr/bin from the
path anyway ? /usr/bin is mounted to /bin and represents physically the same
set of files.

Regards,
Jorg

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: bogus PATH transformations in bash 2.05a.0(3)-release w/cygwin 1.3.10

2002-05-22 Thread Kevin Layer

 Just to make sure I understand.  After doing a complete reinstall with the
 latest setup.exe, the mounts are now correct?  Please confirm that with
 'cygcheck  -s' so I can put this to bed in my mind at least.

Yes, reinstall with cleaning the registry.  I've been a long time
cygwin user, going back to the beta days, and I don't remember ever
having cleaned out the registry from all the installs I've done.


Cygwin Win95/NT Configuration Diagnostics
Current System Time: Wed May 22 09:57:05 2002

Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 2

Path:   d:\acl62\src\cl\src
C:\ODI\OStore\bin
.
c:\bin
C:\Perl\bin
C:\Cygwin\bin
C:\Cygwin\usr\local\bin
C:\WINNT\system32
C:\WINNT
C:\WINNT\System32\Wbem
C:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT
C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin
C:\Program Files\Microsoft Visual Studio\Common\Tools
C:\Program Files\Microsoft Visual Studio\VC98\bin
C:\NCFTP
C:\Program Files\Resource Pro Kit
d:\openssl-0.9.6\out32dll

SysDir: C:\WINNT\System32
WinDir: C:\WINNT

HOME = `C:/'
MAKE_MODE = `UNIX'

Use `-r' to scan registry

a:  fd   N/AN/A
c:  hd  NTFS4329Mb  68% CP CS UN PA FC HOBART_C
d:  hd  NTFS   29259Mb  38% CP CS UN PA FC HOBART_D
l:  cd  CDFS 601Mb 100%CS UN   QTR25ENUD1
m:  cd   N/AN/A
w:  net NTFS   68980Mb  26% CP CSPAinternal
y:  net NTFS8408Mb  59% CP CSPAlayer
z:  net NTFS8350Mb  75% CP CSPApc

c: /c usertextmode
d: /d usertextmode
l: /l usertextmode
w: /w usertextmode
y: /y usertextmode
z: /z usertextmode
C:\cygwin  /  system  textmode
C:\cygwin/bin  /usr/bin   system  textmode
C:\cygwin/lib  /usr/lib   system  textmode
.  /cygdrive  usertextmode,noumount

Found: C:\Cygwin\bin\bash.exe
Found: C:\Cygwin\bin\cat.exe
Found: C:\Cygwin\bin\cpp.exe
Found: C:\Cygwin\bin\find.exe
Found: C:\Cygwin\bin\gcc.exe
Found: C:\Cygwin\bin\gdb.exe
Found: C:\Cygwin\bin\ld.exe
Found: C:\Cygwin\bin\ls.exe
Found: C:\Cygwin\bin\make.exe
Found: C:\Cygwin\bin\sh.exe

   58k 2002/05/07 C:\Cygwin\bin\cygbz2-1.dll
  621k 2002/05/17 C:\Cygwin\bin\cygcrypto.dll
   45k 2001/04/25 C:\Cygwin\bin\cygform5.dll
   35k 2002/01/09 C:\Cygwin\bin\cygform6.dll
   19k 2002/02/20 C:\Cygwin\bin\cyggdbm.dll
   17k 2001/06/28 C:\Cygwin\bin\cyghistory4.dll
   20k 2002/01/13 C:\Cygwin\bin\cyghistory5.dll
   22k 2001/12/13 C:\Cygwin\bin\cygintl-1.dll
   21k 2001/06/20 C:\Cygwin\bin\cygintl.dll
   81k 2000/12/05 C:\Cygwin\bin\cygitcl30.dll
   35k 2000/12/05 C:\Cygwin\bin\cygitk30.dll
   26k 2001/04/25 C:\Cygwin\bin\cygmenu5.dll
   20k 2002/01/09 C:\Cygwin\bin\cygmenu6.dll
  156k 2001/04/25 C:\Cygwin\bin\cygncurses++5.dll
  175k 2002/01/09 C:\Cygwin\bin\cygncurses++6.dll
  226k 2001/04/25 C:\Cygwin\bin\cygncurses5.dll
  202k 2002/01/09 C:\Cygwin\bin\cygncurses6.dll
   15k 2001/04/25 C:\Cygwin\bin\cygpanel5.dll
   12k 2002/01/09 C:\Cygwin\bin\cygpanel6.dll
   40k 2001/11/21 C:\Cygwin\bin\cygpcre.dll
   39k 2001/11/21 C:\Cygwin\bin\cygpcreposix.dll
  108k 2001/06/28 C:\Cygwin\bin\cygreadline4.dll
  121k 2002/01/13 C:\Cygwin\bin\cygreadline5.dll
  156k 2002/05/17 C:\Cygwin\bin\cygssl.dll
  390k 2000/12/05 C:\Cygwin\bin\cygtcl80.dll
5k 2000/12/05 C:\Cygwin\bin\cygtclpip80.dll
   10k 2000/12/05 C:\Cygwin\bin\cygtclreg80.dll
  623k 2000/12/05 C:\Cygwin\bin\cygtk80.dll
   50k 2002/03/12 C:\Cygwin\bin\cygz.dll
  751k 2002/02/25 C:\Cygwin\bin\cygwin1.dll
Cygwin DLL version info:
DLL version: 1.3.10
DLL epoch: 19
DLL bad signal mask: 19005
DLL old termios: 5
DLL malloc env: 28
API major: 0
API minor: 51
Shared data: 3
DLL identifier: cygwin1
Mount registry: 2
Cygnus registry name: Cygnus Solutions
Cygwin registry name: Cygwin
Program options name: Program Options
Cygwin mount registry name: mounts v2
Cygdrive flags: cygdrive flags
Cygdrive prefix: cygdrive prefix
Cygdrive default prefix: 
Build date: Mon Feb 25 11:14:34 EST 2002
Shared id: cygwin1S3


Cygwin Package Information
Package Version 
ash 20020131-1  
bash2.05a-3 
binutils20011002-1  
bison   1.35-1  
byacc   1.9-1   
bzip2   1.0.2-2 
crypt   1.0-1   
ctags   5.2-1   
cvs 1.11.0-1
cygwin  1.3.10-1
diff1.0-1   
diffutils   2.8.1-1 

Re: bogus PATH transformations in bash 2.05a.0(3)-release w/cygwin 1.3.10

2002-05-22 Thread Michael A Chase

On Wed, 22 May 2002 09:27:06 -0700 Kevin Layer [EMAIL PROTECTED] wrote:

  Your /usr/bin and /usr/lib mounts are incorrect.  There were some problems
  with that with some versions of setup.exe, but I think that has been fixed
  now.  
 
 I had the latest version of setup.exe (as of yesterday).  I decided to
 remove cygwin, even cleaning out `cygwin' references in the registry
 and reinstall from scratch.
 
 I also removed the c:\cygwin\usr\bin element from my path, since it is
 apparently obsolete now.
 
 After reinstalling the problem is no longer there.

Just to make sure I understand.  After doing a complete reinstall with the
latest setup.exe, the mounts are now correct?  Please confirm that with
'cygcheck  -s' so I can put this to bed in my mind at least.
-- 
Mac :})
** I normally forward private questions to the appropriate mail list. **
Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: bogus PATH transformations in bash 2.05a.0(3)-release w/cygwin 1.3.10

2002-05-22 Thread Kevin Layer

 Your /usr/bin and /usr/lib mounts are incorrect.  There were some problems
 with that with some versions of setup.exe, but I think that has been fixed
 now.  

I had the latest version of setup.exe (as of yesterday).  I decided to
remove cygwin, even cleaning out `cygwin' references in the registry
and reinstall from scratch.

I also removed the c:\cygwin\usr\bin element from my path, since it is
apparently obsolete now.

After reinstalling the problem is no longer there.

Thanks.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: bogus PATH transformations in bash 2.05a.0(3)-release w/cygwin 1.3.10

2002-05-21 Thread Kevin Layer

It's worse than I suspected originally, when I thought I could get
around it by not using bash.  Now, without bash:

makefile:

   SHELL = sh

   default: FORCE
   echo $(PATH)
   /c/winnt/system32/cmd

   FORCE:

and now:

   D:\bugPATH C:\Cygwin\bin;c:\cygwin\usr\bin;C:\Cygwin\usr\local\bin

   D:\bugsh -i
   $ make
   echo /bin:/usr/bin:/usr/local/bin
   /bin:/usr/bin:/usr/local/bin
   /c/winnt/system32/cmd
   Microsoft Windows 2000 [Version 5.00.2195]
   (C) Copyright 1985-2000 Microsoft Corp.

   D:\bugpath
   PATH=c:\cygwin\bin;c:\cygwin\\bin;c:\cygwin\usr\local\bin
===^^
   D:\bug

That path should be c:\cygwin\usr\bin, but the `usr' is missing.

Is there a workaround for this?  This bug is killing me.  If I don't
get a workaround soon, I'll have to go back to an older version.

Thanks.

--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: bogus PATH transformations in bash 2.05a.0(3)-release w/cygwin 1.3.10

2002-05-21 Thread Michael A Chase

On Tue, 21 May 2002 17:29:42 -0700 Kevin Layer [EMAIL PROTECTED] wrote:

D:\bugPATH C:\Cygwin\bin;c:\cygwin\usr\bin;C:\Cygwin\usr\local\bin
 
D:\bugsh -i
$ make
echo /bin:/usr/bin:/usr/local/bin
/bin:/usr/bin:/usr/local/bin
/c/winnt/system32/cmd
Microsoft Windows 2000 [Version 5.00.2195]
(C) Copyright 1985-2000 Microsoft Corp.
 
D:\bugpath
PATH=c:\cygwin\bin;c:\cygwin\\bin;c:\cygwin\usr\local\bin
 ===^^
D:\bug
 
 That path should be c:\cygwin\usr\bin, but the `usr' is missing.

What does cygcheck -s say?
-- 
Mac :})
** I normally forward private questions to the appropriate mail list. **
Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/




Re: bogus PATH transformations in bash 2.05a.0(3)-release w/cygwin 1.3.10

2002-05-21 Thread Kevin Layer

 What does cygcheck -s say?

Cygwin Win95/NT Configuration Diagnostics
Current System Time: Tue May 21 20:37:06 2002

Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 2

Path:   C:\ODI\OStore\bin
.
c:\bin
C:\Perl\bin
C:\Cygwin\bin
c:\cygwin\usr\bin
C:\Cygwin\usr\local\bin
C:\WINNT\system32
C:\WINNT
C:\WINNT\System32\Wbem
C:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT
C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin
C:\Program Files\Microsoft Visual Studio\Common\Tools
C:\Program Files\Microsoft Visual Studio\VC98\bin
C:\NCFTP
C:\Program Files\Resource Pro Kit
d:\openssl-0.9.6\out32dll

SysDir: C:\WINNT\System32
WinDir: C:\WINNT

HOME = `c:\tmp'
MAKE_MODE = `UNIX'

Use `-r' to scan registry

a:  fd   N/AN/A
c:  hd  NTFS4329Mb  67% CP CS UN PA FC HOBART_C
d:  hd  NTFS   29259Mb  38% CP CS UN PA FC HOBART_D
l:  cd  CDFS 601Mb 100%CS UN   QTR25ENUD1
m:  cd   N/AN/A
w:  net  N/AN/A
y:  net NTFS8408Mb  59% CP CSPAlayer
z:  net NTFS8350Mb  75% CP CSPApc

c:/ /c usertextmode
d:/ /d usertextmode
e:/ /e usertextmode
w:  /w usertextmode
y:  /y usertextmode
z:  /z usertextmode
.   /cygdrive  usertextmode,noumount
c:\cygwin\  /  system  textmode
c:\cygwin\/bin  /usr/bin   system  textmode
c:\cygwin\/lib  /usr/lib   system  textmode
.   /cygdrive  usertextmode,noumount

Found: C:\Cygwin\bin\bash.exe
Found: C:\Cygwin\bin\cat.exe
Found: C:\Cygwin\bin\cpp.exe
Found: C:\Cygwin\bin\find.exe
Found: C:\Cygwin\bin\gcc.exe
Found: C:\Cygwin\bin\gdb.exe
Found: C:\Cygwin\bin\ld.exe
Found: C:\Cygwin\bin\ls.exe
Found: C:\Cygwin\bin\make.exe
Found: C:\Cygwin\bin\sh.exe

   58k 2002/05/07 C:\Cygwin\bin\cygbz2-1.dll
  621k 2002/05/17 C:\Cygwin\bin\cygcrypto.dll
   45k 2001/04/25 C:\Cygwin\bin\cygform5.dll
   35k 2002/01/09 C:\Cygwin\bin\cygform6.dll
   19k 2002/02/20 C:\Cygwin\bin\cyggdbm.dll
   17k 2001/06/28 C:\Cygwin\bin\cyghistory4.dll
   20k 2002/01/13 C:\Cygwin\bin\cyghistory5.dll
   22k 2001/12/13 C:\Cygwin\bin\cygintl-1.dll
   21k 2001/06/20 C:\Cygwin\bin\cygintl.dll
   81k 2000/12/05 C:\Cygwin\bin\cygitcl30.dll
   35k 2000/12/05 C:\Cygwin\bin\cygitk30.dll
   26k 2001/04/25 C:\Cygwin\bin\cygmenu5.dll
   20k 2002/01/09 C:\Cygwin\bin\cygmenu6.dll
  156k 2001/04/25 C:\Cygwin\bin\cygncurses++5.dll
  175k 2002/01/09 C:\Cygwin\bin\cygncurses++6.dll
  226k 2001/04/25 C:\Cygwin\bin\cygncurses5.dll
  202k 2002/01/09 C:\Cygwin\bin\cygncurses6.dll
   15k 2001/04/25 C:\Cygwin\bin\cygpanel5.dll
   12k 2002/01/09 C:\Cygwin\bin\cygpanel6.dll
   40k 2001/11/21 C:\Cygwin\bin\cygpcre.dll
   39k 2001/11/21 C:\Cygwin\bin\cygpcreposix.dll
  108k 2001/06/28 C:\Cygwin\bin\cygreadline4.dll
  121k 2002/01/13 C:\Cygwin\bin\cygreadline5.dll
  156k 2002/05/17 C:\Cygwin\bin\cygssl.dll
  390k 2000/12/05 C:\Cygwin\bin\cygtcl80.dll
5k 2000/12/05 C:\Cygwin\bin\cygtclpip80.dll
   10k 2000/12/05 C:\Cygwin\bin\cygtclreg80.dll
  623k 2000/12/05 C:\Cygwin\bin\cygtk80.dll
   50k 2002/03/12 C:\Cygwin\bin\cygz.dll
  751k 2002/02/25 C:\Cygwin\bin\cygwin1.dll
Cygwin DLL version info:
DLL version: 1.3.10
DLL epoch: 19
DLL bad signal mask: 19005
DLL old termios: 5
DLL malloc env: 28
API major: 0
API minor: 51
Shared data: 3
DLL identifier: cygwin1
Mount registry: 2
Cygnus registry name: Cygnus Solutions
Cygwin registry name: Cygwin
Program options name: Program Options
Cygwin mount registry name: mounts v2
Cygdrive flags: cygdrive flags
Cygdrive prefix: cygdrive prefix
Cygdrive default prefix: 
Build date: Mon Feb 25 11:14:34 EST 2002
Shared id: cygwin1S3


Cygwin Package Information
Package Version 
ash 20020131-1  
bash2.05a-3 
binutils20011002-1  
bison   1.35-1  
byacc   1.9-1   
bzip2   1.0.2-2 
crypt   1.0-1   
ctags   5.2-1   
cvs 1.11.0-1
cygwin  1.3.10-1
diff1.0-1   
diffutils   2.8.1-1 
fileutils   4.1-1   
findutils   4.1.7-4 
flex2.5.4-2 
gawk3.0.4-1 
gcc 2.95.3-5
gdb 20010428-3  
gdbm1.8.0-4 
grep2.5-1   

Re: bogus PATH transformations in bash 2.05a.0(3)-release w/cygwin 1.3.10

2002-05-21 Thread Michael A Chase

On Tue, 21 May 2002 20:38:23 -0700 Kevin Layer [EMAIL PROTECTED] wrote:

  What does cygcheck -s say?
 
 Cygwin Win95/NT Configuration Diagnostics
 Current System Time: Tue May 21 20:37:06 2002
 
 Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 2
 
 Path:C:\ODI\OStore\bin
 .
 c:\bin
 C:\Perl\bin
 C:\Cygwin\bin
 c:\cygwin\usr\bin
 C:\Cygwin\usr\local\bin
 C:\WINNT\system32
 C:\WINNT
 C:\WINNT\System32\Wbem
 C:\Program Files\Microsoft Visual Studio\Common\Tools\WinNT
 C:\Program Files\Microsoft Visual Studio\Common\MSDev98\Bin
 C:\Program Files\Microsoft Visual Studio\Common\Tools
 C:\Program Files\Microsoft Visual Studio\VC98\bin
 C:\NCFTP
 C:\Program Files\Resource Pro Kit
 d:\openssl-0.9.6\out32dll
 . . .
 c:/ /c usertextmode
 d:/ /d usertextmode
 e:/ /e usertextmode
 w:  /w usertextmode
 y:  /y usertextmode
 z:  /z usertextmode
 .   /cygdrive  usertextmode,noumount
 c:\cygwin\  /  system  textmode
 c:\cygwin\/bin  /usr/bin   system  textmode
 c:\cygwin\/lib  /usr/lib   system  textmode
 .   /cygdrive  usertextmode,noumount

Your /usr/bin and /usr/lib mounts are incorrect.  There were some problems
with that with some versions of setup.exe, but I think that has been fixed
now.  In the meantime, it may have caused some files to be installed under
c:\cygwin\usr\bin\ and c:\cygwin\usr\lib\ that should have gone to
c:\cygwin\bin\ and c:\cygwin\lib\ instead, so you need to make sure
anything that got misplaced gets moved.

Note that /usr/bin/ === /bin and /usr/lib/ === /lib/ when the mounts are
correct.

To clean things up, execute the following commands in a MSDOS window:

REM Do this from a cmd.exe window, __NOT__ a bash shell window
move c:\cygwin\usr\bin\* c:\cygwin\bin\
move c:\cygwin\usr\lib\* c:\cygwin\lib\
umount /usr/bin
umount /usr/lib
mount -f -u -t C:/cygwin/bin /usr/bin
mount -f -u -t C:/cygwin/lib /usr/lib

-- 
Mac :})
** I normally forward private questions to the appropriate mail list. **
Ask Smarter: http://www.tuxedo.org/~esr/faqs/smart-questions.html
Give a hobbit a fish and he eats fish for a day.
Give a hobbit a ring and he eats fish for an age.



--
Unsubscribe info:  http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ:   http://cygwin.com/faq/