delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2005/08/17/10:02:26

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <43034358.1070304@familiehaase.de>
Date: Wed, 17 Aug 2005 16:02:00 +0200
From: "Gerrit P. Haase" <gerrit AT familiehaase DOT de>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.7.11) Gecko/20050728
MIME-Version: 1.0
To: David <DavidGinzburg AT gmail DOT com>, cygwin <cygwin AT cygwin DOT com>
Subject: Re: Cant add to path
References: <loom DOT 20050817T143252-949 AT post DOT gmane DOT org>
In-Reply-To: <loom.20050817T143252-949@post.gmane.org>
X-IsSubscribed: yes

David wrote:

> Hi,
> I installed cygwin_NT-5.1.
> Built a project needed.
> I tried to add to my PATH a few 
> paths but i could not locate my .bashrc
> or bash_profile like
> on my linux machine.
> I read some DOCs but could not find the
> files on my ~ dir so tried to 
> edit \etc\skel\.bash_profile or \etc\skel\.bashrc,
> but there was no effect on $PATH 

Just copy the files form /etc/skel to your home dir and edit there.
The skeleton files are what the name says, they don't effect your
environment as long as they are not in your home directory.

> so I exported from the command line
> and my PATH looks like this:
> echo $PATH
> /usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin
> :/cygdrive/c/Program Files/Common
> Files/Borland Shared/BDE/:/cygdrive/c/Program
> Files/Borland/BDS/3.0/Bin:/cygdrive/c/WINDOWS/system32
> :/cygdrive/c/WINDOWS:/cygdrive/c/WINDOWS/System32/Wbem
> :/cygdrive/c/Program
> Files/Rational/common
> :/cygdrive/c/Program Files/Microsoft SQLServer/80/Tools/BINN
> :/cygdrive/c/Documents and Settings/david/MyDocuments/Borland Studio Projects/Bpl
> :/srilm/bin:srilm/bin/cygwin:/MorphTagger
> 
> 
> Still whenever i try to invoke an execuatble 
> from /srilm/bin (/srilm/bin is one
> of my additions to PATH)
> I get a command not found messege. Same goes for which command.

PATH with spaces is bad.  Try to mount the directories needed
and add the mount to the path then.


HTH,
Gerrit
-- 
=^..^=

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

- Raw text -


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