delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/01/17/13:39:16

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Message-ID: <478FA0A0.9000109@free.fr>
Date: Thu, 17 Jan 2008 19:38:24 +0100
From: Marc/MDPI314 <marc98 AT free DOT fr>
User-Agent: Thunderbird 2.0.0.9 (Windows/20071031)
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: help!!!!
References: <57b452fc0801170614m717acc6cm7afee8e1d227f698 AT mail DOT gmail DOT com> <478F88A7 DOT 8000209 AT cygwin DOT com>
In-Reply-To: <478F88A7.8000209@cygwin.com>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
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

Larry Hall (Cygwin) wrote
> octavian andrei wrote:
>> Hi,
>>
>> I installed cygwin in my PC. After that, I also wanted to install "The
>> Jam utility" (http://www.perforce.com/jam/jam.html).  I encountered
>> some problems and the reason is because the PATH variable (printenv
>> PATH) contains some Windows-based directories (like:
>> /usr/X11R6/bin:/cygdrive/c/Programes Files/Common Files/Symbian/Tools)
>
>
> Huh?  Those look like POSIX paths to me.
>
>
>> I tried to run "jam.exe" and the error was "This application has
>> failed because cygwin1.dll was not found. Re-installing the appication
>> may fix this problem"
>>
>> Any suggestion how to remove the space character from the PATH variable?
>
>
> Sounds to me like the problem is that the directory with 'cygwin1.dll'
> in it is missing from your path in whatever shell/console you're
> running 'jam.exe' from.  If that's not true, perhaps it's best to back
> up and provide us with a step-by-step sequence that reproduces the
> problem in context.  Having full path names with spaces in your path
> is not a guaranteed problem.
>
>
Indeed, I have a similar problem with PATH variable, but I noticed this 
was not caused by spaces,
but by the fact that Windows PATH is not case sensitive (and may contain 
"program files" or "Program Files") ...
and it's naturally wrong under cygwin which is case sensitive.
My errors occured in "configure" scripts (many different applications) 
when configure is searching commands trough PATH variable.
So I modified the cygwin.bat batch file too force a clean PATH with only 
C:\WINDOWS and C:\WINDOWS\system32, translated into cygwin  by
/cygdrive/c/WINDOWS and /cygdrive/c/WINDOWS/system32

There's perhaps something to do about that.


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