[Rd] installing R on solaris (PR#728)

p.e.brown@lancaster.ac.uk p.e.brown@lancaster.ac.uk
Wed, 8 Nov 2000 11:56:50 +0100 (MET)

Hi.  Our computer guy had some adventures installing R on a solaris
machine, but it's working now.  I'm sending you his mails, please pass
them on to whoever deals with this stuff.


From: Kev Buckley <k.buckley@lancaster.ac.uk>

Trying to install R-1.1.1 on Solaris RCC for you. Looks as though I
meant to before, as I had a TGZ of the previous release lying around.

Anyway, if you have any sway at all with folk who write this package,
can you drop them a line on my behalf (The FAQ says feedback is
welcome, but of course there's no e-mail address to send it to !!!)
saying that:

They ought to document what environmental variables you can use to
override the compilers. We use the SUNWSpro stuff but have the GNU
stuff there as well and I have had to wade through the 'configure.in'
to find out (guess) how to set these.

Turns out to be CC, CXX and FC (for C, C++ and FORTRAN resp.) giving 
me the rather enormous configure line of

CC="/usr/local/packages/SUN/SUNWspro/bin/cc" \
FC="/usr/local/packages/SUN/SUNWspro/bin/f77" \
CXX="/usr/local/packages/SUN/SUNWspro/bin/CC -compat" \
./configure --prefix=/usr/local/packages/R-1.1.1

I suppose CC FC and CXX are pretty standard but other, less savvy folk
aren't going to know this, so it wouldn't do any harm for them, to
mention it.

Anyway it has configured, so lets see if I can build it.


From: Kev Buckley <k.buckley@lancaster.ac.uk>

As for R, you may also like to pass this on:

The following lines in the Makefile blow "make install" out of 
the water

#       @for f in `ls bin/*.$(SHLIBEXT)`; do \
#         $(INSTALL_PROGRAM) $${f} $(rhome)/bin; \
#       done              

There are no files bin/*.$(SHLIBEXT) ( ie bin/*.so )

but once they are commented out, it installs OK and I get an R> prompt
when I type


on titanic, so I guess it works

I'll set it up so it appears on the compute nodes and you can try and
submit a job to test it out in batch. Use the path as above when you
invoke it.

Get back to you when you can have a go.

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