[Rd] 'make install' fails on Solaris (PR#13946)

Prof Brian Ripley ripley at stats.ox.ac.uk
Thu Sep 10 07:07:43 CEST 2009


On Thu, 10 Sep 2009, bownes at gmail.com wrote:

> Full_Name: Bob Bownes
> Version: 2.9.2
> OS: Solaris 10
> Submission from: (NULL) (164.55.254.106)
>
>
> The sed lines in src/unix/Makefile confuse the grep distributed with Solaris
> that gets configured by ./configure.

Well, it calls sed not grep!  Which version was that -- it works for 
me and for several others.  I have SED = /usr/xpg4/bin/sed (see file 
Makeconf), and that is 'distributed with Solaris': perhaps you do not 
have it installed?

The danger of changing R to fix a broken OS tool is that the change 
may break on other people's tools -- better to fix the tool.


> Switching from a separator of ':' to a separator of ',' fixes the problem.
>
> 76,77c76,77
> <       @$(SED) -e "s:@rhome:$(rhome):" -e "s:@rincludedir:$(rincludedir):" \
> <         -e 's:@libsprivate:$(STATIC_LIBR_PC):' \
> ---
>>       @$(SED) -e "s, at rhome,$(rhome)," -e "s, at rincludedir,$(rincludedir)," \
>>         -e 's, at libsprivate,$(STATIC_LIBR_PC),' \

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



More information about the R-devel mailing list