Re: R-beta: Re: Compiling for AFS [was: R on AIX running with errors]

Markus Lang (langms@cip.mathematik.uni-stuttgart.de)
Wed, 18 Feb 1998 07:55:41 +0100 (MEZ)


Date: Wed, 18 Feb 1998 07:55:41 +0100 (MEZ)
From: Markus Lang <langms@cip.mathematik.uni-stuttgart.de>
To: Douglas Bates <bates@stat.wisc.edu>
Subject: Re: R-beta: Re: Compiling for AFS [was: R on AIX running with errors]
In-Reply-To: <6rd8gmp7z9.fsf@verdi.stat.wisc.edu>


On 17 Feb 1998, Douglas Bates wrote:

> Markus Lang <langms@cip.mathematik.uni-stuttgart.de> writes:
> 
> > Changes I made because of installing R on an AFS file system are
> > substituting hard links by symbolic links and preventing, due to this
> > changes, the deleting of files.
> 
> Can you give more details on that?  As I recall I was able to compile
> the 0.61.1 sources on an AFS file system without having to mess with
> peculiarities of hard links and symbolic links.  We did have to fiddle 
> around with several scripts when installing S-PLUS but I don't
> remember doing that with R.

What I changed from hard links to symbolic links, because R did not find
files due to the not creating of links:

- file $RHOME/configure
  original line 3434: ln src/appl.c/*.c src/appl
  changed to:         cd src/appl
                      ln -s ../appl.c/*.c .
                      cd ../..

  line 3436 got changed accordingly

- file %RHOME/src/include/Makefile
  line 1: toLink = S.h S_compat.h f2c.h Fortran.h Blas.h Linpack.h
  changed to: toLink = 	../src/include/S.h \
                        ../src/include/S_compat.h \
                        ../src/include/f2c.h \
                        ../src/include/Fortran.h \
                        ../src/include/Blas.h \
                        ../src/include/Linpack.h

  line 5: @ln $(toLink) ../../include
  changed to: @ln -s -f $(toLink) ../../include

  line 9: @for f in $(toLink); do rm -f ../../include/$${f}; done
  deleted, to prevent deleting of files with only one link to them (here
  it would be nicer to move the files)

Markus


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._