Peter Dalgaard BSA wrote:

I've rolled up R-1.7.1.tgz a short while ago.

Thanks, Peter. This is terrific! I find that this R installation is only accessible to the root. In case it helps other folks, I've attached a patch on the file
src/library/Makefile.in
that solves the problem for me.


NOTE: I am not too sure I've done the patch right, in terms of filenames. (I'm not familiar enough with diff and patch to do this sort of thing reliably!) So, in words, the change is simple: find the "@cp -r" command of the "install:" target in src/library/Makefie.in and change it to "@cp -pr" so that the permissions are retained. At least on my (linux/redhat9) box, this should work OK.

Dan.

--
Dan E. Kelley, Associate Professor                phone:(902)494-1694
Oceanography Department, Dalhousie University       fax:(902)494-2885
Halifax, Nova Scotia                         mailto:[EMAIL PROTECTED]
Canada B3H 4J1   http://www.phys.ocean.dal.ca/~kelley/Kelley_Dan.html

--- src/library/Makefile.in     2003-06-16 12:03:27.000000000 -0300
+++ src/library/Makefile.in~    2002-12-15 17:54:56.000000000 -0400
@@ -78,7 +78,7 @@
 
 install: installdirs
        @echo "installing packages ..."
-       @cp -pr $(top_builddir)/library $(rhome) || \
+       @cp -r $(top_builddir)/library $(rhome) || \
          (cd $(top_builddir)/library; \
            $(TAR) cf - . | (cd $(rhome)/library; $(TAR) xmof -))
        @echo "  building HTML index ..."
______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to