Skip to content

R 2.2.1 installation trouble on SGI/Sun (PR#8575)

4 messages · Atro Tossavainen, Brian Ripley

#
Dear Prof Ripley,

Thank you for your quick response!
Sorry.  I took the addresses from a response to an older question that
I had received from Kurt Hornik.  That message had been cc'd to both.
rhome = ${libdir}/R
rsharedir = 
rincludedir = 
rdocdir = 

(I find this is the case both on Solaris 7 and on IRIX 6.5.)
The only changes to "./configure" that I made were to set the relevant
environment variables to pick the native compilers instead of gcc, and
--prefix=/afs/bi/v/{systemtype}/apps/stats/R/2.2.1 (for literal values
of system type; sgi_65, sun4x_57).

The shell I performed "configure" under is bash 2.05, which is
admittedly old too.  It hasn't caused any such problems before, though,
and I have built a very large amount of autoconfigured software for
these platforms with it.
IRIX 6.5 is current and displays the same issue.

Thank you for your help and suggestions.  If there is anything I can
do to help debug the problem further, please let me know.
#
Thank you for the reply.  Setting these variables explicitly on the make
install line should help.

I have a guess at the shell problem.  Configure contains

if test -z ${rdocdir}; then
  rdocdir='${rhome}/doc'
fi

and maybe test -z is broken.  Does it help to add quotes as in

if test -z "${rdocdir}"; then

?  (I have a recollection of such problems under Solaris 7 when we ran
it, and a recollection that autoconf picks ksh as its shell on Solaris.)
On Wed, 8 Feb 2006, Atro Tossavainen wrote:

            

  
    
#
Dear Prof Ripley,
I just fixed them in Makeconf explicitly and it's OK now.
Yes, that's the trick.
#
On Wed, 8 Feb 2006, Atro Tossavainen wrote:

            
We'll alter the script in that case.  Thanks for testing the fix.