Skip to content

installing R on solaris (PR#728)

1 message · p.e.brown@lancaster.ac.uk

#
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.

ta.
Patrick

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.