Mail Archives: cygwin/2005/10/20/15:15:40
------_=_NextPart_000_01C5D5AA.9289E05F
Content-Type: text/plain;
charset="iso-8859-1"
On Thu, 20 Oct 2005, Igor Pechtchanski wrote:
>
> Hmm, very weird. According to a couple of Google searches, the above
> looks like a message from UWin startup files -- Cygwin does
> *not* have a
> profile.global, and the Cygwin bash won't look for anything in
> /usr/local/etc by default. Do you, perhaps, have a c:\.bashrc or
> c:\.bash_profile or c:\.profile left over from a prior installation of
> UWin?
Aha! Your response led me to the answer for this problem. Within my company (Ericsson), we have our Unix home directories mounted as the H:\ drive on our PCs. The H:\ dir just happens to contain a .profile, which just happens to execute /usr/local/etc/profile.global. And, for whatever reason, when I start a DOS prompt, it defaults to the H:\ drive. Also, after installing Cygwin, /etc/passwd sets my home dir to /cygdrive/h by default.
So, the answer to the problem is that Cygwin's bash was finding and executing .profile from an unrelated Unix environment. I'm CCing Chloe, since I'm curious if they have a similar setup within Qualcomm.
> Just for reference, the way it *should* set $HOME is described in your
> /etc/passwd (if you don't have the latest, copy it from
> /etc/defaults/etc/passwd).
>
> ...
>
> Hmm, it would be interesting to see what "echo $HOME" says in a bash
> session that you start using "c:\cygwin\bin\bash --norc"...
Here's that output:
-----
C:\cygwin\bin>bash --norc
bash-3.00$ echo $HOME
/cygdrive/h
-----
Again, that shows the root of the problem.
In the end, I changed /etc/passwd to point to my My Documents dir instead of /cygdrive/h and now everything works fine. Also, concerning the other post I sent about rxvt setting the font size/spacing to something funny, after changing /etc/passwd, rxvt acts fine as well.
> > Thank you for your help so far, Igor.
>
> You're welcome -- it's a curious problem, and I'd like to get to the
> bottom of this. Also, I don't think you've ever posted the output of
> "cygcheck -svr" on your system (in its non-working configuration), as
> requested in <http://cygwin.com/problems.html>. Please make sure you
> *attach* the output as an uncompressed text attachment, rather than
> include it inline.
Thanks again! And just to nail the coffin shut on this, I've attached the output of cygcheck.
- Jason Fritz
------_=_NextPart_000_01C5D5AA.9289E05F
Content-Type: application/octet-stream;
name="cygcheck.out"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: attachment;
filename="cygcheck.out"
Cygwin Configuration Diagnostics
Current System Time: Thu Oct 20 08:49:16 2005
Windows 2000 Professional Ver 5.0 Build 2195 Service Pack 4
Path: C:\WINNT\system32
C:\WINNT
C:\WINNT\System32\Wbem
C:\Program Files\ATI Technologies\ATI Control Panel
C:\Program Files\RACOM\RACOM Internet Client\
C:\Program Files\NETMAN~1\System
C:\Program Files\Rational\common
C:\Program Files\Rational\Rose RealTime\bin\win32
C:\Qt\4.0.1\bin
Output from C:\cygwin\bin\id.exe (nontsec)
UID: 19234(ewujafr) GID: 10545(mkgroup-l-d)
0(root) 544(Administrators) 545(Users)
10545(mkgroup-l-d)
Output from C:\cygwin\bin\id.exe (ntsec)
UID: 19234(ewujafr) GID: 10545(mkgroup-l-d)
0(root) 544(Administrators) 545(Users)
10545(mkgroup-l-d)
SysDir: C:\WINNT\system32
WinDir: C:\WINNT
Path =3D `C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\Program File=
s\ATI Technologies\ATI Control Panel;C:\Program Files\RACOM\RACOM Internet =
Client\;C:\Program Files\NETMAN~1\System;C:\Program Files\Rational\common;C=
:\Program Files\Rational\Rose RealTime\bin\win32;C:\Qt\4.0.1\bin'
ALLUSERSPROFILE =3D `C:\Documents and Settings\All Users'
APPDATA =3D `C:\Documents and Settings\ewujafr\Application Data'
CommonProgramFiles =3D `C:\Program Files\Common Files'
COMPUTERNAME =3D `EGKTO004JPCEQLF'
ComSpec =3D `C:\WINNT\system32\cmd.exe'
HOMEDRIVE =3D `H:'
HOMEPATH =3D `\'
HOMESHARE =3D `\\stimpy\EWUJAFR'
LOGONSERVER =3D `\\EAMCSAMRC03'
NUMBER_OF_PROCESSORS =3D `1'
OS =3D `Windows_NT'
Os2LibPath =3D `C:\WINNT\system32\os2\dll;'
PATHEXT =3D `.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PROCESSOR_ARCHITECTURE =3D `x86'
PROCESSOR_IDENTIFIER =3D `x86 Family 6 Model 13 Stepping 6, GenuineIntel'
PROCESSOR_LEVEL =3D `6'
PROCESSOR_REVISION =3D `0d06'
ProgramFiles =3D `C:\Program Files'
PROMPT =3D `$P$G'
QMAKESPEC =3D `win32-g++'
QTDIR =3D `C:\Qt\4.0.1'
ROSERT_HOME =3D `C:\Program Files\Rational\Rose RealTime'
ROSERT_HOST =3D `win32'
SystemDrive =3D `C:'
SystemRoot =3D `C:\WINNT'
TEMP =3D `C:\DOCUME~1\ewujafr\LOCALS~1\Temp'
TMP =3D `C:\DOCUME~1\ewujafr\LOCALS~1\Temp'
USERDNSDOMAIN =3D `eamcs.ericsson.se'
USERDOMAIN =3D `EAMCS'
USERNAME =3D `ewujafr'
USERPROFILE =3D `C:\Documents and Settings\ewujafr'
windir =3D `C:\WINNT'
POSIXLY_CORRECT =3D `1'
HKEY_CURRENT_USER\Software\Cygnus Solutions
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2
(default) =3D `/cygdrive'
cygdrive flags =3D 0x00000022
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/
(default) =3D `C:\cygwin'
flags =3D 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/bin
(default) =3D `C:\cygwin/bin'
flags =3D 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\mounts v2\/usr/lib
(default) =3D `C:\cygwin/lib'
flags =3D 0x0000000a
HKEY_LOCAL_MACHINE\SOFTWARE\Cygnus Solutions\Cygwin\Program Options
c: hd NTFS 38146Mb 13% CP CS UN PA FC ESOE_W2K
d: cd CDFS 620Mb 100% CS BROODWAR
g: net NTFS 14336Mb 73% CP CS UN PA groupst
h: net FAT 3072Mb 46% CP CS UN CIFS.HOMEDIR
i: net NTFS 19Mb 12% CP CS UN PA FC GroupST
C:\cygwin / system binmode
C:\cygwin/bin /usr/bin system binmode
C:\cygwin/lib /usr/lib system binmode
. /cygdrive system binmode,cygdrive
Found: C:\cygwin\bin\awk.exe
Found: C:\cygwin\bin\bash.exe
Found: C:\cygwin\bin\cat.exe
Found: C:\cygwin\bin\cp.exe
Not Found: cpp (good!)
Found: C:\cygwin\bin\find.exe
Not Found: gcc
Not Found: gdb
Found: C:\cygwin\bin\grep.exe
Not Found: ld
Found: C:\cygwin\bin\ls.exe
Not Found: make
Found: C:\cygwin\bin\mv.exe
Found: C:\cygwin\bin\rm.exe
Found: C:\cygwin\bin\sed.exe
Found: C:\cygwin\bin\sh.exe
Found: C:\cygwin\bin\tar.exe
56k 2005/07/09 C:\cygwin\bin\cygbz2-1.dll - os=3D4.0 img=3D1.0 sys=3D4.0
"cygbz2-1.dll" v0.0 ts=3D2005/7/8 23:09
18k 2004/07/06 C:\cygwin\bin\cygcharset-1.dll - os=3D4.0 img=3D1.0 sys=
=3D4.0
"cygcharset-1.dll" v0.0 ts=3D2004/7/6 12:09
40k 2005/09/29 C:\cygwin\bin\cygform-8.dll - os=3D4.0 img=3D1.0 sys=3D4.0
"cygform-8.dll" v0.0 ts=3D2005/9/28 20:15
45k 2001/04/25 C:\cygwin\bin\cygform5.dll - os=3D4.0 img=3D1.0 sys=3D4.0
"cygform5.dll" v0.0 ts=3D2001/4/24 23:28
35k 2002/01/09 C:\cygwin\bin\cygform6.dll - os=3D4.0 img=3D1.0 sys=3D4.0
"cygform6.dll" v0.0 ts=3D2002/1/8 23:03
48k 2003/08/09 C:\cygwin\bin\cygform7.dll - os=3D4.0 img=3D1.0 sys=3D4.0
"cygform7.dll" v0.0 ts=3D2003/8/9 3:25
28k 2003/07/20 C:\cygwin\bin\cyggdbm-3.dll - os=3D4.0 img=3D1.0 sys=3D4.0
"cyggdbm-3.dll" v0.0 ts=3D2003/7/20 1:58
30k 2003/08/11 C:\cygwin\bin\cyggdbm-4.dll - os=3D4.0 img=3D1.0 sys=3D4.0
"cyggdbm-4.dll" v0.0 ts=3D2003/8/10 20:12
19k 2003/03/22 C:\cygwin\bin\cyggdbm.dll - os=3D4.0 img=3D1.0 sys=3D4.0
"cyggdbm.dll" v0.0 ts=3D2002/2/19 20:05
15k 2003/07/20 C:\cygwin\bin\cyggdbm_compat-3.dll - os=3D4.0 img=3D1.0 s=
ys=3D4.0
"cyggdbm_compat-3.dll" v0.0 ts=3D2003/7/20 2:00
15k 2003/08/11 C:\cygwin\bin\cyggdbm_compat-4.dll - os=3D4.0 img=3D1.0 s=
ys=3D4.0
"cyggdbm_compat-4.dll" v0.0 ts=3D2003/8/10 20:13
17k 2001/06/28 C:\cygwin\bin\cyghistory4.dll - os=3D4.0 img=3D1.0 sys=3D=
4.0
"cyghistory4.dll" v0.0 ts=3D2001/1/6 21:34
29k 2003/08/10 C:\cygwin\bin\cyghistory5.dll - os=3D4.0 img=3D1.0 sys=3D=
4.0
"cyghistory5.dll" v0.0 ts=3D2003/8/10 17:16
24k 2005/07/29 C:\cygwin\bin\cyghistory6.dll - os=3D4.0 img=3D1.0 sys=3D=
4.0
"cyghistory6.dll" v0.0 ts=3D2005/7/28 21:57
991k 2004/07/06 C:\cygwin\bin\cygiconv-2.dll - os=3D4.0 img=3D1.0 sys=3D4=
.0
"cygiconv-2.dll" v0.0 ts=3D2004/7/6 12:10
22k 2001/12/13 C:\cygwin\bin\cygintl-1.dll - os=3D4.0 img=3D1.0 sys=3D4.0
"cygintl-1.dll" v0.0 ts=3D2001/12/13 2:28
37k 2003/08/10 C:\cygwin\bin\cygintl-2.dll - os=3D4.0 img=3D1.0 sys=3D4.0
"cygintl-2.dll" v0.0 ts=3D2003/8/10 15:50
54k 2004/07/06 C:\cygwin\bin\cygintl-3.dll - os=3D4.0 img=3D1.0 sys=3D4.0
"cygintl-3.dll" v0.0 ts=3D2004/7/6 11:51
21k 2001/06/20 C:\cygwin\bin\cygintl.dll - os=3D4.0 img=3D1.0 sys=3D4.0
"cygintl.dll" v0.0 ts=3D2001/6/20 11:09
21k 2005/09/29 C:\cygwin\bin\cygmenu-8.dll - os=3D4.0 img=3D1.0 sys=3D4.0
"cygmenu-8.dll" v0.0 ts=3D2005/9/28 20:15
26k 2001/04/25 C:\cygwin\bin\cygmenu5.dll - os=3D4.0 img=3D1.0 sys=3D4.0
"cygmenu5.dll" v0.0 ts=3D2001/4/24 23:27
20k 2002/01/09 C:\cygwin\bin\cygmenu6.dll - os=3D4.0 img=3D1.0 sys=3D4.0
"cygmenu6.dll" v0.0 ts=3D2002/1/8 23:03
29k 2003/08/09 C:\cygwin\bin\cygmenu7.dll - os=3D4.0 img=3D1.0 sys=3D4.0
"cygmenu7.dll" v0.0 ts=3D2003/8/9 3:25
67k 2005/09/29 C:\cygwin\bin\cygncurses++-8.dll - os=3D4.0 img=3D1.0 sys=
=3D4.0
"cygncurses++-8.dll" v0.0 ts=3D2005/9/28 20:16
156k 2001/04/25 C:\cygwin\bin\cygncurses++5.dll - os=3D4.0 img=3D1.0 sys=
=3D4.0
"cygncurses++5.dll" v0.0 ts=3D2001/4/24 23:29
175k 2002/01/09 C:\cygwin\bin\cygncurses++6.dll - os=3D4.0 img=3D1.0 sys=
=3D4.0
"cygncurses++6.dll" v0.0 ts=3D2002/1/8 23:03
226k 2005/09/29 C:\cygwin\bin\cygncurses-8.dll - os=3D4.0 img=3D1.0 sys=
=3D4.0
"cygncurses-8.dll" v0.0 ts=3D2005/9/28 20:02
226k 2001/04/25 C:\cygwin\bin\cygncurses5.dll - os=3D4.0 img=3D1.0 sys=3D=
4.0
"cygncurses5.dll" v0.0 ts=3D2001/4/24 23:17
202k 2002/01/09 C:\cygwin\bin\cygncurses6.dll - os=3D4.0 img=3D1.0 sys=3D=
4.0
"cygncurses6.dll" v0.0 ts=3D2002/1/8 23:03
224k 2003/08/09 C:\cygwin\bin\cygncurses7.dll - os=3D4.0 img=3D1.0 sys=3D=
4.0
"cygncurses7.dll" v0.0 ts=3D2003/8/9 3:24
11k 2005/09/29 C:\cygwin\bin\cygpanel-8.dll - os=3D4.0 img=3D1.0 sys=3D4=
.0
"cygpanel-8.dll" v0.0 ts=3D2005/9/28 20:15
15k 2001/04/25 C:\cygwin\bin\cygpanel5.dll - os=3D4.0 img=3D1.0 sys=3D4.0
"cygpanel5.dll" v0.0 ts=3D2001/4/24 23:27
12k 2002/01/09 C:\cygwin\bin\cygpanel6.dll - os=3D4.0 img=3D1.0 sys=3D4.0
"cygpanel6.dll" v0.0 ts=3D2002/1/8 23:03
19k 2003/08/09 C:\cygwin\bin\cygpanel7.dll - os=3D4.0 img=3D1.0 sys=3D4.0
"cygpanel7.dll" v0.0 ts=3D2003/8/9 3:24
176k 2005/09/06 C:\cygwin\bin\cygpcre-0.dll - os=3D4.0 img=3D1.0 sys=3D4.0
"cygpcre-0.dll" v0.0 ts=3D2005/9/6 14:49
299k 2005/09/06 C:\cygwin\bin\cygpcrecpp-0.dll - os=3D4.0 img=3D1.0 sys=
=3D4.0
"cygpcrecpp-0.dll" v0.0 ts=3D2005/9/6 15:26
6k 2005/09/06 C:\cygwin\bin\cygpcreposix-0.dll - os=3D4.0 img=3D1.0 sys=
=3D4.0
"cygpcreposix-0.dll" v0.0 ts=3D2005/9/6 15:26
22k 2002/06/09 C:\cygwin\bin\cygpopt-0.dll - os=3D4.0 img=3D1.0 sys=3D4.0
"cygpopt-0.dll" v0.0 ts=3D2002/6/8 23:45
108k 2001/06/28 C:\cygwin\bin\cygreadline4.dll - os=3D4.0 img=3D1.0 sys=
=3D4.0
"cygreadline4.dll" v0.0 ts=3D2001/1/6 21:34
148k 2003/08/10 C:\cygwin\bin\cygreadline5.dll - os=3D4.0 img=3D1.0 sys=
=3D4.0
"cygreadline5.dll" v0.0 ts=3D2003/8/10 17:16
144k 2005/07/29 C:\cygwin\bin\cygreadline6.dll - os=3D4.0 img=3D1.0 sys=
=3D4.0
"cygreadline6.dll" v0.0 ts=3D2005/7/28 21:57
65k 2005/08/23 C:\cygwin\bin\cygz.dll - os=3D4.0 img=3D1.0 sys=3D4.0
"cygz.dll" v0.0 ts=3D2005/8/22 20:03
1265k 2005/07/03 C:\cygwin\bin\cygwin1.dll - os=3D4.0 img=3D1.0 sys=3D4.0
"cygwin1.dll" v0.0 ts=3D2005/7/2 18:30
Cygwin DLL version info:
DLL version: 1.5.18
DLL epoch: 19
DLL bad signal mask: 19005
DLL old termios: 5
DLL malloc env: 28
API major: 0
API minor: 132
Shared data: 4
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:=20
Build date: Sat Jul 2 20:30:04 EDT 2005
Shared id: cygwin1S4
Can't find the cygrunsrv utility, skipping services check.
Cygwin Package Information
Last downloaded files to: C:\download\cygwin
Last downloaded files from: ftp://ftp.ale.org/pub/mirrors/cygwin
Package Version
_update-info-dir 00323-1
alternatives 1.3.20a-1
ash 20040127-3
base-files 3.6-1
base-passwd 2.2-1
bash 3.0-11
bzip2 1.0.3-1
coreutils 5.3.0-9
cygutils 1.2.9-1
cygwin 1.5.18-1
cygwin-doc 1.4-3
diffutils 2.8.7-1
editrights 1.01-1
findutils 4.2.25-2
gawk 3.1.5-1
gdbm 1.8.3-7
grep 2.5.1a-2
groff 1.18.1-2
gzip 1.3.5-1
less 381-1
libbz2_1 1.0.3-1
libcharset1 1.9.2-1
libgdbm 1.8.0-5
libgdbm-devel 1.8.3-7
libgdbm3 1.8.3-3
libgdbm4 1.8.3-7
libiconv 1.9.2-1
libiconv2 1.9.2-1
libintl 0.10.38-3
libintl1 0.10.40-1
libintl2 0.12.1-3
libintl3 0.14.1-1
libncurses5 5.2-1
libncurses6 5.2-8
libncurses7 5.3-4
libncurses8 5.4-4
libpcre0 6.3-1
libpopt0 1.6.4-4
libreadline4 4.1-2
libreadline5 4.3-5
libreadline6 5.0-4
login 1.9-7
man 1.5p-1
mktemp 1.5-3
ncurses 5.4-4
sed 4.1.4-1
tar 1.15.1-2
termcap 20050421-1
terminfo 5.4_20041009-1
texinfo 4.8-1
which 1.7-1
zlib 1.2.3-1
Use -h to see help about each section
------_=_NextPart_000_01C5D5AA.9289E05F
Content-Type: text/plain; charset=us-ascii
--
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/
------_=_NextPart_000_01C5D5AA.9289E05F--
- Raw text -