From deleeuw@stat.ucla.edu  Tue Jul 23 01:20:38 2002
From: deleeuw@stat.ucla.edu (Jan de Leeuw)
Date: Mon, 22 Jul 2002 17:20:38 -0700
Subject: bug in R-1.5.1 for Mac OS X installer (PR#1825)
In-Reply-To: <200207222341.BAA05215@pubhealth.ku.dk>
Message-ID: <03EC4BE7-9DD2-11D6-B3F7-000393860F3C@stat.ucla.edu>

Hello

Thanks for the report. Do you have

/usr/local->/sw

or

/sw->/usr/local

i.e. which one of the two only exists as a soft link ? Probably /sw,  
i.e.
fink really installs in /usr/local.

It is generally bad to confound /sw and /usr/local, see

http://fink.sourceforge.net/faq/general.php#usr-local

The R installer tries to install in /sw (fink stuff) and in /usr/local
(R stuff). It must get confused when it is trying to locate /sw/lib,
deciding this does not exist, then creating it as /usr/local/lib.
Same for /sw/bin. I don't think there is much I can do about it,
it's what the Installer does. I can warn people.

By the way, where was your bash executable ? This was not
overwritten ?

--- Jan


On Monday, Jul 22, 2002, at 16:41 US/Pacific, kkuroda@crl.ucsd.edu  
wrote:

> Hi,
>
> Thanks for developing an outstanding software for free. I admire all  
> your
> effort greatly. I would like to submit a bug report on the R-1.5.1
> installer (in .mpkg, .pkg format) for Mac OS X.
>
> I'm using fink in conjunction with Darwin. In my environment,  
> /usr/local is
> symbolically linked to /sw which is fink's main directory. This is to
> conform the directory structure on my machine to the standard  
> UNIX/Linux
> one.
>
> It turned out that R-1.5.1 installer ignores the symbolic link and  
> creates
> new /usr/local/bin and /usr/local/lib directories on their own, thereby
> installing all its stuff into them. This is really annoying. (Actually,
> after installing R, bash stopped running. At first, I couldn't figure  
> out
> at all what happened. It turned out that bash failed to runs because it
> lost access dynamic libraries in /usr/local/lib directory.)
>
> I hope the installer properly follows symbolic links during  
> installation.
>
> Cheers,
> Kow
>
>
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 
> .-.-.-.-.-
> r-devel mailing list -- Read  
> http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
> Send "info", "help", or "[un]subscribe"
> (in the "body", not the subject !)  To:  
> r-devel-request@stat.math.ethz.ch
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._ 
> ._._._._
>
>
===
Jan de Leeuw; Professor and Chair, UCLA Department of Statistics;
US mail: 9432 Boelter Hall, Box 951554, Los Angeles, CA 90095-1554
phone (310)-825-9550;  fax (310)-206-5658;  email: deleeuw@stat.ucla.edu
homepage: http://www.stat.ucla.edu/~deleeuw
========================================================
           No matter where you go, there you are. --- Buckaroo Banzai
                    http://www.stat.ucla.edu/~deleeuw/sounds/nomatter.au
========================================================

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


bug in R-1.5.1 for Mac OS X installer (PR#1825)
Jan de Leeuw