From ripley@stats.ox.ac.uk  Tue Jun 25 10:02:05 2002
From: ripley@stats.ox.ac.uk (ripley@stats.ox.ac.uk)
Date: Tue, 25 Jun 2002 10:02:05 +0100 (BST)
Subject: configure for R 1.5.x on Solaris (fwd)
In-Reply-To: <Pine.GSO.4.10.10206250939470.18455-100000@humilis>
Message-ID: <Pine.LNX.4.31.0206250953150.26378-100000@gannet.stats>

Probably none of us know about it, because it has worked for lots of us
out of the box. So it would seem to be specific to your environment.

BTW, Solaris' `cheesy /bin/sh' is the archetypal Bourne shell, so don't
blame it, especially as ksh gets used on Solaris.  Those messages are from
config.status, which on one of my Solaris systems starts

#! /bin/ksh
# Generated by configure.
# Run this file to recreate the current configuration.
# Compiler output produced by configure, useful for debugging
# configure, is in config.log if it exists.

debug=false
SHELL=${CONFIG_SHELL-/bin/ksh}

Try actually using /bin/sh, which is guaranteed standard-conforming
(it is the standard).

On Tue, 25 Jun 2002, H C Pumphrey wrote:

>
> Dear All,
>
> No-one seemed to know about this on r-help, so I'm trying here....
>
> I'm having problems at the configure stage when trying to build R on
> Solaris 5.8. configure finds everything it needs but when it runs
> config.status to make all the Makefiles and headers, I get a huge slew of
> errors like this:
>
> config.status: creating src/extra/zlib/Makefile
> sed: -e expression #1, char 329: Unterminated `s' command
> sed: file /tmp/cs6134-11745/subs-1.sed line 38: Unterminated `s' command
> config.status: creating src/include/Makefile
> sed: -e expression #1, char 323: Unterminated `s' command
> sed: file /tmp/cs6134-11745/subs-1.sed line 38: Unterminated `s' command
>
> ...and so on. I have tried replacing Solaris's native sed with GNU sed (in
> fact the above messages are from GNU sed but Solaris sed fails in a
> similar way). I have also tried setting CONFIG_SHELL to /foo/bar/bin/bash
> to force configure not to use solaris's cheesy /bin/sh . No success, so
> now I am at a loss. The problem occurs with R-1.5.0 but not with R-1.4.1
> (and of course there is no problem on my Linux box!)
>
> Any ideas welcome.
>
> Hugh
>
> ============S=u=p=p=o=r=t===D=e=b=i=a=n===http://www.debian.org============
> Dr. Hugh C. Pumphrey             | Tel. 0131-650-6026,Fax:0131-650-5780
> Institute for Meteorology        | Replace 0131 with +44-131 if outside UK
> The University of Edinburgh      | Email hcp@met.ed.ac.uk
> EDINBURGH EH9 3JZ, Scotland      | URL: http://www.met.ed.ac.uk/~hcp
> ============S=u=p=p=o=r=t==g=9=5==http://g95.sourceforge.net/==============
>
>
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> 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
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>

-- 
Brian D. Ripley,                  ripley@stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

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


configure for R 1.5.x on Solaris (fwd)
ripley@stats.ox.ac.uk