X-Recipient: archive-cygwin@delorie.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@free.fr>
User-Agent: Thunderbird 2.0.0.9 (Windows/20071031)
MIME-Version: 1.0
To: cygwin@cygwin.com
Subject: Re: help!!!!
References: <57b452fc0801170614m717acc6cm7afee8e1d227f698@mail.gmail.com> <478F88A7.8000209@cygwin.com>
In-Reply-To: <478F88A7.8000209@cygwin.com>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-IsSubscribed: yes
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.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/

