From gml4410 at ggr.co.uk  Fri Nov  7 14:45:03 2008
From: gml4410 at ggr.co.uk (gml4410 at ggr.co.uk)
Date: Fri,  7 Nov 2008 14:45:03 +0100 (CET)
Subject: [Rd] R 2.8.0.  INSTALL script error on Solaris2.8 (PR#13261)
Message-ID: <20081107134503.91636282EFF6@mail.pubhealth.ku.dk>

Full_Name: Gordon Lack
Version: 2.8.0
OS: Solaris 2.8
Submission from: (NULL) (198.28.92.5)


The INSTALL.in script in src/scripts has this at line 620:

    if ! test -f "${R_INCLUDE_DIR}/R.h" ; then

That fails to run under sh on Solaris (itis OK in bash, which is why it runs OK
on Linux).

The correct sh syntax is:

    if test ! -f "${R_INCLUDE_DIR}/R.h" ; then

i.e. test understands that ! means not, but the if statement in sh doesn't.

The result of this is that you get error messages tryign to install extensions
on Solaris.

/the/path/to/my/installation/2.8.0/lib/R/bin/INSTALL: !: not found



[Rd] R 2.8.0. INSTALL script error on Solaris2.8 (PR#13261)
gml4410 at ggr.co.uk