I found a few similar problems in your mail archives, but I did not quickly
find the problem I'm having.  Attached is cygcheck output as requested.

A few days ago, as a normal user on my MS Windows box, I went to cygwin.com
and ran setup.exe to install things, for "just me".  Everything seemed to go
OK.  When I ran the shortcut, it brought up a bash.  First time up it did
some setup.  Things worked.

Then I decided to install it for everyone.  I deleted all the cygwin stuff I
could find from my directories.  Then, from an Admin account, I went to
cygwin.com again, ran setup.exe again, and chose "For everyone" and put
things under c:\cygwin.

Again, everything seemed to go OK.  But when I, as the original user, try
the newly installed shortcut on my desktop, I get 

    bash.exe: warning: could not find /tmp, please create!
    bash-3.1$

complaint.  The other reports I found seem to indicate it gets further than
I get.

At first, I thought the entire installation must have gone south, somehow.
But... if I login as a different (and non-admin) user, the first time I
click on the Cygwin shortcut on that different user's desktop, it does its
first-time bash setup and works.

I've been trying to find some file or some shred of data that got left over
and undeleted from my first (and personal) installation that could be
polluting or distracting the for-everyone installation.  

I've tried running the batch commands by hand from a command shell, with the
same result.  Is there an option to bash to have it dump out a lot more of
what it is doing.  I already tried -v.

`pwd` indicates I'm in /usr/bin.  But no commands seem to work.  

`echo ~` indicates I'm in my Windows homedir, not my cygwin homedir, and
this is a difference with the other users.  But how and/or why?  And how to
I fit it?

I can't seem to run any non-builtin program; I always get file not found,
even with explicit pathnames, absolute and relative to `pwd`.

I was able to do `set > ~/foo.txt` from as me (David) and have attached that
as well.

Also attached (the ...2 versions) are the cygcheck and set from a user that
works.  Maybe somebody can find the crucial difference and tell me how to
fix it?

I use Linux daily for work; my Windows skills are minimal.

Any clues?
Thanks,
David
[EMAIL PROTECTED]


Attachment: cygcheck.out
Description: Binary data

!::='::\'
!C:='C:\cygwin\bin'
ALLUSERSPROFILE='C:\Documents and Settings\All Users'
APPDATA='C:\Documents and Settings\David\Application Data'
BASH=/bin/sh
BASH_ARGC=()
BASH_ARGV=()
BASH_LINENO=()
BASH_SOURCE=()
BASH_VERSINFO=([0]="3" [1]="1" [2]="17" [3]="6" [4]="release" 
[5]="i686-pc-cygwin")
BASH_VERSION='3.1.17(6)-release'
CLASSPATH='C:\Program Files\QuickTime\QTSystem\QTJava.zip'
COMMONPROGRAMFILES='C:\Program Files\Common Files'
COMPUTERNAME=THEMORNINGLIGHT
COMSPEC='C:\WINDOWS\system32\cmd.exe'
DIRSTACK=()
EUID=400
FP_NO_HOST_CHECK=NO
GROUPS=()
HISTFILE='/cygdrive/c/Documents and Settings/David/.bash_history'
HISTFILESIZE=500
HISTSIZE=500
HOME='/cygdrive/c/Documents and Settings/David'
HOMEDRIVE=C:
HOMEPATH='\Documents and Settings\David'
HOSTNAME=TheMorningLight
HOSTTYPE=i686
IFS=$' \t\n'
LOGONSERVER='\\THEMORNINGLIGHT'
MACHTYPE=i686-pc-cygwin
MAILCHECK=60
NUMBER_OF_PROCESSORS=1
OPTERR=1
OPTIND=1
OS=Windows_NT
OSTYPE=cygwin
PATH='/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Program
 Files/QuickTime/QTSystem/'
PATHEXT='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PIPESTATUS=([0]="0")
PPID=1
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER='x86 Family 15 Model 3 Stepping 4, GenuineIntel'
PROCESSOR_LEVEL=15
PROCESSOR_REVISION=0304
PROGRAMFILES='C:\Program Files'
PROMPT='$P$G'
PS1='\s-\v\$ '
PS2='> '
PS4='+ '
PWD=/usr/bin
QTJAVA='C:\Program Files\QuickTime\QTSystem\QTJava.zip'
SESSIONNAME=Console
SHELL=/bin/sh
SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:monitor
SHLVL=1
SYSTEMDRIVE=C:
SYSTEMROOT='C:\WINDOWS'
TEMP=/cygdrive/c/DOCUME~1/David/LOCALS~1/Temp
TERM=cygwin
TMP=/cygdrive/c/DOCUME~1/David/LOCALS~1/Temp
UID=400
USERDOMAIN=THEMORNINGLIGHT
USERNAME=David
USERPROFILE='C:\Documents and Settings\David'
WINDIR='C:\WINDOWS'
_=set

Attachment: cygcheck2.out
Description: Binary data

!::='::\'
!C:='C:\cygwin\bin'
ALLUSERSPROFILE='C:\Documents and Settings\All Users'
APPDATA='C:\Documents and Settings\Benji\Application Data'
BASH=/usr/bin/bash
BASH_ARGC=()
BASH_ARGV=()
BASH_LINENO=()
BASH_SOURCE=()
BASH_VERSINFO=([0]="3" [1]="1" [2]="17" [3]="6" [4]="release" 
[5]="i686-pc-cygwin")
BASH_VERSION='3.1.17(6)-release'
CLASSPATH='C:\Program Files\QuickTime\QTSystem\QTJava.zip'
COMMONPROGRAMFILES='C:\Program Files\Common Files'
COMPUTERNAME=THEMORNINGLIGHT
COMSPEC='C:\WINDOWS\system32\cmd.exe'
CVS_RSH=/bin/ssh
DIRSTACK=()
EUID=1012
FP_NO_HOST_CHECK=NO
GROUPS=()
HISTFILE=/home/Benji/.bash_history
HISTFILESIZE=500
HISTSIZE=500
HOME=/home/Benji
HOMEDRIVE=C:
HOMEPATH='\Documents and Settings\Benji'
HOSTNAME=TheMorningLight
HOSTTYPE=i686
IFS=$' \t\n'
INFOPATH=/usr/local/info:/usr/share/info:/usr/info:
LOGONSERVER='\\THEMORNINGLIGHT'
MACHTYPE=i686-pc-cygwin
MAILCHECK=60
MAKE_MODE=unix
MANPATH=/usr/local/man:/usr/share/man:/usr/man:
NUMBER_OF_PROCESSORS=1
OLDPWD=/usr/bin
OPTERR=1
OPTIND=1
OS=Windows_NT
OSTYPE=cygwin
PATH='/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/cygdrive/c/WINDOWS/system32:/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem:/cygdrive/c/Program
 Files/QuickTime/QTSystem/'
PATHEXT='.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH'
PIPESTATUS=([0]="0")
PPID=1
PRINTER='Canon MultiPASS F50 Printer'
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER='x86 Family 15 Model 3 Stepping 4, GenuineIntel'
PROCESSOR_LEVEL=15
PROCESSOR_REVISION=0304
PROGRAMFILES='C:\Program Files'
PROMPT='$P$G'
PS1='\[\e]0;[EMAIL PROTECTED] \[\e[33m\]\w\[\e[0m\]\n\$ '
PS2='> '
PS4='+ '
PWD=/home/Benji
QTJAVA='C:\Program Files\QuickTime\QTSystem\QTJava.zip'
SESSIONNAME=Console
SHELL=/bin/bash
SHELLOPTS=braceexpand:emacs:hashall:histexpand:history:interactive-comments:monitor
SHLVL=1
SYSTEMDRIVE=C:
SYSTEMROOT='C:\WINDOWS'
TEMP=/cygdrive/c/DOCUME~1/Benji/LOCALS~1/Temp
TERM=cygwin
TMP=/cygdrive/c/DOCUME~1/Benji/LOCALS~1/Temp
UID=1012
USER=Benji
USERDOMAIN=THEMORNINGLIGHT
USERNAME=Benji
USERPROFILE='C:\Documents and Settings\Benji'
WINDIR='C:\WINDOWS'
_=-svr
f=

--
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/

Reply via email to