From ripley at stats.ox.ac.uk  Wed Feb  8 10:08:47 2006
From: ripley at stats.ox.ac.uk (ripley@stats.ox.ac.uk)
Date: Wed,  8 Feb 2006 10:08:47 +0100 (CET)
Subject: [Rd] R 2.2.1 installation trouble on SGI/Sun (PR#8575)
Message-ID: <20060208090847.147313F208@slim.kubism.ku.dk>

Please do not send questions to R-bugs (especially as well as to R-devel).

The thing you are getting as "" is from (see doc/Makefile)
           $(INSTALL_DATA) $(srcdir)/$${f} "$(rdocdir)"; \

What is rdocdir set to in Makeconf?  It (and related quantities) should be

rhome = ${libdir}/R
rsharedir = ${rhome}/share
rincludedir = ${rhome}/include
rdocdir = ${rhome}/doc

unless you set something non-standard during configure.  (If you did not, 
the code is very simple and anything else here would seem to indicate a 
bug in the shell used, but please debug it.)

Solaris 7 is very old: this does work on Solaris 8 (from where I copied 
the above).  You can always specify it on the make install line (as 
described in the R-admin manual you were pointed to).


On Wed, 8 Feb 2006 Atro.Tossavainen at helsinki.fi wrote:

> Hi,
>
> I'm upgrading to R 2.2.1 and have bumped into some problems.
>
> I have been successful with installing on x86 and PPC Linux, but am
> unable to install R on Solaris 7 and on IRIX 6.5.  Configuration
> and compilation go through just fine, but "make install" fails:
>
> gmake[1]: Entering directory `/scratch/atossava/R-2.2.1/doc'
> installing doc ...
> ../tools/install-sh: no destination specified.
> ../tools/install-sh: no destination specified.
> ../tools/install-sh: no destination specified.
> gmake[1]: *** [install-sources] Error 1
> gmake[1]: Leaving directory `/scratch/atossava/R-2.2.1/doc'
> gmake: *** [install] Error 1
>
> Running "gmake -n install" reveals this is because:
>
> echo "installing doc ..."
> /bin/ksh ../src/scripts/mkinstalldirs ""
> /bin/ksh ../src/scripts/mkinstalldirs /afs/bi/v/sun4x_57/apps/stats/R/2.2.1/man/man1
> for f in CRAN_mirrors.csv KEYWORDS KEYWORDS.db; do \
>  ../tools/install-sh -c -m 644 ./${f} ""; \
> done
>
> Any ideas what might be causing "" to appear as the destination directory?
>
> -- 
> Atro Tossavainen (Mr.)               / The Institute of Biotechnology at
> Systems Analyst, Techno-Amish &     / the University of Helsinki, Finland,
> +358-9-19158939  UNIX Dinosaur     / employs me, but my opinions are my own.
> < URL : http : / / www . helsinki . fi / %7E atossava / > NO FILE ATTACHMENTS
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>
>

-- 
Brian D. Ripley,                  ripley at 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 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



[Rd] R 2.2.1 installation trouble on SGI/Sun (PR#8575)
ripley@stats.ox.ac.uk