From: Larry Hall <lh-no-personal-replies-please@cygwin.com>
Reply-To: Cygwin List <cygwin@cygwin.com>
To: "Donat-Pierre Luigi" <dpluigi@hotmail.com>, cygwin@cygwin.com
Subject: Re: Cygwin has two ROOT tree strcutures and the old one is not
the default anymore.
Date: Sun, 14 Nov 2004 13:26:13 -0500
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