www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/11/14/13:29:47

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
Reply-To: Cygwin List <cygwin AT cygwin DOT com>
Message-Id: <6.1.0.6.0.20041114131651.04c7d890@pop.prospeed.net>
X-Sender:
Date: Sun, 14 Nov 2004 13:26:13 -0500
To: "Donat-Pierre Luigi" <dpluigi AT hotmail DOT com>, cygwin AT cygwin DOT com
From: Larry Hall <lh-no-personal-replies-please AT cygwin DOT com>
Subject: Re: Cygwin has two ROOT tree strcutures and the old one is not the default anymore.
In-Reply-To: <BAY1-F29ewP4ItgFtG50004ccdd@hotmail.com>
References: <BAY1-F29ewP4ItgFtG50004ccdd AT hotmail DOT com>
Mime-Version: 1.0
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id iAEITj51011647

At 05:42 AM 11/14/2004, you wrote:
>I have two root directory structures (both with usr, bin, etc, ...).  One under the standard C:\cygwin ( i.e. /cygdrive/c/cygwin) and the other under C:\cygwin\download (i.e.  /cygdrive/c/cygwin/download).
>When I enquire about the default bin location here is the reply:
>$ which ls
>/usr/bin/ls
>
>Here is what leads to it.  The last couple of days I had a problem with several DLLs (linintl-1.dll, cygwin DLL, …) when I was trying to install new components.  At the same time, ls and most command stopped working on a bash shell, except few like cd and pwd.  Although it seemed slightly better when I redefined the default path to the bin directory with PATH="/usr/local/bin:/usr/bin:/bin:$PATH", ls on /usr/bin directory prompted more complaints on missing dlls.  It felt as if a lot of the env parameter where not defined and cygwin totally incapacitated.
>
>I re-installed the libraries which were reported missing, even though there were present in their respective directory.   Out of frustration I re-installed the entire base Cygwin and most of the libraries and dev components.
>
>Now, everything seems working except that I have two directory structures, and the libraries and source code I compiled are in the depreciated structure.
>
>Did I break my cygwin?  Can I salvage my old structure in order to save all that I had organized and compiled in it (lots of hours)?
>
>Many thanks in advance for your help and suggestions,
>Donat-Pierre
>
>P.s.:  I attached a cygcheck.out file for further details (i.e. generated with cygcheck -s -v ­r ).


Looks like everything now points to your 'C:\cygwin\download' directory,
so that's apparently where you reinstalled.  If this is really the directory
that you specified in 'setup.exe' as the place to put your downloaded 
packages (during the install), then I'd really recommend that you choose a 
different directory.  The download directory is where 'setup.exe' puts the
packages it downloads and it assumes it can do anything it wants/needs with
this directory.  Installing to this same directory is not recommended.

As for things you've built locally that are not part of your currently 
installed Cygwin tree, you can move or copy them wherever you like or 
is convenient.  There's nothing "magical" about the root directory (or the
directory structure in general really).  If you copy/move things you've 
built, untar'd, etc, from your deprecated tree to the current install tree,
I don't foresee any obvious problems.




--
Larry Hall                              http://www.rfk.com
RFK Partners, Inc.                      (508) 893-9779 - RFK Office
838 Washington Street                   (508) 893-9889 - FAX
Holliston, MA 01746                     


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