delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/08/18/06:01:16

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
From: Gordon DOT Baillie AT citicorp DOT com
X-OpenMail-Hops: 1
Date: Fri, 18 Aug 2000 11:00:03 +0100
Message-Id: <H000233506ae2d71@MHS>
Subject: Getting Past 'command not found'
MIME-Version: 1.0
TO: cygwin AT sourceware DOT cygnus DOT com
CC: Stephen DOT Barrett AT citicorp DOT com, Khalid DOT Ishaq AT citicorp DOT com,
Simon DOT Walker AT citicorp DOT com

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 AT 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 AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019