This is the mail archive of the cygwin@sources.redhat.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Getting Past 'command not found'


Dear CYGNUS,

I am trying to run build a cygwin bash environment on '98 as a prerequisite to 
building a sqsh for Sybase environment. However I not got far, so this is 
probably a straight forward configuration issue.
 
So far I have followed the cygwin users guide, got SHELL.../e:4096 /p  working 
but as yet as I cannot get mkdir to work. (I get similar results under NT). 
This is what I get when I start cygwin.bat:-

BASH.EXE: id: command not found
gbaillie@NO1 ~
$ mkdir
BASH.EXE: mkdir: command not found
 
My directories look like this:-
 
D:/cygwin
              /bin
              /etc
                   /setup
              /home
                      /gbaillie
              /lib
                  /ld/scripts
              /tmp
              /usr
                   /many sub directories
              /var
                   /tmp
                   /run
 
cygwin.bat looks like this:-
@echo off
d:
chdir \cygwin\bin
set CYGHOME=//d/cygwin
set HOME=%CYGHOME%/home/gbaillie
set SHELL=//d/cygwin/bin/bash
set LIBRARY_PATH=//d/cygwin/lib
SET MAKE_MODE=unix
SET PATH=D:\cygwin\bin;D:\cygwin\usr\local\bin;%PATH%

bash --login -i
 
My .profile shows confusion about whether to use SET or EXPORT for PATH and 
what does cygdrive mean?:-
$ cat .profile
set PATH=//d/cygwin/bin:.
export PATH=/usr/bin:/bin:/cygdrive/c/windows:.
unset MAILCHECK
set SHELL=//d/cygwin/bin/bash
 
output from mount looks like this:-
$ mount
Device              Directory           Type         Flags
d:\cygwin\bin       /bin                user         textmode
d:\cygwin\bin       /usr/bin            user         textmode
d:\cygwin\lib       /usr/lib            user         textmode
d:\cygwin           /                   user         textmode
 
So currently I can do cd, pwd, mount, echo and cat, but NOT mkdir, ls, bash 
info, awk and cron. Help with  "command not found" would be gratefully received.
 
Thanks,
        Gordon


--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]