logo       

Re: something wrong with my MSYS installation?: msg#00045

gnu.mingw.msys

Subject: Re: something wrong with my MSYS installation?

On 2006-1-22 18:44 UTC, wolfgang haefelinger wrote:
>
> I'm a bit puzzled by my MSYS 1.0 installation.
>
> $ grep --version
> grep (GNU grep) 2.4.2
>
> $ find -type f -exec grep xxx '{}' \;
> find: grep: No such file or directory
>
> $ echo $PATH
> c:/opt/visual
> cxx/2003/bin:/opt/jdk32/142_06/bin:.:/usr/local/bin:/mingw/bin:/bin:/c/WINDO
> WS/system32:/c/WINDOWS:/c/WINDOWS/System32/Wbem
>
> Looks like "visual cxx", i.e. the directory name with a blank,
> causes this problem. Everthing works fine removing path
>
> c:/opt/visual cxx/2003/bin
>
> from $PATH.

Are you sure that's a blank? Looks like a carriage return or newline.

I tried this
$export PATH=.:/usr/local/bin:/c/Program\ Files/:/c/WINDOWS/:/bin
$echo $PATH
.:/usr/local/bin:/c/Program Files/:/c/WINDOWS/:/bin
and the command you gave above ran the same way it did before.

Anyway, if you use an underscore instead of whitespace in that path,
you might save a lot of grief.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise