This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Cygwin has two ROOT tree strcutures and the old one is not the default anymore.


At 03:50 PM 11/14/2004, you wrote:
>Larry,
>
>Thanks for your reply. C:\cygwin\download has always been the one used for Setup on my system, and it only created havoc when I re-installed base and library packages.  It was supposed to be on the place "to store the installation files" that Setup downloads.
>Do suggest I should re-install everything else-wheer and cygwin should re-instate the cygwin tree where it was intended originally?
>
>Right now, cd / points to C:\cygwin\download instead of  C:\cygwin\, which means that most of the local packages which were not re-installed  since are still in the old strucure (i.e.  C:\cygwin\) and do not seem visible anymore.
>
>I don't take the ROOT as magical but I thought that moving/copying (soft) linked object breaks the link.  Besides, it would be hard for me to track down all the places the source code I build put their files at the install (e.g. using make install).  The most tricky ones were the Math optimized libraries lapack, ATLAS, blas, FFTW, octave, which were all tricky for me to install.
>
>That is why I'd like to know how to reset the reference to ROOt to that of the intended path/tree structure.   How shall I proceed if at possible? What did I do to make Setup.exe install the base package in the downloads directory, so that I avoid the same mistake.
>
>Many thanks again for you reply.  I look forward to receiving any suggestions.


If you just want to have '/' point to 'c:\cygwin' instead of 
'c:\cygwin\download', just remount your mounts to point there.  '/',
'/usr/bin', and '/usr/lib' are the ones you're concerned with.  So 
do:

mount -b -s -f C:/cygwin /
mount -b -s -f C:/cygwin/bin /usr/bin
mount -b -s -f C:/cygwin/lib /usr/lib

If you have any Cygwin services running, I recommend stopping them, doing
the above, and restarting them.

As for what you did to setup to make it use your download directory as your
root install directory, you must have specified it as such in the 3rd
page of the install process.  You should type this directory into the 4th 
page where it asks for the local package directory only.  Actually, if you 
find the above 'mount' commands above too difficult to follow/do, you can 
rerun setup and simply reset your root directory to be 'c:\cygwin'.  It w
ill make the above mount changes for you as a result.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]