delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,TW_YG,T_TO_NO_BRKTS_FREEMAIL |
X-Spam-Check-By: | sourceware.org |
MIME-Version: | 1.0 |
In-Reply-To: | <31350629.post@talk.nabble.com> |
References: | <31350629 DOT post AT talk DOT nabble DOT com> |
Date: | Fri, 8 Apr 2011 12:14:56 +0100 |
Message-ID: | <BANLkTinh5zkcBPHF=R0w4jNBsT8TzpFBxQ@mail.gmail.com> |
Subject: | Re: Windows tools can access /usr/share but not /usr/lib |
From: | Andy Koppe <andy DOT koppe AT gmail DOT com> |
To: | cygwin AT cygwin DOT com |
X-IsSubscribed: | yes |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
On 8 April 2011 12:04, Marc Girod wrote: > I am enhancing/fixing a perl tool (published to CPAN) which allows to imp= ort > files into a ClearCase > database (vob): synctree. Among the enhancements is support for cygwin. > While testing it on cygwin, I tried and failed to import it itself, from = the > perl install directory, which > is under /usr/lib. > > The tool spawns an IBM utility built for Windows (in this case): cleartoo= l. > It is this cleartool which cannot access C:\cygwin\usr\lib > > I notice that the Windows cmd shell has the exact same problem, which > disappears if using instead: > C:\cygwin\lib > > My question is (as I'll have to implement a workaround) how can I detect > this issue? > > I already found: > > $ df /usr/lib > Filesystem =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 1K-blocks =C2=A0 =C2=A0 =C2= =A0Used Available Use% Mounted on > C:/cygwin/lib =C2=A0 =C2=A0 =C2=A0 =C2=A0244196348 =C2=A035784364 2084119= 84 =C2=A015% /usr/lib > > Is this the answer to my question? Yes. You should use the cygpath utility to translate Cygwin paths to Windows paths, rather than just changing slashes and prefixing with C:\cygwin. Apart from everything else, Cygwin might be installed somewhere other than C:\cygwin. Andy -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |