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

Markus Lang langms at cip.mathematik.uni-stuttgart.de
Wed Feb 18 07:55:41 CET 1998

On 17 Feb 1998, Douglas Bates wrote:

> Markus Lang <langms at 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 \

  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)


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 at stat.math.ethz.ch

More information about the R-help mailing list